Skip to content

Commit

Permalink
Merge pull request #266 from ExpediaInc/master
Browse files Browse the repository at this point in the history
Parameterize image pull secrets for private docker repos
  • Loading branch information
stefanprodan authored Aug 1, 2019
2 parents dcc5a40 + 122d11f commit a9e0e01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/flagger/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ spec:
app.kubernetes.io/name: {{ template "flagger.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
topologyKey: kubernetes.io/hostname
{{- if .Values.image.pullSecret }}
imagePullSecrets:
- name: {{ .Values.image.pullSecret }}
{{- end }}
containers:
- name: flagger
securityContext:
Expand Down
1 change: 1 addition & 0 deletions charts/flagger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ image:
repository: weaveworks/flagger
tag: 0.18.1
pullPolicy: IfNotPresent
pullSecret:

metricsServer: "http://prometheus:9090"

Expand Down

0 comments on commit a9e0e01

Please sign in to comment.