From 843aec44c0726a549c52ca5d2ab2efc21cf80f61 Mon Sep 17 00:00:00 2001 From: "bing.ma" Date: Thu, 26 Oct 2023 18:33:34 +0800 Subject: [PATCH] fix clone from an instance, ref to wrong field --- helm/mysql-innodbcluster/templates/deployment_cluster.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/mysql-innodbcluster/templates/deployment_cluster.yaml b/helm/mysql-innodbcluster/templates/deployment_cluster.yaml index bcf150e2..600d0501 100644 --- a/helm/mysql-innodbcluster/templates/deployment_cluster.yaml +++ b/helm/mysql-innodbcluster/templates/deployment_cluster.yaml @@ -207,7 +207,7 @@ spec: donorUrl: {{ required "initDB.clone.donorUrl is required" .donorUrl }} rootUser: {{ .rootUser | default "root" }} secretKeyRef: - name: {{ required "initDB.clone.credentials is required" .credentials }} + name: {{ required "initDB.clone.secretKeyRef.name is required" .secretKeyRef.name }} {{- end }} {{- end }}