This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git


The following commit(s) were added to refs/heads/master by this push:
     new d63df438 Fix admin chart service discovery variables
     new 1fd6dff0 Merge pull request #71 from mfordjody/master
d63df438 is described below

commit d63df438e26cd75cb533695d5b45fd9c6d2b5184
Author: mfordjody <11638...@qq.comm>
AuthorDate: Thu Nov 30 17:19:04 2023 +0800

    Fix admin chart service discovery variables
---
 deploy/charts/admin/templates/admin-svc.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/deploy/charts/admin/templates/admin-svc.yaml 
b/deploy/charts/admin/templates/admin-svc.yaml
index 043545ef..66dde0f8 100644
--- a/deploy/charts/admin/templates/admin-svc.yaml
+++ b/deploy/charts/admin/templates/admin-svc.yaml
@@ -42,18 +42,18 @@ spec:
     app: {{ template "admin.selector" . }}
 {{- end }}
 ---
-{{- if .Values.$svc.enabled }}
+{{- if $svc.enabled }}
 apiVersion: v1
 kind: Service
 metadata:
   name: {{ include "admin.name" . }}-headless
   namespace: {{ include "admin.namespace" . }}
   labels:
-  {{- with .Values.$svc.labels }}
+  {{- with $svc.labels }}
   {{- toYaml . | nindent 4 }}
   {{- end }}
   annotations:
-  {{- with .Values.$svc.annotations }}
+  {{- with $svc.annotations }}
   {{- toYaml . | nindent 4 }}
   {{- end }}
 spec:

Reply via email to