Skip to content

Commit

Permalink
fix(clowdapp): experiment with IMAGE_SEPARATOR
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Oct 16, 2024
1 parent 2bbecbf commit b45a492
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions deploy/clowdapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ objects:
schedule: ${IMPORT_SSG_SCHEDULE}
concurrencyPolicy: Forbid
podSpec:
image: ${IMAGE}:${IMAGE_TAG}
image: ${REGISTRY_IMG}${IMAGE_SEPARATOR}${IMAGE_DIGEST}
initContainers:
- command: ["/bin/sh"]
args: ["-c", "$HOME/scripts/abort_if_pending_migrations.sh"]
Expand Down Expand Up @@ -119,7 +119,7 @@ objects:
key: db.auth_token
optional: true
- name: IMAGE_TAG
value: "${IMAGE}:${IMAGE_TAG}"
value: "${REGISTRY_IMG}${IMAGE_SEPARATOR}${IMAGE_DIGEST}"
- name: NAMESPACE
valueFrom:
fieldRef:
Expand All @@ -139,7 +139,7 @@ objects:
enabled: true
apiPath: compliance
podSpec:
image: ${IMAGE}:${IMAGE_TAG}
image: ${REGISTRY_IMG}${IMAGE_SEPARATOR}${IMAGE_DIGEST}
initContainers:
- command: ["/bin/sh"]
args: ["-c", "$HOME/scripts/check_migration_status_and_ssg_synced.sh"]
Expand Down Expand Up @@ -214,7 +214,7 @@ objects:
key: db.auth_token
optional: true
- name: IMAGE_TAG
value: "${IMAGE}:${IMAGE_TAG}"
value: "${REGISTRY_IMG}${IMAGE_SEPARATOR}${IMAGE_DIGEST}"
- name: QE_ACCOUNTS
value: "${QE_ACCOUNTS}"
- name: NAMESPACE
Expand Down Expand Up @@ -253,7 +253,7 @@ objects:
deploymentStrategy:
privateStrategy: Recreate
podSpec:
image: ${IMAGE}:${IMAGE_TAG}
image: ${REGISTRY_IMG}${IMAGE_SEPARATOR}${IMAGE_DIGEST}
initContainers:
- command: ["/bin/sh"]
args: ["-c", "$HOME/scripts/check_migration_status_and_ssg_synced.sh"]
Expand Down Expand Up @@ -315,7 +315,7 @@ objects:
key: db.auth_token
optional: true
- name: IMAGE_TAG
value: "${IMAGE}:${IMAGE_TAG}"
value: "${REGISTRY_IMG}${IMAGE_SEPARATOR}${IMAGE_DIGEST}"
- name: QE_ACCOUNTS
value: "${QE_ACCOUNTS}"
- name: NAMESPACE
Expand Down Expand Up @@ -347,7 +347,7 @@ objects:
deploymentStrategy:
privateStrategy: Recreate
podSpec:
image: ${IMAGE}:${IMAGE_TAG}
image: ${REGISTRY_IMG}${IMAGE_SEPARATOR}${IMAGE_DIGEST}
initContainers:
- command: ["/bin/sh"]
args: ["-c", "$HOME/scripts/check_migration_status_and_ssg_synced.sh"]
Expand Down Expand Up @@ -425,7 +425,7 @@ objects:
key: db.auth_token
optional: true
- name: IMAGE_TAG
value: "${IMAGE}:${IMAGE_TAG}"
value: "${REGISTRY_IMG}${IMAGE_SEPARATOR}${IMAGE_DIGEST}"
- name: QE_ACCOUNTS
value: "${QE_ACCOUNTS}"
- name: NAMESPACE
Expand Down Expand Up @@ -494,6 +494,12 @@ parameters:
- name: IMAGE
description: Image name
value: quay.io/redhat-services-prod/insights-management-tenant/insights-compliance/compliance-backend
- name: IMAGE_SEPARATOR
value: ":"
- name: REGISTRY_IMG
value: "${IMAGE}"
- name: IMAGE_DIGEST
value: "${IMAGE_TAG}"
- name: ENV_NAME
description: ClowdEnv Name
- name: REPLICAS_BACKEND
Expand Down

0 comments on commit b45a492

Please sign in to comment.