Skip to content

Commit

Permalink
Merge pull request #12 from GekoCloud/spin-v1.0.0-feature-flags
Browse files Browse the repository at this point in the history
Optionally enable Spinnaker feature flags
  • Loading branch information
Vic Iglesias authored Jul 17, 2018
2 parents 9e13f54 + 420d626 commit 267801f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stable/spinnaker/templates/configmap/halyard-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,6 @@ data:
--location {{ .Release.Namespace }}
# Use Deck to route to Gate
$HAL_COMMAND config security api edit --no-validate --override-base-url /gate
{{- range $index, $feature := .Values.spinnakerFeatureFlags }}
$HAL_COMMAND config features edit --{{ $feature }} true
{{- end }}
8 changes: 8 additions & 0 deletions stable/spinnaker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ deck:
# hosts:
# - domain.com

# spinnakerFeatureFlags is a list of Spinnaker feature flags to enable
# Ref: https://www.spinnaker.io/reference/halyard/commands/#hal-config-features-edit
# spinnakerFeatureFlags:
# - artifacts
# - pipeline-templates
spinnakerFeatureFlags:
- jobs

# Node labels for pod assignment
# Ref: https://kubernetes.io/docs/user-guide/node-selection/
# nodeSelector to provide to each of the Spinnaker components
Expand Down

0 comments on commit 267801f

Please sign in to comment.