diff --git a/component/notifications.libsonnet b/component/notifications.libsonnet index e312799..d62e217 100644 --- a/component/notifications.libsonnet +++ b/component/notifications.libsonnet @@ -137,6 +137,7 @@ local createUpgradeNotification(overlay) = containers_+: { notification: kube.Container('notification') { image: '%(registry)s/%(repository)s:%(tag)s' % params.images.oc, + imagePullPolicy: 'Always', name: 'create-console-notification', workingDir: '/export', command: [ '/scripts/create-console-notification.sh' ], diff --git a/tests/golden/upgrade-notification/openshift4-console/openshift4-console/31_upgrade_notification.yaml b/tests/golden/upgrade-notification/openshift4-console/openshift4-console/31_upgrade_notification.yaml index 44360a6..6f06c7c 100644 --- a/tests/golden/upgrade-notification/openshift4-console/openshift4-console/31_upgrade_notification.yaml +++ b/tests/golden/upgrade-notification/openshift4-console/openshift4-console/31_upgrade_notification.yaml @@ -92,7 +92,7 @@ spec: - name: OVERLAY_VERSION_MINOR value: '16' image: quay.io/appuio/oc:v4.15 - imagePullPolicy: IfNotPresent + imagePullPolicy: Always name: create-console-notification ports: [] stdin: false