From a075f8639b70be4b5268b43a383deee9398e5334 Mon Sep 17 00:00:00 2001 From: David Lehuby Date: Fri, 10 Jan 2025 12:16:30 +0100 Subject: [PATCH] PM-2121 - Update container name in nginx helm chart --- nginx/Chart.yaml | 2 +- nginx/README.md | 2 +- nginx/templates/deployment.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nginx/Chart.yaml b/nginx/Chart.yaml index 3464a394..a3370b5a 100644 --- a/nginx/Chart.yaml +++ b/nginx/Chart.yaml @@ -15,7 +15,7 @@ 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.0 +version: 0.1.1 # 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 diff --git a/nginx/README.md b/nginx/README.md index 155e84fa..d4e9b841 100644 --- a/nginx/README.md +++ b/nginx/README.md @@ -1,6 +1,6 @@ # nginx -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square) +![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square) A Helm chart for Kubernetes diff --git a/nginx/templates/deployment.yaml b/nginx/templates/deployment.yaml index 05621994..2ddc194e 100644 --- a/nginx/templates/deployment.yaml +++ b/nginx/templates/deployment.yaml @@ -35,7 +35,7 @@ spec: securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: - - name: {{ .Chart.Name }} + - name: {{ include "nginx.fullname" . }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"