Skip to content

Commit

Permalink
Fix port substitution in halyard config (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinaybyrisetty authored May 7, 2021
1 parent 2d0f8e2 commit 316bc99
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/oes/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: oes
version: 3.6.8
version: 3.6.9
appVersion: 3.6.2
description: OES is a non-forked version of OSS spinnaker
icon: https://www.opsmx.com/images/logo.png
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,17 @@ data:
# Use Deck to route to Gate
{{- if not .Values.gitopsHalyard.enabled }}
# Configure override urls in halyard config
{{- if .Values.global.spinDeck.port }}
$HAL_COMMAND config security ui edit --no-validate --override-base-url {{ .Values.global.spinDeck.protocol }}://{{ .Values.global.spinDeck.host }}:{{ .Values.global.spinDeck.port }}
{{- else }}
$HAL_COMMAND config security ui edit --no-validate --override-base-url {{ .Values.global.spinDeck.protocol }}://{{ .Values.global.spinDeck.host }}
{{- end }}
{{- if .Values.global.spinGate.port }}
$HAL_COMMAND config security api edit --no-validate --override-base-url {{ .Values.global.spinGate.protocol }}://{{ .Values.global.spinGate.host }}:{{ .Values.global.spinGate.port }}
{{- else }}
$HAL_COMMAND config security api edit --no-validate --override-base-url {{ .Values.global.spinGate.protocol }}://{{ .Values.global.spinGate.host }}
{{- end }}
{{- end }}
{{- range $index, $feature := .Values.spinnakerFeatureFlags }}
$HAL_COMMAND config features edit --{{ $feature }} true
{{- end }}

0 comments on commit 316bc99

Please sign in to comment.