Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions charts/common/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: common
description: "Bedag's common Helm chart to use for creating other Helm charts"
version: 12.7.0
version: 12.8.0
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
Expand All @@ -27,5 +27,4 @@ annotations:
artifacthub.io/prerelease: "false"
artifacthub.io/license: Apache-2.0
artifacthub.io/changes: |
- "[Changed]: extra annotations and labels support sprig statements"
- "[Added]: Possibility to optionally set appVersion in values"
- "[Added]: Support image digest in container image reference"
2 changes: 1 addition & 1 deletion charts/common/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# common

![Version: 12.7.0](https://img.shields.io/badge/Version-12.7.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 12.8.0](https://img.shields.io/badge/Version-12.8.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

Bedag's common Helm chart to use for creating other Helm charts

Expand Down
2 changes: 1 addition & 1 deletion charts/common/templates/_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{- $containerValues := .containerValues }}
{{- $configFiles := .configFiles }}
- name: {{ $containerName }}
image: "{{ $containerValues.image.repository }}:{{ $containerValues.image.tag | default $root.Values.defaultTag }}"
image: "{{ $containerValues.image.repository }}{{ if $containerValues.image.digest }}@{{ $containerValues.image.digest }}{{ else }}:{{ $containerValues.image.tag | default $root.Values.defaultTag }}{{ end }}"
imagePullPolicy: {{ default "IfNotPresent" $containerValues.image.pullPolicy | quote }}
{{- with $containerValues.command }}
command: {{ toYaml . | nindent 4 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/common/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,8 @@ components:
# tag: "1.16"
# pullPolicy can be set to "Always". Comment out for using default ("IfNotPresent")
# pullPolicy: Always
# digest pins the image to a specific digest (e.g. sha256:...). When set, tag is ignored.
# digest: ""

# command Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
# command: []
Expand Down