diff --git a/snyk-monitor/templates/deployment.yaml b/snyk-monitor/templates/deployment.yaml index 9aeba1bc6..7c6f3cab4 100644 --- a/snyk-monitor/templates/deployment.yaml +++ b/snyk-monitor/templates/deployment.yaml @@ -33,6 +33,10 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.securityContext.fsGroup }} securityContext: fsGroup: {{ int . }} diff --git a/snyk-monitor/values.yaml b/snyk-monitor/values.yaml index bb23d8d3f..f66d21313 100644 --- a/snyk-monitor/values.yaml +++ b/snyk-monitor/values.yaml @@ -28,6 +28,9 @@ scope: Cluster # The endpoint that being used to transmit monitored information integrationApi: "" +# Secrets to use when pulling images from private registries ex artifactory +imagePullSecrets: [] + # The registry from which to pull the snyk-monitor image. image: repository: snyk/kubernetes-monitor