Skip to content

Commit

Permalink
Revert "fix: exclude data-protection pods from kb service (#7239)" (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-inf committed May 14, 2024
1 parent f158c14 commit 0f54616
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions deploy/helm/templates/dataprotection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ spec:
selector:
matchLabels:
{{- include "kubeblocks.selectorLabels" . | nindent 6 }}
app.kubernetes.io/component: "dataprotection"
{{- if .Values.updateStrategy }}
strategy:
{{ toYaml .Values.updateStrategy | nindent 4 | trim }}
Expand All @@ -27,7 +26,6 @@ spec:
{{- end }}
labels:
{{- include "kubeblocks.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: "dataprotection"
spec:
priorityClassName: {{ template "kubeblocks.priorityClassName" . }}
{{- with .Values.dataProtection.image.imagePullSecrets }}
Expand Down
2 changes: 0 additions & 2 deletions deploy/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ spec:
selector:
matchLabels:
{{- include "kubeblocks.selectorLabels" . | nindent 6 }}
app.kubernetes.io/component: "apps"
{{- if .Values.updateStrategy }}
strategy:
{{ toYaml .Values.updateStrategy | nindent 4 | trim }}
Expand All @@ -25,7 +24,6 @@ spec:
{{- end }}
labels:
{{- include "kubeblocks.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: "apps"
spec:
priorityClassName: {{ template "kubeblocks.priorityClassName" . }}
{{- with .Values.image.imagePullSecrets }}
Expand Down
3 changes: 1 addition & 2 deletions deploy/helm/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ spec:
{{- end }}
{{- end }}
selector:
{{- include "kubeblocks.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: "apps"
{{- include "kubeblocks.selectorLabels" . | nindent 4 }}

0 comments on commit 0f54616

Please sign in to comment.