Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Fix hardcoded docker config file (#1)
Browse files Browse the repository at this point in the history
Add parameter and default value in place of hard-coded /dockercfg/config.json
  • Loading branch information
marchmallow authored and gallomas committed Apr 11, 2019
1 parent 0362217 commit fde16bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion chart/flux/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ spec:
- --registry-require=ecr
{{- end }}
{{- if .Values.registry.dockercfg.enabled }}
- --docker-config=/dockercfg/config.json
- --docker-config={{ .Values.registry.dockercfg.configFileName }}
{{- end }}
{{- if .Values.token }}
- --connect=wss://cloud.weave.works/api/flux
Expand Down
1 change: 1 addition & 0 deletions chart/flux/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ registry:
dockercfg:
enabled: false
secretName: ""
configFileName: /dockercfg/config.json
memcached:
repository: memcached
tag: 1.4.25
Expand Down

0 comments on commit fde16bc

Please sign in to comment.