فهرست منبع

Fix: Correct YAML format in base templates - move document separator inside if block, add missing end tag

DevOps Team 2 ماه پیش
والد
کامیت
c87f9a660e
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 0
      charts/base/templates/configmap.yaml
  2. 1 1
      charts/base/templates/service.yaml

+ 1 - 0
charts/base/templates/configmap.yaml

@@ -13,3 +13,4 @@ data:
   application.yml: |
     {{- .Values.config.yml | toYaml | nindent 4 }}
 {{- end }}
+{{- end }}

+ 1 - 1
charts/base/templates/service.yaml

@@ -14,8 +14,8 @@ spec:
       name: http
   selector:
     app: {{ .Values.app.name }}
----
 {{- if .Values.service.dubbo_port }}
+---
 # Headless Service for Dubbo RPC
 apiVersion: v1
 kind: Service