You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by ji...@apache.org on 2023/05/19 11:28:25 UTC
[shardingsphere-on-cloud] branch main updated: fix(helm): fix proxy charts agent configmap name template (#375)
This is an automated email from the ASF dual-hosted git repository.
jianglongtao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shardingsphere-on-cloud.git
The following commit(s) were added to refs/heads/main by this push:
new b6dbbb5 fix(helm): fix proxy charts agent configmap name template (#375)
b6dbbb5 is described below
commit b6dbbb5043308a7bc9e1350ea13adc010596ef6b
Author: liyao <ma...@126.com>
AuthorDate: Fri May 19 19:28:20 2023 +0800
fix(helm): fix proxy charts agent configmap name template (#375)
Signed-off-by: mlycore <ma...@126.com>
---
charts/apache-shardingsphere-proxy-charts/templates/configmap.yaml | 2 +-
charts/apache-shardingsphere-proxy-charts/templates/deployment.yaml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/charts/apache-shardingsphere-proxy-charts/templates/configmap.yaml b/charts/apache-shardingsphere-proxy-charts/templates/configmap.yaml
index ba4324e..d693d53 100644
--- a/charts/apache-shardingsphere-proxy-charts/templates/configmap.yaml
+++ b/charts/apache-shardingsphere-proxy-charts/templates/configmap.yaml
@@ -61,7 +61,7 @@ data:
apiVersion: v1
kind: ConfigMap
metadata:
- name: add-metrics
+ name: {{ printf "%s-agent-configuration" (include "common.names.fullname" .) }}
data:
agent.yaml: |-
{{- include "common.tplvalues.render" (dict "value" .Values.compute.agent.config "context" $) | nindent 4 }}
diff --git a/charts/apache-shardingsphere-proxy-charts/templates/deployment.yaml b/charts/apache-shardingsphere-proxy-charts/templates/deployment.yaml
index 5387eb7..5aff6bf 100644
--- a/charts/apache-shardingsphere-proxy-charts/templates/deployment.yaml
+++ b/charts/apache-shardingsphere-proxy-charts/templates/deployment.yaml
@@ -129,7 +129,7 @@ spec:
emptyDir: { }
- name: agent-config
configMap:
- name: add-metrics
+ name: {{ printf "%s-agent-configuration" (include "common.names.fullname" .) }}
items:
- key: agent.yaml
path: agent.yaml