Skip to content

Commit

Permalink
Fix: octopus server notes rendering (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
liam-mackie authored Sep 10, 2024
1 parent 57d0de7 commit 0c6d4c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/warm-emus-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"octopus-deploy": patch
---

Fix notes not rendering when specifying master key
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 0c6d4c9

Please sign in to comment.