diff --git a/ci-operator/config/integr8ly/integreatly-operator/integr8ly-integreatly-operator-master.yaml b/ci-operator/config/integr8ly/integreatly-operator/integr8ly-integreatly-operator-master.yaml index a7d250946261..5dfb2287c1d2 100644 --- a/ci-operator/config/integr8ly/integreatly-operator/integr8ly-integreatly-operator-master.yaml +++ b/ci-operator/config/integr8ly/integreatly-operator/integr8ly-integreatly-operator-master.yaml @@ -40,6 +40,9 @@ promotion: tests: - as: unit commands: make test/unit + secret: + name: integr8ly-ci-secrets + mount_path: /usr/local/integr8ly-ci-secrets container: from: src - as: format diff --git a/ci-operator/jobs/integr8ly/integreatly-operator/integr8ly-integreatly-operator-master-presubmits.yaml b/ci-operator/jobs/integr8ly/integreatly-operator/integr8ly-integreatly-operator-master-presubmits.yaml index 6a051b4fbab8..12c36f8565b9 100644 --- a/ci-operator/jobs/integr8ly/integreatly-operator/integr8ly-integreatly-operator-master-presubmits.yaml +++ b/ci-operator/jobs/integr8ly/integreatly-operator/integr8ly-integreatly-operator-master-presubmits.yaml @@ -106,6 +106,7 @@ presubmits: - args: - --artifact-dir=$(ARTIFACTS) - --give-pr-author-access-to-namespace=true + - --secret-dir=/usr/local/integr8ly-ci-secrets - --sentry-dsn-path=/etc/sentry-dsn/ci-operator - --target=unit command: @@ -123,11 +124,17 @@ presubmits: requests: cpu: 10m volumeMounts: + - mountPath: /usr/local/integr8ly-ci-secrets + name: integr8ly-ci-secrets + readOnly: true - mountPath: /etc/sentry-dsn name: sentry-dsn readOnly: true serviceAccountName: ci-operator volumes: + - name: integr8ly-ci-secrets + secret: + secretName: integr8ly-ci-secrets - name: sentry-dsn secret: secretName: sentry-dsn