Skip to content

Commit

Permalink
Fix image targets
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Sep 24, 2024
1 parent 40d0f3c commit 9b36510
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/openshift/deploy.backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ parameters:
- name: IMAGE_TAG
description: Image tag to use
value: latest
- name: REGISTRY
description: Container registry to import from (internal is image-registry.openshift-image-registry.svc:5000)
value: ghcr.io
- name: ORG
description: Organization name
value: bcgov
- name: DOMAIN
value: apps.silver.devops.gov.bc.ca
- name: CPU_LIMIT
Expand Down Expand Up @@ -162,7 +168,7 @@ objects:
configMap:
name: postgres-configmap
containers:
- image: ${NAME}-${ZONE}-${COMPONENT}:${IMAGE_TAG}
- image: ${REGISTRY}/${ORG}/${NAME}/${COMPONENT}:${ZONE}
imagePullPolicy: Always
name: ${NAME}
env:
Expand Down
10 changes: 8 additions & 2 deletions .github/openshift/deploy.database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ parameters:
name: DB_PVC_SIZE
required: true
value: 1Gi
- name: REGISTRY
description: Container registry to import from (internal is image-registry.openshift-image-registry.svc:5000)
value: ghcr.io
- name: ORG
description: Organization name
value: bcgov
- name: REGISTRY
value: image-registry.openshift-image-registry.svc:5000
- name: PROMOTE
Expand Down Expand Up @@ -106,7 +112,7 @@ objects:
claimName: ${NAME}-${ZONE}-${COMPONENT}
containers:
- name: ${NAME}
image: ${NAME}-${ZONE}-${COMPONENT}:${IMAGE_TAG}
image: ${REGISTRY}/${ORG}/${NAME}/${COMPONENT}:${ZONE}
ports:
- containerPort: 5432
protocol: TCP
Expand Down Expand Up @@ -191,4 +197,4 @@ objects:
selector:
deployment: ${NAME}-${ZONE}-${COMPONENT}
sessionAffinity: None
type: ClusterIP
type: ClusterIP

0 comments on commit 9b36510

Please sign in to comment.