Skip to content

Commit

Permalink
chore: update mariadb cluster with storage and ns
Browse files Browse the repository at this point in the history
  • Loading branch information
shanshanying committed Nov 18, 2024
1 parent bab8489 commit f469cec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons-cluster/mariadb/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ apiVersion: apps.kubeblocks.io/v1
kind: Cluster
metadata:
name: {{ include "kblib.clusterName" . }}
namespace: {{ .Release.Namespace }}
labels: {{ include "kblib.clusterLabels" . | nindent 4 }}
spec:
terminationPolicy: {{ .Values.extra.terminationPolicy }}
componentSpecs:
- name: mariadb
componentDef: mariadb
replicas: {{ include "mariadb-cluster.replicas" . }}
serviceAccountName: {{ include "kblib.serviceAccountName" . }}
{{- include "kblib.componentResources" . | indent 6 }}
{{- include "kblib.componentStorages" . | indent 6 }}

0 comments on commit f469cec

Please sign in to comment.