Enable yamllint checks

- brackets
- braces
- colon
- commas

with corresponding code adjustment.

Change-Id: I8d294cfa8f358431bee6ecb97396dae66f955b86
This commit is contained in:
Andrii Ostapenko 2020-05-17 15:04:39 -05:00
parent 68a1b92768
commit 67d1409a74
12 changed files with 55 additions and 59 deletions

View File

@ -909,7 +909,7 @@ storage:
enabled: true enabled: true
pvc: pvc:
name: pvc-elastic name: pvc-elastic
access_mode: [ "ReadWriteOnce" ] access_mode: ["ReadWriteOnce"]
requests: requests:
storage: 5Gi storage: 5Gi
storage_class: general storage_class: general
@ -917,7 +917,7 @@ storage:
enabled: true enabled: true
pvc: pvc:
name: pvc-elastic name: pvc-elastic
access_mode: [ "ReadWriteOnce" ] access_mode: ["ReadWriteOnce"]
requests: requests:
storage: 1Gi storage: 1Gi
storage_class: general storage_class: general

View File

@ -277,7 +277,7 @@ storage:
enabled: true enabled: true
pvc: pvc:
name: kafka-pvc name: kafka-pvc
access_mode: [ "ReadWriteOnce" ] access_mode: ["ReadWriteOnce"]
requests: requests:
storage: 5Gi storage: 5Gi
storage_class: general storage_class: general

View File

@ -3,32 +3,32 @@ conf:
- name: local-persistent-volume-0 - name: local-persistent-volume-0
reclaim_policy: Delete reclaim_policy: Delete
storage_capacity: "1Gi" storage_capacity: "1Gi"
access_modes: [ "ReadWriteOnce" ] access_modes: ["ReadWriteOnce"]
local_path: /srv/local-volume-0 local_path: /srv/local-volume-0
- name: local-persistent-volume-1 - name: local-persistent-volume-1
reclaim_policy: Delete reclaim_policy: Delete
storage_capacity: "1Gi" storage_capacity: "1Gi"
access_modes: [ "ReadWriteOnce" ] access_modes: ["ReadWriteOnce"]
local_path: /srv/local-volume-1 local_path: /srv/local-volume-1
- name: local-persistent-volume-2 - name: local-persistent-volume-2
reclaim_policy: Delete reclaim_policy: Delete
storage_capacity: "1Gi" storage_capacity: "1Gi"
access_modes: [ "ReadWriteOnce" ] access_modes: ["ReadWriteOnce"]
local_path: /srv/local-volume-2 local_path: /srv/local-volume-2
- name: local-persistent-volume-3 - name: local-persistent-volume-3
reclaim_policy: Delete reclaim_policy: Delete
storage_capacity: "1Gi" storage_capacity: "1Gi"
access_modes: [ "ReadWriteOnce" ] access_modes: ["ReadWriteOnce"]
local_path: /srv/local-volume-3 local_path: /srv/local-volume-3
- name: local-persistent-volume-4 - name: local-persistent-volume-4
reclaim_policy: Delete reclaim_policy: Delete
storage_capacity: "1Gi" storage_capacity: "1Gi"
access_modes: [ "ReadWriteOnce" ] access_modes: ["ReadWriteOnce"]
local_path: /srv/local-volume-4 local_path: /srv/local-volume-4
- name: local-persistent-volume-5 - name: local-persistent-volume-5
reclaim_policy: Delete reclaim_policy: Delete
storage_capacity: "1Gi" storage_capacity: "1Gi"
access_modes: [ "ReadWriteOnce" ] access_modes: ["ReadWriteOnce"]
local_path: /srv/local-volume-5 local_path: /srv/local-volume-5
manifests: manifests:
storage_class: true storage_class: true

View File

@ -166,7 +166,7 @@ secrets:
storage: storage:
enabled: true enabled: true
pvc: pvc:
access_mode: [ "ReadWriteOnce" ] access_mode: ["ReadWriteOnce"]
requests: requests:
storage: 5Gi storage: 5Gi
storage_class: general storage_class: general

View File

@ -243,7 +243,7 @@ storage:
enabled: true enabled: true
pvc: pvc:
name: prometheus-pvc name: prometheus-pvc
access_mode: [ "ReadWriteOnce" ] access_mode: ["ReadWriteOnce"]
requests: requests:
storage: 5Gi storage: 5Gi
storage_class: general storage_class: general

View File

@ -6,14 +6,10 @@ yaml-files:
- '.yamllint' - '.yamllint'
rules: rules:
braces: braces: enable
level: warning brackets: enable
brackets: colons: enable
level: warning commas: enable
colons:
level: warning
commas:
level: warning
comments: comments:
level: warning level: warning
comments-indentation: comments-indentation:

View File

@ -205,7 +205,7 @@ storage:
enabled: true enabled: true
pvc: pvc:
name: zookeeper-pvc name: zookeeper-pvc
access_mode: [ "ReadWriteOnce" ] access_mode: ["ReadWriteOnce"]
requests: requests:
storage: 5Gi storage: 5Gi
storage_class: general storage_class: general