use AppVersion as image tag

This commit is contained in:
Hanfei Shen 2019-07-17 17:22:55 +08:00 committed by Hanfei Shen
parent df5e18c52b
commit b2bf4f4cb2
No known key found for this signature in database
GPG Key ID: 8645106F29EA1F55
3 changed files with 3 additions and 3 deletions

View File

@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "0.1.0"
description: DNSPod Webhook for Cert Manager
name: cert-manager-webhook-dnspod
version: 0.1.0
version: 0.1.1

View File

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

View File

@ -14,7 +14,7 @@ certManager:
image:
repository: qqshfox/cert-manager-webhook-dnspod
tag: latest
#tag: latest
pullPolicy: IfNotPresent
nameOverride: ""