From ace348aeaea48a40c4f8ffcfc52ff734d3129298 Mon Sep 17 00:00:00 2001 From: mpw Date: Wed, 10 May 2023 20:05:55 -0300 Subject: [PATCH] remove hardcoded sheet name from annotation --- charts/hub-credits/Chart.yaml | 2 +- charts/hub-credits/templates/deployment.yaml | 2 +- charts/hub-nfts/Chart.yaml | 2 +- charts/hub-nfts/templates/deployment.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/hub-credits/Chart.yaml b/charts/hub-credits/Chart.yaml index 03590fe..943b71f 100644 --- a/charts/hub-credits/Chart.yaml +++ b/charts/hub-credits/Chart.yaml @@ -18,7 +18,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.3.0 +version: 0.3.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/charts/hub-credits/templates/deployment.yaml b/charts/hub-credits/templates/deployment.yaml index ab04835..90f46ce 100644 --- a/charts/hub-credits/templates/deployment.yaml +++ b/charts/hub-credits/templates/deployment.yaml @@ -5,7 +5,7 @@ metadata: labels: {{- include "hub-credits.labels" . | nindent 4 }} annotations: - configmap.reloader.stakater.com/reload: "hub-credits-credit-sheet" + configmap.reloader.stakater.com/reload: {{ include "hub-credits.fullname" $ }}-credit-sheet spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} diff --git a/charts/hub-nfts/Chart.yaml b/charts/hub-nfts/Chart.yaml index 884305f..4d4a5ee 100644 --- a/charts/hub-nfts/Chart.yaml +++ b/charts/hub-nfts/Chart.yaml @@ -18,7 +18,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.3.0 +version: 0.3.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/charts/hub-nfts/templates/deployment.yaml b/charts/hub-nfts/templates/deployment.yaml index a39f40f..67507af 100644 --- a/charts/hub-nfts/templates/deployment.yaml +++ b/charts/hub-nfts/templates/deployment.yaml @@ -5,7 +5,7 @@ metadata: labels: {{- include "hub-nfts.labels" . | nindent 4 }} annotations: - configmap.reloader.stakater.com/reload: "hub-credits-credit-sheet" + configmap.reloader.stakater.com/reload: {{ required "must provide credit sheet configmap name" .Values.creditSheetName }} spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }}