Enable yamllint checks

- brackets
- braces
- colon
- commas
- comments
- key-duplicates

with corresponding code adjustment.

Also removes x flag from yamls for ranger and ranger-agent charts.

Change-Id: I156b991ba6e17b6f9e1f128295362c0675afd8cc
This commit is contained in:
Andrii Ostapenko 2020-05-21 10:46:13 -05:00
parent 78635bd331
commit c47a2b63c2
8 changed files with 8 additions and 14 deletions

0
ranger-agent/Chart.yaml Executable file → Normal file
View File

0
ranger-agent/requirements.yaml Executable file → Normal file
View File

0
ranger-agent/values.yaml Executable file → Normal file
View File

0
ranger/Chart.yaml Executable file → Normal file
View File

0
ranger/requirements.yaml Executable file → Normal file
View File

0
ranger/values.yaml Executable file → Normal file
View File

0
sonobuoy/requirements.yaml Executable file → Normal file
View File

View File

@ -6,16 +6,11 @@ yaml-files:
- '.yamllint'
rules:
braces:
level: warning
brackets:
level: warning
colons:
level: warning
commas:
level: warning
comments:
level: warning
braces: enable
brackets: enable
colons: enable
commas: enable
comments: enable
comments-indentation:
level: warning
document-end:
@ -32,8 +27,7 @@ rules:
spaces: 2
indent-sequences: whatever
level: warning
key-duplicates:
level: warning
key-duplicates: enable
key-ordering: disable
line-length: disable
new-line-at-end-of-file: