소스 검색

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