Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1205 from alphagov/dockerhub-creds
Browse files Browse the repository at this point in the history
Global scope for Values.global
  • Loading branch information
Krenair authored Oct 26, 2020
2 parents 67fbc5e + c07e0c4 commit fa34b4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/gsp-cluster/templates/03-namespaces/namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ metadata:
name: dockerhubpull
namespace: {{ .name }}
data:
.dockerconfigjson: {{ .Values.global.dockerHubCredentials }}
.dockerconfigjson: {{ $.Values.global.dockerHubCredentials }}
type: kubernetes.io/dockerconfigjson
---
apiVersion: v1
Expand All @@ -354,6 +354,6 @@ metadata:
name: dockerhubpull-concourse
namespace: {{ .name }}
data:
username: {{ .Values.global.dockerHubUsername | b64enc }}
password: {{ .Values.global.dockerHubPassword | b64enc }}
username: {{ $.Values.global.dockerHubUsername | b64enc }}
password: {{ $.Values.global.dockerHubPassword | b64enc }}
{{- end }}

0 comments on commit fa34b4b

Please sign in to comment.