Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(clowdapp): experiment with IMAGE_SEPARATOR #2259

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading