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
4 changes: 4 additions & 0 deletions charts/krop-controller/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,12 @@ Controller image
*/}}
{{- define "krop-controller.image" -}}
{{- $tag := .Values.image.tag | default .Chart.AppVersion }}
{{- if hasPrefix "@" $tag }}
{{- printf "%s%s" .Values.image.repository $tag }}
{{- else }}
{{- printf "%s:%s" .Values.image.repository $tag }}
{{- end }}
{{- end }}

{{/*
Health probe / container port, derived from controller.healthProbeBindAddress
Expand Down
8 changes: 7 additions & 1 deletion charts/krop-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
# -- Image configuration for krop-controller
image:
repository: ghcr.io/opendefensecloud/krop-controller
# -- Overrides the image tag (default is the chart appVersion)
# -- Overrides the image tag (default is the chart appVersion).
#
# Three shapes are accepted, because Renovate maintains this field and
# `docker:pinDigests` appends a digest to whatever is here: a tag ("v0.1.2"),
# a tag with a digest ("v0.1.2@sha256:..."), or a bare digest ("@sha256:..."),
# which is what pinning an empty tag produces. The template joins with ":"
# only when there is a tag to join.
tag: "@sha256:d14c6f54fa34f0f404f44d5dff13e11500e800bd449a50c8c552be9746a6d9a5"
pullPolicy: IfNotPresent

Expand Down
Loading