Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion helm-chart/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Selector labels
*/}}
{{- define "spring-forward.selectorLabels" -}}
app.kubernetes.io/name: {{ include "spring-forward.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/instance: {{ .Values.instancenameOverride }}
{{- end }}

{{/*
Expand Down
4 changes: 4 additions & 0 deletions helm-chart/templates/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
test:
{{- range $key, $secret := .Values.secret }}
{{- printf "%s: %s" $key $secret | nindent 2 }}
{{- end }}
3 changes: 3 additions & 0 deletions helm-chart/values-name-rename-Spring Forward.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
instancenameOverride: "release-rename"
nameOverride: "spring-forward"
fullnameOverride: "release-rename-spring-forward"
4 changes: 4 additions & 0 deletions helm-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

secret:
test1: value
test2: value

replicaCount: 1

image:
Expand Down