Skip to content

Commit

Permalink
[fix]bug
Browse files Browse the repository at this point in the history
  • Loading branch information
piupuer committed Feb 20, 2024
1 parent f977a72 commit 4dc5fe5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions charts/aliyun-pxc-crds/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: "1.0.10"
appVersion: "1.0.11"
description: aliyun-pxc-crds is a Helm chart for aliyun-pxc
name: aliyun-pxc-crds
version: 1.0.10
version: 1.0.11
4 changes: 2 additions & 2 deletions charts/aliyun-pxc/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: "1.0.10"
appVersion: "1.0.11"
description: aliyun-pxc is a Helm chart for MySQL Percona XtraDB Cluster
name: aliyun-pxc
version: 1.0.10
version: 1.0.11
24 changes: 12 additions & 12 deletions charts/aliyun-pxc/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -55,38 +55,38 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
Create the name of the storage class to use
*/}}
{{- define "aliyun-pxc.scName" -}}
{{ default .Release.Name .Values.storageClass.name }}
{{ default mysqlsc .Values.storageClass.name }}
{{- end -}}
{{- define "aliyun-pxc.clusterName" -}}
{{ default .Release.Name .Values.cluster.name }}
{{ default mysql-cluster .Values.cluster.name }}
{{- end -}}
{{- define "aliyun-pxc.clusterSize" -}}
{{ default .Release.Name .Values.cluster.size }}
{{ default 5 .Values.cluster.size }}
{{- end -}}
{{- define "aliyun-pxc.clusterIgnoreSb" -}}
{{ default .Release.Name .Values.cluster.ignoreSb }}
{{ default false .Values.cluster.ignoreSb }}
{{- end -}}
{{- define "aliyun-pxc.clusterIgnoreQuorum" -}}
{{ default .Release.Name .Values.cluster.ignoreQuorum }}
{{ default false .Values.cluster.ignoreQuorum }}
{{- end -}}
{{- define "aliyun-pxc.userRoot" -}}
{{ default .Release.Name .Values.user.root }}
{{ default root_pwd .Values.user.root }}
{{- end -}}
{{- define "aliyun-pxc.userProxyadmin" -}}
{{ default .Release.Name .Values.user.proxyadmin }}
{{ default proxyadmin_pwd .Values.user.proxyadmin }}
{{- end -}}
{{- define "aliyun-pxc.userOperator" -}}
{{ default .Release.Name .Values.user.operator }}
{{ default operator_pwd .Values.user.operator }}
{{- end -}}
{{- define "aliyun-pxc.userXtrabackup" -}}
{{ default .Release.Name .Values.user.xtrabackup }}
{{ default backup_pwd .Values.user.xtrabackup }}
{{- end -}}
{{- define "aliyun-pxc.userMonitor" -}}
{{ default .Release.Name .Values.user.monitor }}
{{ default monitor_pwd .Values.user.monitor }}
{{- end -}}
{{- define "aliyun-pxc.userClustercheck" -}}
{{ default .Release.Name .Values.user.clustercheck }}
{{ default clustercheck_pwd .Values.user.clustercheck }}
{{- end -}}
{{- define "aliyun-pxc.userReplication" -}}
{{ default .Release.Name .Values.user.replication }}
{{ default replication_pwd .Values.user.replication }}
{{- end -}}

0 comments on commit 4dc5fe5

Please sign in to comment.