Skip to content

Commit

Permalink
Merge pull request #66 from spielkind/feature/custom_repository
Browse files Browse the repository at this point in the history
helm: allow custom repositories for initContainer
  • Loading branch information
squ94wk authored Oct 9, 2021
2 parents 920b0c8 + 0e46867 commit b077657
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm/designate-certmanager-webhook/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
serviceAccountName: {{ include "designate-certmanager-webhook.fullname" . }}
initContainers:
- name: wait-for-tls-secret
image: alpine:latest
image: "{{ .Values.image.alpine.repository }}:{{ .Values.image.alpine.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
volumeMounts:
- name: certs
Expand All @@ -38,7 +38,7 @@ spec:
- -c
- "while [ ! -f /tls/tls.key ]; do sleep 5; done"
- name: add-apiservice
image: bitnami/kubectl:latest
image: "{{ .Values.image.kubectl.repository }}:{{ .Values.image.kubectl.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
volumeMounts:
- name: apiservice-config
Expand Down
6 changes: 6 additions & 0 deletions helm/designate-certmanager-webhook/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ image:
repository: syseleven/designate-certmanager-webhook
tag: 0.2.12
pullPolicy: IfNotPresent
alpine:
repository: alpine
tag: latest
kubectl:
repository: bitnami/kubectl
tag: latest

imagePullSecrets: []

Expand Down

0 comments on commit b077657

Please sign in to comment.