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

Commit

Permalink
Added Helm Chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Getz committed Apr 14, 2021
1 parent fbc7362 commit c3277ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ metadata:
name: {{ template "imagepullsecret-patcher.fullname" . }}-env
data:
{{- range $key, $value := .Values.env }}
{{ printf "%s" $key | replace "." "_" | upper }}: {{ $value | quote | b64enc}}
{{- end }}
{{ printf "%s" $key | replace "." "_" | upper }}: {{ $value |toString | b64enc}}
{{- end }}
10 changes: 5 additions & 5 deletions helm/imagepullsecret-patcher/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ env:
#run the update loop once, allowing for cronjob scheduling if desired
CONFIG_RUNONCE: false
#comma-separated list of serviceaccounts to patch
CONFIG_SERVICEACCOUNTS: "default"
CONFIG_SERVICEACCOUNTS: default
#if true, list and patch all service accounts and the `-servicesaccounts` argument is ignored
CONFIG_ALLSERVICEACCOUNT: "true"
CONFIG_ALLSERVICEACCOUNT: true
#name of managed secrets
CONFIG_SECRETNAME: "image-pull-secret"
CONFIG_SECRETNAME: image-pull-secret
#comma-separated namespaces excluded from processing
CONFIG_EXCLUDED_NAMESPACES : ""
CONFIG_EXCLUDED_NAMESPACES :
#duration string which defines how often namespaces are checked, see https://golang.org/pkg/time/#ParseDuration for more examples
CONFIG_LOOP_DURATION: 10s
CONFIG_LOOP_DURATION: 10s

0 comments on commit c3277ca

Please sign in to comment.