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 - name: Run yamllint
uses: ibiqlik/action-yamllint@ed2b6e911569708ed121c14b87d513860a7e36a7 uses: ibiqlik/action-yamllint@ed2b6e911569708ed121c14b87d513860a7e36a7
with: 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 config_file: .yamllint.yml
strict: true strict: true
+1
View File
@@ -1,3 +1,4 @@
---
label-approved: label-approved:
approvals: 2 approvals: 2
label: ready-to-test label: ready-to-test
+11 -11
View File
@@ -1,15 +1,15 @@
--- ---
extends: default extends: default
rules: rules:
comments: disable
comments-indentation: disable
line-length: line-length:
max: 150 max: 140
braces: # Allow standard GHA syntax for "on: *"
min-spaces-inside: 0 truthy:
max-spaces-inside: 0 ignore: '.github/workflows/*.yml'
brackets:
min-spaces-inside: 0 ignore: |
max-spaces-inside: 0 /submariner-k8s-broker/crds
indentation: /submariner-operator/crds
indent-sequences: consistent /submariner-k8s-broker/templates
/submariner-operator/templates
+1
View File
@@ -1,3 +1,4 @@
---
charts: charts:
- submariner-operator - submariner-operator
- submariner-k8s-broker - submariner-k8s-broker
+1
View File
@@ -1,3 +1,4 @@
---
questions: questions:
- variable: submariner-k8s-broker.rbac.create - variable: submariner-k8s-broker.rbac.create
type: boolean type: boolean
+1
View File
@@ -1,3 +1,4 @@
---
questions: questions:
- variable: defaultOperatorImage - variable: defaultOperatorImage
default: true default: true