diff options
| author | James Munnelly <munnerz@users.noreply.github.com> | 2019-04-29 18:48:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-29 18:48:04 +0100 |
| commit | f06ad32f094c0d8e4fe1801d0775771b5de19009 (patch) | |
| tree | 8638b1e79253b8fbca0623e4f6586b9e8bff1187 /deploy/example-webhook/templates/deployment.yaml | |
| parent | 3935fd70e743931e6322bf088cd3e1c866f2e2cd (diff) | |
| parent | a598b0e12668be45d7346f761b0b00432e40fa11 (diff) | |
| download | cert-manager-webhook-hostinger-f06ad32f094c0d8e4fe1801d0775771b5de19009.tar.gz cert-manager-webhook-hostinger-f06ad32f094c0d8e4fe1801d0775771b5de19009.zip | |
Merge pull request #1 from munnerz/deployment-updates
Build and deployment fixes
Diffstat (limited to 'deploy/example-webhook/templates/deployment.yaml')
| -rw-r--r-- | deploy/example-webhook/templates/deployment.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/deploy/example-webhook/templates/deployment.yaml b/deploy/example-webhook/templates/deployment.yaml index fc0acbd..23e9064 100644 --- a/deploy/example-webhook/templates/deployment.yaml +++ b/deploy/example-webhook/templates/deployment.yaml @@ -24,6 +24,9 @@ spec: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} + args: + - --tls-cert-file=/tls/tls.crt + - --tls-private-key-file=/tls/tls.key env: - name: GROUP_NAME value: {{ .Values.groupName | quote }} @@ -41,8 +44,16 @@ spec: scheme: HTTPS path: /healthz port: https + volumeMounts: + - name: certs + mountPath: /tls + readOnly: true resources: {{ toYaml .Values.resources | indent 12 }} + volumes: + - name: certs + secret: + secretName: {{ include "example-webhook.servingCertificate" . }} {{- with .Values.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }} |
