mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-20 19:10:34 +00:00
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:
committed by
Thomas Pantelis
parent
295890d3b5
commit
f151c3f3dc
@@ -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,3 +1,4 @@
|
|||||||
|
---
|
||||||
label-approved:
|
label-approved:
|
||||||
approvals: 2
|
approvals: 2
|
||||||
label: ready-to-test
|
label: ready-to-test
|
||||||
|
|||||||
+11
-11
@@ -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,3 +1,4 @@
|
|||||||
|
---
|
||||||
charts:
|
charts:
|
||||||
- submariner-operator
|
- submariner-operator
|
||||||
- submariner-k8s-broker
|
- submariner-k8s-broker
|
||||||
|
|||||||
@@ -1,17 +1,18 @@
|
|||||||
|
---
|
||||||
questions:
|
questions:
|
||||||
- variable: submariner-k8s-broker.rbac.create
|
- variable: submariner-k8s-broker.rbac.create
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
group: "Role Based Access Control"
|
group: "Role Based Access Control"
|
||||||
description: "Create the role/rolebinding for the Submariner client"
|
description: "Create the role/rolebinding for the Submariner client"
|
||||||
label: "RBAC Creation Enabled"
|
label: "RBAC Creation Enabled"
|
||||||
- variable: submariner-k8s-broker.crd.create
|
- variable: submariner-k8s-broker.crd.create
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
group: "Submariner CRD"
|
group: "Submariner CRD"
|
||||||
description: "Create the submariner CRDs for the Submariner client"
|
description: "Create the submariner CRDs for the Submariner client"
|
||||||
label: "Submariner CRD Creation Enabled"
|
label: "Submariner CRD Creation Enabled"
|
||||||
- variable: submariner-k8s-broker.serviceAccounts.client.create
|
- variable: submariner-k8s-broker.serviceAccounts.client.create
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
group: "Service Account"
|
group: "Service Account"
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
|
---
|
||||||
questions:
|
questions:
|
||||||
- variable: defaultOperatorImage
|
- variable: defaultOperatorImage
|
||||||
default: true
|
default: true
|
||||||
description: "Use default Submariner operator image or specify a custom one"
|
description: "Use default Submariner operator image or specify a custom one"
|
||||||
label: Use default Submariner operator image
|
label: Use default Submariner operator image
|
||||||
@@ -17,7 +18,7 @@ questions:
|
|||||||
description: "Submariner Operator Image Tag"
|
description: "Submariner Operator Image Tag"
|
||||||
type: string
|
type: string
|
||||||
label: Submariner Operator Image Tag
|
label: Submariner Operator Image Tag
|
||||||
- variable: defaultSubmarinerImages
|
- variable: defaultSubmarinerImages
|
||||||
default: true
|
default: true
|
||||||
description: "Use default Submariner images or specify custom ones"
|
description: "Use default Submariner images or specify custom ones"
|
||||||
label: Use default Submariner images
|
label: Use default Submariner images
|
||||||
@@ -35,27 +36,27 @@ questions:
|
|||||||
description: "Submariner Images Tag (shared for all non-operator images)"
|
description: "Submariner Images Tag (shared for all non-operator images)"
|
||||||
type: string
|
type: string
|
||||||
label: Submariner Images Tag
|
label: Submariner Images Tag
|
||||||
- variable: submariner.clusterId
|
- variable: submariner.clusterId
|
||||||
default: ""
|
default: ""
|
||||||
description: "Enter a unique cluster ID to identify this cluster"
|
description: "Enter a unique cluster ID to identify this cluster"
|
||||||
type: string
|
type: string
|
||||||
label: "Cluster ID"
|
label: "Cluster ID"
|
||||||
group: "Configuration"
|
group: "Configuration"
|
||||||
required: true
|
required: true
|
||||||
- variable: ipsec.psk
|
- variable: ipsec.psk
|
||||||
default: ""
|
default: ""
|
||||||
description: "Enter the pre-shared key for the IPsec Cable Engine"
|
description: "Enter the pre-shared key for the IPsec Cable Engine"
|
||||||
type: string
|
type: string
|
||||||
label: "IPsec Pre-Shared Key"
|
label: "IPsec Pre-Shared Key"
|
||||||
group: "Configuration"
|
group: "Configuration"
|
||||||
required: true
|
required: true
|
||||||
- variable: broker.server
|
- variable: broker.server
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
group: "Broker Configuration"
|
group: "Broker Configuration"
|
||||||
label: "Broker Server"
|
label: "Broker Server"
|
||||||
description: "Broker server to use (without the https://)"
|
description: "Broker server to use (without the https://)"
|
||||||
- variable: broker.insecure
|
- variable: broker.insecure
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
show_subquestion_if: false
|
show_subquestion_if: false
|
||||||
@@ -68,37 +69,37 @@ questions:
|
|||||||
description: "Base64 encoded broker ca.crt"
|
description: "Base64 encoded broker ca.crt"
|
||||||
label: "Broker CA encoded in base64"
|
label: "Broker CA encoded in base64"
|
||||||
default: ""
|
default: ""
|
||||||
- variable: broker.token
|
- variable: broker.token
|
||||||
type: string
|
type: string
|
||||||
group: "Broker Configuration"
|
group: "Broker Configuration"
|
||||||
label: "Broker Token"
|
label: "Broker Token"
|
||||||
description: "Bearer token for broker"
|
description: "Bearer token for broker"
|
||||||
- variable: broker.namespace
|
- variable: broker.namespace
|
||||||
type: string
|
type: string
|
||||||
group: "Broker Configuration"
|
group: "Broker Configuration"
|
||||||
label: "Broker Namespace"
|
label: "Broker Namespace"
|
||||||
description: "Enter namespace to use on central broker"
|
description: "Enter namespace to use on central broker"
|
||||||
- variable: submariner.clusterCidr
|
- variable: submariner.clusterCidr
|
||||||
default: ""
|
default: ""
|
||||||
description: "Enter the cluster CIDR (i.e. 10.42.0.0/16) for this cluster"
|
description: "Enter the cluster CIDR (i.e. 10.42.0.0/16) for this cluster"
|
||||||
type: string
|
type: string
|
||||||
label: "Cluster CIDR"
|
label: "Cluster CIDR"
|
||||||
group: "CIDR Configuration"
|
group: "CIDR Configuration"
|
||||||
required: true
|
required: true
|
||||||
- variable: submariner.serviceCidr
|
- variable: submariner.serviceCidr
|
||||||
default: ""
|
default: ""
|
||||||
description: "Enter the service CIDR (i.e. 10.43.0.0/16) for this cluster"
|
description: "Enter the service CIDR (i.e. 10.43.0.0/16) for this cluster"
|
||||||
type: string
|
type: string
|
||||||
label: "Service CIDR"
|
label: "Service CIDR"
|
||||||
group: "CIDR Configuration"
|
group: "CIDR Configuration"
|
||||||
required: true
|
required: true
|
||||||
- variable: submariner.serviceDiscovery
|
- variable: submariner.serviceDiscovery
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
group: "Advanced Configuration"
|
group: "Advanced Configuration"
|
||||||
description: "Enable multicluster service discovery"
|
description: "Enable multicluster service discovery"
|
||||||
label: "Service Discovery Enabled"
|
label: "Service Discovery Enabled"
|
||||||
- variable: broker.globalnet
|
- variable: broker.globalnet
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
group: "Broker Configuration"
|
group: "Broker Configuration"
|
||||||
@@ -112,31 +113,31 @@ questions:
|
|||||||
label: "Globalnet CIDR"
|
label: "Globalnet CIDR"
|
||||||
group: "CIDR Configuration"
|
group: "CIDR Configuration"
|
||||||
required: false
|
required: false
|
||||||
- variable: submariner.natEnabled
|
- variable: submariner.natEnabled
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
group: "Advanced Configuration"
|
group: "Advanced Configuration"
|
||||||
description: "If the gateway nodes for this cluster are behind 1:1 NAT, you should enable NAT"
|
description: "If the gateway nodes for this cluster are behind 1:1 NAT, you should enable NAT"
|
||||||
label: "NAT Enabled"
|
label: "NAT Enabled"
|
||||||
- variable: submariner.debug
|
- variable: submariner.debug
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
group: "Advanced Configuration"
|
group: "Advanced Configuration"
|
||||||
description: "Enable submariner debug mode"
|
description: "Enable submariner debug mode"
|
||||||
label: "Submariner Debug Enabled"
|
label: "Submariner Debug Enabled"
|
||||||
- variable: ipsec.debug
|
- variable: ipsec.debug
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
group: "Advanced Configuration"
|
group: "Advanced Configuration"
|
||||||
description: "Enable Charon debug mode"
|
description: "Enable Charon debug mode"
|
||||||
label: "Charon Enabled"
|
label: "Charon Enabled"
|
||||||
- variable: submariner.cableDriver
|
- variable: submariner.cableDriver
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
group: "Advanced Configuration"
|
group: "Advanced Configuration"
|
||||||
description: "Cable driver implementation"
|
description: "Cable driver implementation"
|
||||||
label: "Cable Driver"
|
label: "Cable Driver"
|
||||||
- variable: submariner.healthcheckEnabled
|
- variable: submariner.healthcheckEnabled
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
group: "Advanced Configuration"
|
group: "Advanced Configuration"
|
||||||
|
|||||||
Reference in New Issue
Block a user