From 5b996d1ceed4af25a805e343ca554e0479623966 Mon Sep 17 00:00:00 2001 From: Aram Karapetyan Date: Tue, 26 Mar 2024 12:42:31 +0400 Subject: [PATCH] fix(fix-container-name): Change container name --- charts/base/Chart.yaml | 4 ++-- charts/base/templates/_helpers.tpl | 2 +- charts/base/templates/deployment.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/base/Chart.yaml b/charts/base/Chart.yaml index 0eb2e76..ac74a6a 100644 --- a/charts/base/Chart.yaml +++ b/charts/base/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.58 +version: 0.1.59 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.1.58" +appVersion: "0.1.59" diff --git a/charts/base/templates/_helpers.tpl b/charts/base/templates/_helpers.tpl index bd79e1e..86766a2 100644 --- a/charts/base/templates/_helpers.tpl +++ b/charts/base/templates/_helpers.tpl @@ -52,7 +52,7 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} Selector labels */}} {{- define "base.selectorLabels" -}} -app.kubernetes.io/name: {{ include "base.name" . }} +app.kubernetes.io/name: {{ include "base.fullname" . }} app.kubernetes.io/instance: {{ .Release.Name }} {{- end }} diff --git a/charts/base/templates/deployment.yaml b/charts/base/templates/deployment.yaml index 6a6af5a..6b87564 100644 --- a/charts/base/templates/deployment.yaml +++ b/charts/base/templates/deployment.yaml @@ -171,7 +171,7 @@ spec: {{- toYaml .Values.extraContainer.deployment.lifecycle | nindent 12 }} {{- end }} {{- end }} - - name: {{ .Chart.Name }} + - name: {{ include "base.fullname" . }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"