Skip to content

Commit

Permalink
Ledger: Allow image tag overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed May 9, 2020
1 parent d2fac8b commit a191f2c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions charts/ledger/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion charts/ledger/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions charts/ledger/values.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit a191f2c

Please sign in to comment.