use pipeline against potential misuse

This commit is contained in:
Hanfei Shen 2020-03-04 08:42:49 +08:00
parent 70af7d1fbb
commit 4cf89f2c9b
No known key found for this signature in database
GPG Key ID: 8645106F29EA1F55

View File

@ -22,7 +22,7 @@ spec:
serviceAccountName: {{ include "cert-manager-webhook-dnspod.fullname" . }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
args:
- --tls-cert-file=/tls/tls.crt