diff --git a/charts/ledger/Chart.yaml b/charts/ledger/Chart.yaml index 88653f8..66427c9 100644 --- a/charts/ledger/Chart.yaml +++ b/charts/ledger/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: ledger description: A ledger for your CD pipeline -version: 0.1.2 -appVersion: 0.1.2 +version: 0.1.3 +appVersion: 0.1.3 sources: - https://github.com/stenic/helm-charts/tree/master/charts/ledger diff --git a/charts/ledger/templates/deployment.yaml b/charts/ledger/templates/deployment.yaml index 2f7d11c..e699b7f 100644 --- a/charts/ledger/templates/deployment.yaml +++ b/charts/ledger/templates/deployment.yaml @@ -27,7 +27,7 @@ spec: - name: {{ .Chart.Name }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} - image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}" + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} env: - name: LEDGER_PORT diff --git a/charts/ledger/values.yaml b/charts/ledger/values.yaml index ba040fa..af88aaa 100644 --- a/charts/ledger/values.yaml +++ b/charts/ledger/values.yaml @@ -1,11 +1,8 @@ # Default values for ledger. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 image: repository: "stenicbv/ledger" + tag: "" pullPolicy: IfNotPresent imagePullSecretName: