Updating per review comments

pull/3022/head
Michael Venezia 8 years ago committed by GitHub
parent 1f79bb4092
commit a402e03119

@ -111,7 +111,7 @@ You can add a helper like so:
``` ```
{{- define "imagePullSecret" }} {{- define "imagePullSecret" }}
{{- printf "{\n\t\"auths\": {\n\t\t\"%s\": {\n\t\t\t\"auth\": \"%s\"\n\t\t}\n\t}\n}" .Values.imageCredentials.registry (printf "%s:%s" .Values.imageCredentials.username .Values.imageCredentials.password | b64enc) |b64enc }} {{- printf "{\"auths\": {\"%s\": {\"auth\": \"%s\"}}}" .Values.imageCredentials.registry (printf "%s:%s" .Values.imageCredentials.username .Values.imageCredentials.password | b64enc) | b64enc }}
{{- end }} {{- end }}
``` ```
@ -121,9 +121,9 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: myregistrykey name: myregistrykey
type: kubernetes.io/dockerconfigjson
data: data:
.dockerconfigjson: {{ template "imagePullSecret" . }} .dockerconfigjson: {{ template "imagePullSecret" . }}
type: kubernetes.io/dockerconfigjson
``` ```
## Automatically Roll Deployments When ConfigMaps or Secrets change ## Automatically Roll Deployments When ConfigMaps or Secrets change

Loading…
Cancel
Save