Skip to content

Commit

Permalink
feat(koperator): Add feature flag gate for kcore upgrade (#2297)
Browse files Browse the repository at this point in the history
feat(installer): Add feature flag gate for decl upgrade
  • Loading branch information
gracedo authored Jun 11, 2024
1 parent 90cf109 commit ad702b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/kommander-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ spec:
- name: {{ .Chart.Name }}
image: "{{ .Values.kommanderoperator.image.repository }}:{{ .Values.kommanderoperator.image.tag }}"
imagePullPolicy: {{ .Values.kommanderoperator.image.pullPolicy }}
{{- if .Values.kommanderoperator.useUpgrade }}
args:
- --feature-gates=UseUpgrade=true
{{- end }}
ports:
- name: http
containerPort: 80
Expand Down
2 changes: 2 additions & 0 deletions charts/kommander-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

replicaCount: 1
kommanderoperator:
# feature flag to enable declarative upgrade logic in the operator
useUpgrade: false
image:
repository: mesosphere/kommander2-core-installer
tag:
Expand Down

0 comments on commit ad702b3

Please sign in to comment.