We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3df43fd commit 8ae2916Copy full SHA for 8ae2916
.pre-commit-config.yaml
@@ -21,6 +21,7 @@ repos:
21
22
# YAML
23
- id: check-yaml # checks yaml files for parseable syntax.
24
+ exclude: '.*/templates/.*\.yaml$' # Exclude Helm templates (contain Go templating)
25
26
- repo: https://github.com/antonbabenko/pre-commit-terraform
27
rev: v1.81.0
src/charts/echo-server/templates/deployment.yaml
@@ -16,6 +16,9 @@ spec:
16
name: {{ include "echo-server.fullname" . }}
17
labels:
18
{{- include "echo-server.selectorLabels" . | nindent 8 }}
19
+ {{- with .Values.labels }}
20
+ {{- toYaml . | nindent 8 }}
+ {{- end }}
spec:
containers:
- name: {{ .Chart.Name }}
0 commit comments