yamllint
This commit is contained in:
parent
2fdfb3ebda
commit
572dbb6037
19 changed files with 141 additions and 118 deletions
|
@ -3,6 +3,6 @@ type: kubernetes
|
||||||
name: default
|
name: default
|
||||||
steps:
|
steps:
|
||||||
- name: kubeval
|
- name: kubeval
|
||||||
image: garethr/kubeval
|
image: registry.gitlab.com/pipeline-components/yamllint
|
||||||
commands:
|
commands:
|
||||||
- kubeval --ignore-missing-schemas -d ./flux/
|
- yamllint -c .yamllint.taml .
|
||||||
|
|
24
.yamllint.yaml
Normal file
24
.yamllint.yaml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
---
|
||||||
|
ignore: |
|
||||||
|
charts/
|
||||||
|
docs/
|
||||||
|
.private/
|
||||||
|
.terraform/
|
||||||
|
.vscode/
|
||||||
|
gotk-components.yaml
|
||||||
|
extends: default
|
||||||
|
rules:
|
||||||
|
empty-lines:
|
||||||
|
max-end: 1
|
||||||
|
truthy:
|
||||||
|
allowed-values: ["true", "false", "on"]
|
||||||
|
comments:
|
||||||
|
min-spaces-from-content: 1
|
||||||
|
line-length: disable
|
||||||
|
braces:
|
||||||
|
min-spaces-inside: 0
|
||||||
|
max-spaces-inside: 1
|
||||||
|
brackets:
|
||||||
|
min-spaces-inside: 0
|
||||||
|
max-spaces-inside: 0
|
||||||
|
indentation: enable
|
|
@ -28,4 +28,3 @@ spec:
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
name: external-secrets-crd-source
|
name: external-secrets-crd-source
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue