diff --git a/helm-chart/templates/04-hub-deployment.yaml b/helm-chart/templates/04-hub-deployment.yaml index 27b4f7e4e..f71a66bc3 100644 --- a/helm-chart/templates/04-hub-deployment.yaml +++ b/helm-chart/templates/04-hub-deployment.yaml @@ -46,7 +46,7 @@ spec: name: kubeshark-config-map - secretRef: name: kubeshark-secret - image: '{{ .Values.tap.docker.registry }}/hub:{{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag .Chart.Version }}' + image: '{{ .Values.tap.docker.registry }}/hub:{{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag (printf "v%s" .Chart.Version) }}' imagePullPolicy: {{ .Values.tap.docker.imagepullpolicy }} readinessProbe: periodSeconds: 1 diff --git a/helm-chart/templates/06-front-deployment.yaml b/helm-chart/templates/06-front-deployment.yaml index 0954ce301..369d488de 100644 --- a/helm-chart/templates/06-front-deployment.yaml +++ b/helm-chart/templates/06-front-deployment.yaml @@ -30,7 +30,7 @@ spec: value: ' ' - name: REACT_APP_HUB_PORT value: '{{ .Values.tap.ingress.enabled | ternary "/api" (print ":" .Values.tap.proxy.front.port "/api") }}' - image: '{{ .Values.tap.docker.registry }}/front:{{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag .Chart.Version }}' + image: '{{ .Values.tap.docker.registry }}/front:{{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag (printf "v%s" .Chart.Version) }}' imagePullPolicy: {{ .Values.tap.docker.imagepullpolicy }} name: kubeshark-front livenessProbe: diff --git a/helm-chart/templates/09-worker-daemon-set.yaml b/helm-chart/templates/09-worker-daemon-set.yaml index e961f86be..2a0c808db 100644 --- a/helm-chart/templates/09-worker-daemon-set.yaml +++ b/helm-chart/templates/09-worker-daemon-set.yaml @@ -43,7 +43,7 @@ spec: {{- if .Values.tap.nokernelmodule }} - -no-kernel-module {{- end }} - image: '{{ .Values.tap.docker.registry }}/worker:{{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag .Chart.Version }}' + image: '{{ .Values.tap.docker.registry }}/worker:{{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag (printf "v%s" .Chart.Version) }}' imagePullPolicy: {{ .Values.tap.docker.imagepullpolicy }} name: sniffer env: @@ -107,7 +107,7 @@ spec: {{- if .Values.tap.debug }} - -debug {{- end }} - image: '{{ .Values.tap.docker.registry }}/worker:{{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag .Chart.Version }}' + image: '{{ .Values.tap.docker.registry }}/worker:{{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag (printf "v%s" .Chart.Version) }}' imagePullPolicy: {{ .Values.tap.docker.imagepullpolicy }} name: tracer env: diff --git a/helm-chart/templates/NOTES.txt b/helm-chart/templates/NOTES.txt index 2f048b7c7..5dfd4bc99 100644 --- a/helm-chart/templates/NOTES.txt +++ b/helm-chart/templates/NOTES.txt @@ -1,7 +1,7 @@ Thank you for installing {{ title .Chart.Name }}. Registry: {{ .Values.tap.docker.registry }} -Tag: {{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag .Chart.Version }} +Tag: {{ not (eq .Values.tap.docker.tag "") | ternary .Values.tap.docker.tag (printf "v%s" .Chart.Version) }} Your deployment has been successful. The release is named `{{ .Release.Name }}` and it has been deployed in the `{{ .Release.Namespace }}` namespace. diff --git a/manifests/complete.yaml b/manifests/complete.yaml index 3e3f7e022..c24858daf 100644 --- a/manifests/complete.yaml +++ b/manifests/complete.yaml @@ -291,7 +291,7 @@ spec: - -servicemesh - -procfs - /hostproc - image: 'docker.io/kubeshark/worker:51.0.0' + image: 'docker.io/kubeshark/worker:v51.0.0' imagePullPolicy: Always name: sniffer env: @@ -351,7 +351,7 @@ spec: - ./tracer - -procfs - /hostproc - image: 'docker.io/kubeshark/worker:51.0.0' + image: 'docker.io/kubeshark/worker:v51.0.0' imagePullPolicy: Always name: tracer env: @@ -469,7 +469,7 @@ spec: name: kubeshark-config-map - secretRef: name: kubeshark-secret - image: 'docker.io/kubeshark/hub:51.0.0' + image: 'docker.io/kubeshark/hub:v51.0.0' imagePullPolicy: Always readinessProbe: periodSeconds: 1 @@ -535,7 +535,7 @@ spec: value: ' ' - name: REACT_APP_HUB_PORT value: ':8899/api' - image: 'docker.io/kubeshark/front:51.0.0' + image: 'docker.io/kubeshark/front:v51.0.0' imagePullPolicy: Always name: kubeshark-front livenessProbe: