Skip to content

Commit

Permalink
chore: avoid false positives with yaml-check
Browse files Browse the repository at this point in the history
  • Loading branch information
fredleger committed Dec 30, 2024
1 parent 0a9b698 commit 74d098d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: check-executables-have-shebangs
- id: check-symlinks
- id: check-yaml
exclude: ^helm-boilerplate/templates/.*$|^chart-schema.yaml$
exclude: ^postal/templates/.*$|^chart-schema.yaml$
- id: detect-aws-credentials
- id: mixed-line-ending
- id: trailing-whitespace
Expand Down
7 changes: 7 additions & 0 deletions postal/templates/jobs/initialize/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ apiVersion: batch/v1
kind: Job
metadata:
name: {{ include "postal.jobs.initialize.fullname" . }}
annotations:
{{- with .Values.commonAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.jobs.initialize.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "postal.jobs.initialize.labels" . | nindent 4 }}
spec:
Expand Down

0 comments on commit 74d098d

Please sign in to comment.