Skip to content

Commit

Permalink
Add upgradeGuard
Browse files Browse the repository at this point in the history
  • Loading branch information
scflavell committed Apr 13, 2022
1 parent 5deb9d6 commit 4248b22
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/ondat-operator/templates/storageoscluster_cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ spec:
- "{{ .Values.cluster.nodeSelectorTerm.value }}"
{{- end }}

{{- if .Values.cluster.nodeManagerFeatures.upgradeGuard.enabled }}
nodeManagerFeatures:
upgradeGuard: "true"
{{- end }}

{{- if .Values.cluster.toleration.key }}
tolerations:
- key: {{ .Values.cluster.toleration.key }}
Expand Down
5 changes: 5 additions & 0 deletions charts/ondat-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ cluster:
# Name of the secret containing StorageOS API credentials.
secretRefName: storageos-api

# Enable protection for volumes during orchestrator upgrades - Tech Preview
nodeManagerFeatures:
upgradeGuard:
enabled: false

# Default admin account.
admin:
# Username to authenticate to the StorageOS API with.
Expand Down

0 comments on commit 4248b22

Please sign in to comment.