From ed8b3ff7a795739e3acc81b7510e7b942e8ca474 Mon Sep 17 00:00:00 2001 From: HenrikOssipoff Date: Fri, 2 Jun 2023 10:21:08 +0200 Subject: [PATCH] Use correct name for container --- charts/fastapi/Chart.yaml | 2 +- charts/fastapi/templates/deployment-web.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/fastapi/Chart.yaml b/charts/fastapi/Chart.yaml index d03f12a..a28bf28 100644 --- a/charts/fastapi/Chart.yaml +++ b/charts/fastapi/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: fastapi description: A simple Coolshop Helm chart for deploying FastAPI applications in Kubernetes type: application -version: 1.0.4 +version: 1.0.5 appVersion: latest icon: https://static.coolshop-cdn.com/images/favicons/coolshop/favicon-256.png maintainers: diff --git a/charts/fastapi/templates/deployment-web.yaml b/charts/fastapi/templates/deployment-web.yaml index 4aa9fa0..d7fcf33 100644 --- a/charts/fastapi/templates/deployment-web.yaml +++ b/charts/fastapi/templates/deployment-web.yaml @@ -24,7 +24,7 @@ spec: securityContext: {{- toYaml .Values.webDeployment.podSecurityContext | nindent 8 }} containers: - - name: {{ .Chart.Name }} + - name: {{ include "fastapi-helm-chart.fullname" . }} securityContext: {{- toYaml .Values.webDeployment.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"