Enable yamllint checks

- brackets
- braces
- colon
- commas
- comments
- document-end
- document-start
- empty-lines
- hyphens
- indentation
- new-line-at-end-of-file
- new-lines
- octal-values
- trailing-spaces

with corresponding code adjustment.

Also add yamllint.conf under the check.

Change-Id: Ie6251c9063c9c99ebe7c6db54c65d45d6ee7a1d4
This commit is contained in:
Andrii Ostapenko
2020-05-21 10:09:37 -05:00
parent 3af196f578
commit 8cfa2aa390
116 changed files with 653 additions and 496 deletions

View File

@@ -15,6 +15,7 @@
# Declare name/value pairs to be passed into your templates.
# name: value
---
release_group: null
labels:
@@ -66,11 +67,11 @@ images:
pod:
affinity:
anti:
type:
default: preferredDuringSchedulingIgnoredDuringExecution
topologyKey:
default: kubernetes.io/hostname
anti:
type:
default: preferredDuringSchedulingIgnoredDuringExecution
topologyKey:
default: kubernetes.io/hostname
mounts:
designate_api:
init_container: null
@@ -452,7 +453,7 @@ conf:
zone_primary_or_admin: ('PRIMARY':%(zone_type)s and rule:admin_or_owner) OR ('SECONDARY':%(zone_type)s AND is_admin:True)
default: rule:admin_or_owner
all_tenants: rule:admin
edit_managed_records : rule:admin
edit_managed_records: rule:admin
use_low_ttl: rule:admin
get_quotas: rule:admin_or_owner
get_quota: rule:admin_or_owner
@@ -827,3 +828,4 @@ manifests:
service_api: true
service_mdns: true
service_ingress_api: true
...