Skip to content

Commit acaf629

Browse files
committed
Update charts with latest changes
1 parent 0c1b8d3 commit acaf629

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

wiz-admission-controller/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type: application
55
# This is the chart version. This version number should be incremented each time you make changes
66
# to the chart and its templates, including the app version.
77
# Versions are expected to follow Semantic Versioning (https://semver.org/)
8-
version: 3.10.3
8+
version: 3.10.4
99
# This is the version number of the application being deployed. This version number should be
1010
# incremented each time you make changes to the application. Versions are not expected to
1111
# follow Semantic Versioning. They should reflect the version the application is using.

wiz-admission-controller/templates/_helpers.tpl

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,21 @@ Create chart name and version as used by the chart label.
8989
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
9090
{{- end }}
9191

92+
{{/*
93+
App version for the admission controller
94+
*/}}
95+
{{- define "wiz-admission-controller.appVersion" -}}
96+
{{- coalesce .Values.global.image.tag .Values.image.tag | default .Chart.AppVersion }}
97+
{{- end }}
98+
9299
{{/*
93100
Common labels
94101
*/}}
95102
{{- define "wiz-admission-controller.labels" -}}
96103
helm.sh/chart: {{ include "wiz-admission-controller.chart" . }}
97104
{{ include "wiz-admission-controller.selectorLabels" . }}
98105
{{- if .Chart.AppVersion }}
99-
app.kubernetes.io/version: {{ .Values.image.tag | default .Chart.AppVersion | quote }}
106+
app.kubernetes.io/version: {{ include "wiz-admission-controller.appVersion" . | quote }}
100107
{{- end }}
101108
app.kubernetes.io/managed-by: {{ .Release.Service }}
102109
{{- if .Values.commonLabels }}
@@ -512,5 +519,5 @@ false
512519
{{- end -}}
513520

514521
{{- define "wiz-admission-controller.image" -}}
515-
{{ coalesce .Values.global.image.registry .Values.image.registry }}/{{ coalesce .Values.global.image.repository .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}
522+
{{ coalesce .Values.global.image.registry .Values.image.registry }}/{{ coalesce .Values.global.image.repository .Values.image.repository }}:{{ include "wiz-admission-controller.appVersion" . }}
516523
{{- end -}}

wiz-admission-controller/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,7 @@ global:
694694
image:
695695
registry: "" # Registry to get the container images from.
696696
pullPolicy: "" # Container image pull policy. One of Always, Never, IfNotPresent.
697+
tag: ""
697698
imagePullSecrets: [] # Secrets for container image registry keys as described in https://kubernetes.io/docs/concepts/containers/images/#referring-to-an-imagepullsecrets-on-a-pod
698699

699700
podAnnotations: {} # Annotations to add to the components Pods.

wiz-kubernetes-integration/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: wiz-kubernetes-integration
33
description: A Helm chart for Kubernetes
44
type: application
5-
version: 0.2.99
5+
version: 0.2.100
66
appVersion: ""
77

88
# Dependencies for wiz-kubernetes connector and wiz-admission-controller and wiz-sensor

0 commit comments

Comments
 (0)