Skip to content

Commit

Permalink
fix: dataprotection start bug with dualOperatorsMode (#8608)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyelei authored Dec 9, 2024
1 parent f34609d commit 94e8031
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions deploy/helm/templates/dataprotection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,17 @@ spec:
{{- if .Values.userAgent }}
- "--user-agent={{ .Values.userAgent }}"
{{- end }}
{{- if .Values.dualOperatorsMode }}
- "--dual-operators-mode={{ .Values.dualOperatorsMode }}"
{{- end }}
env:
- name: CM_NAMESPACE
value: {{ .Release.Namespace }}
{{- with .Values.dataProtection.affinity }}
- name: CM_AFFINITY
value: {{ toJson . | quote }}
{{- end }}
{{- if .Values.dualOperatorsMode }}
- name: DUAL_OPERATORS_MODE
value: {{ .Values.dualOperatorsMode | quote }}
{{- end }}
{{- with .Values.nodeSelector }}
- name: CM_NODE_SELECTOR
value: {{ toJson . | quote }}
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ spec:
{{- end }}
{{- if .Values.dualOperatorsMode }}
- name: DUAL_OPERATORS_MODE
value: {{ .Values.dualOperatorsMode }}
value: {{ .Values.dualOperatorsMode | quote }}
{{- end }}
{{- if .Values.reconcileWorkers }}
- name: KUBEBLOCKS_RECONCILE_WORKERS
Expand Down

0 comments on commit 94e8031

Please sign in to comment.