Fix yamllint errors, use SubM-standard config

Use similar yamllint configuration as other Submariner repos.

Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
This commit is contained in:
Daniel Farrell
2022-03-15 10:13:58 -04:00
committed by Thomas Pantelis
parent 295890d3b5
commit f151c3f3dc
7 changed files with 174 additions and 171 deletions
-1
View File
@@ -107,6 +107,5 @@ jobs:
- name: Run yamllint
uses: ibiqlik/action-yamllint@ed2b6e911569708ed121c14b87d513860a7e36a7
with:
file_or_dir: submariner-k8s-broker/Chart.yaml submariner-k8s-broker/values.yaml submariner-operator/Chart.yaml submariner-operator/values.yaml
config_file: .yamllint.yml
strict: true
+1
View File
@@ -1,3 +1,4 @@
---
label-approved:
approvals: 2
label: ready-to-test
+11 -11
View File
@@ -1,15 +1,15 @@
---
extends: default
rules:
comments: disable
comments-indentation: disable
line-length:
max: 150
braces:
min-spaces-inside: 0
max-spaces-inside: 0
brackets:
min-spaces-inside: 0
max-spaces-inside: 0
indentation:
indent-sequences: consistent
max: 140
# Allow standard GHA syntax for "on: *"
truthy:
ignore: '.github/workflows/*.yml'
ignore: |
/submariner-k8s-broker/crds
/submariner-operator/crds
/submariner-k8s-broker/templates
/submariner-operator/templates
+1
View File
@@ -1,3 +1,4 @@
---
charts:
- submariner-operator
- submariner-k8s-broker
+1
View File
@@ -1,3 +1,4 @@
---
questions:
- variable: submariner-k8s-broker.rbac.create
type: boolean
+1
View File
@@ -1,3 +1,4 @@
---
questions:
- variable: defaultOperatorImage
default: true