Skip to content

Commit

Permalink
fix: zookeeper snapshot-log mount error
Browse files Browse the repository at this point in the history
  • Loading branch information
kubeJocker committed Jan 20, 2025
1 parent ba3ff44 commit 36ed592
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons-cluster/zookeeper-cluster/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
{{- if .Values.storageClassName }}
storageClassName: {{ .Values.storageClassName | quote }}
{{- end }}
- name: log
- name: snapshot-log
spec:
{{- if .Values.storageClassName }}
storageClassName: {{ .Values.storageClassName | quote }}
Expand Down
4 changes: 3 additions & 1 deletion addons/zookeeper/templates/cmpd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: apps.kubeblocks.io/v1alpha1
kind: ComponentDefinition
metadata:
name: zookeeper
annotations:
apps.kubeblocks.io/skip-immutable-check: "true"
labels:
{{- include "zookeeper.labels" . | nindent 4 }}
spec:
Expand Down Expand Up @@ -63,7 +65,7 @@ spec:
fi
runtime:
volumes:
- name: snapshot-log
- name: log
emptyDir: {}

securityContext:
Expand Down

0 comments on commit 36ed592

Please sign in to comment.