Skip to content

Commit

Permalink
fix: fix notes not rendering when specifying master key
Browse files Browse the repository at this point in the history
  • Loading branch information
liam-mackie committed Sep 10, 2024
1 parent 57d0de7 commit bf72e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/octopus-deploy/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ To connect, you can use the following command, then go to http://localhost:8080
$ kubectl --namespace {{.Release.Namespace}} port-forward svc/{{ template "octopus.fullname" . }} 8080:{{.Values.octopus.webPort}}
{{- end }}

{{- if or (not .Values.octopus.masterKey) or (not .Values.octopus.password) or (and .Values.mssql.enabled (not .Values.mssql.SA_PASSWORD)) }}
{{- if or (not .Values.octopus.masterKey) (not .Values.octopus.password) (and .Values.mssql.enabled (not .Values.mssql.SA_PASSWORD)) }}
At least one required secret was not set, and has been autogenerated for you:
{{- if not .Values.octopus.masterKey }}
Master Key: {{ index (index .Release "generatedSecrets") (printf "%s-%s" .Release.Name "masterkey") }}
Expand Down

0 comments on commit bf72e91

Please sign in to comment.