diff --git a/.github/workflows/dependent-issues.yml b/.github/workflows/dependent-issues.yml index f55ab87..99dce9c 100644 --- a/.github/workflows/dependent-issues.yml +++ b/.github/workflows/dependent-issues.yml @@ -17,7 +17,7 @@ on: - reopened - synchronize schedule: - - cron: '0 0/6 * * *' # every 6 hours + - cron: '0 0/6 * * *' # every 6 hours jobs: check: diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 92d5a2d..f34116b 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -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 diff --git a/.submarinerbot.yaml b/.submarinerbot.yaml index 8088a31..1d410a0 100644 --- a/.submarinerbot.yaml +++ b/.submarinerbot.yaml @@ -1,3 +1,4 @@ +--- label-approved: approvals: 2 label: ready-to-test diff --git a/.yamllint.yml b/.yamllint.yml index 390a4bf..1e6aea5 100644 --- a/.yamllint.yml +++ b/.yamllint.yml @@ -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 \ No newline at end of file + 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 diff --git a/ct.yaml b/ct.yaml index 45743e5..6becc5b 100644 --- a/ct.yaml +++ b/ct.yaml @@ -1,3 +1,4 @@ +--- charts: - submariner-operator - submariner-k8s-broker diff --git a/submariner-k8s-broker/questions.yml b/submariner-k8s-broker/questions.yml index e129d54..eaf2d3e 100644 --- a/submariner-k8s-broker/questions.yml +++ b/submariner-k8s-broker/questions.yml @@ -1,19 +1,20 @@ +--- questions: -- variable: submariner-k8s-broker.rbac.create - type: boolean - default: true - group: "Role Based Access Control" - description: "Create the role/rolebinding for the Submariner client" - label: "RBAC Creation Enabled" -- variable: submariner-k8s-broker.crd.create - type: boolean - default: true - group: "Submariner CRD" - description: "Create the submariner CRDs for the Submariner client" - label: "Submariner CRD Creation Enabled" -- variable: submariner-k8s-broker.serviceAccounts.client.create - type: boolean - default: true - group: "Service Account" - description: "Create the service account for the Submariner client" - label: "Submariner Service Account Creation Enabled" \ No newline at end of file + - variable: submariner-k8s-broker.rbac.create + type: boolean + default: true + group: "Role Based Access Control" + description: "Create the role/rolebinding for the Submariner client" + label: "RBAC Creation Enabled" + - variable: submariner-k8s-broker.crd.create + type: boolean + default: true + group: "Submariner CRD" + description: "Create the submariner CRDs for the Submariner client" + label: "Submariner CRD Creation Enabled" + - variable: submariner-k8s-broker.serviceAccounts.client.create + type: boolean + default: true + group: "Service Account" + description: "Create the service account for the Submariner client" + label: "Submariner Service Account Creation Enabled" diff --git a/submariner-operator/questions.yml b/submariner-operator/questions.yml index 95b08ca..7951ce9 100644 --- a/submariner-operator/questions.yml +++ b/submariner-operator/questions.yml @@ -1,144 +1,145 @@ +--- questions: -- variable: defaultOperatorImage - default: true - description: "Use default Submariner operator image or specify a custom one" - label: Use default Submariner operator image - type: boolean - show_subquestion_if: false - group: "Container Images" - subquestions: - - variable: operator.image.repository - default: "quay.io/submariner/submariner-operator" - description: "Submariner Operator Image Repository" - type: string - label: Submariner Operator Image Repository - - variable: operator.image.tag - default: "0.10.1" - description: "Submariner Operator Image Tag" - type: string - label: Submariner Operator Image Tag -- variable: defaultSubmarinerImages - default: true - description: "Use default Submariner images or specify custom ones" - label: Use default Submariner images - type: boolean - show_subquestion_if: false - group: "Container images" - subquestions: - - variable: submariner.images.repository - default: "quay.io/submariner" - description: "Submariner Repository (base for all non-operator images)" - type: string - label: Submariner Repository - - variable: submariner.images.tag - default: "0.10.1" - description: "Submariner Images Tag (shared for all non-operator images)" - type: string - label: Submariner Images Tag -- variable: submariner.clusterId - default: "" - description: "Enter a unique cluster ID to identify this cluster" - type: string - label: "Cluster ID" - group: "Configuration" - required: true -- variable: ipsec.psk - default: "" - description: "Enter the pre-shared key for the IPsec Cable Engine" - type: string - label: "IPsec Pre-Shared Key" - group: "Configuration" - required: true -- variable: broker.server - type: string - default: "" - group: "Broker Configuration" - label: "Broker Server" - description: "Broker server to use (without the https://)" -- variable: broker.insecure - type: boolean - default: false - show_subquestion_if: false - group: "Broker Configuration" - label: "Insecure Broker" - description: "Connect to K8s broker without validating CA" - subquestions: - - variable: broker.ca - type: string - description: "Base64 encoded broker ca.crt" - label: "Broker CA encoded in base64" + - variable: defaultOperatorImage + default: true + description: "Use default Submariner operator image or specify a custom one" + label: Use default Submariner operator image + type: boolean + show_subquestion_if: false + group: "Container Images" + subquestions: + - variable: operator.image.repository + default: "quay.io/submariner/submariner-operator" + description: "Submariner Operator Image Repository" + type: string + label: Submariner Operator Image Repository + - variable: operator.image.tag + default: "0.10.1" + description: "Submariner Operator Image Tag" + type: string + label: Submariner Operator Image Tag + - variable: defaultSubmarinerImages + default: true + description: "Use default Submariner images or specify custom ones" + label: Use default Submariner images + type: boolean + show_subquestion_if: false + group: "Container images" + subquestions: + - variable: submariner.images.repository + default: "quay.io/submariner" + description: "Submariner Repository (base for all non-operator images)" + type: string + label: Submariner Repository + - variable: submariner.images.tag + default: "0.10.1" + description: "Submariner Images Tag (shared for all non-operator images)" + type: string + label: Submariner Images Tag + - variable: submariner.clusterId default: "" -- variable: broker.token - type: string - group: "Broker Configuration" - label: "Broker Token" - description: "Bearer token for broker" -- variable: broker.namespace - type: string - group: "Broker Configuration" - label: "Broker Namespace" - description: "Enter namespace to use on central broker" -- variable: submariner.clusterCidr - default: "" - description: "Enter the cluster CIDR (i.e. 10.42.0.0/16) for this cluster" - type: string - label: "Cluster CIDR" - group: "CIDR Configuration" - required: true -- variable: submariner.serviceCidr - default: "" - description: "Enter the service CIDR (i.e. 10.43.0.0/16) for this cluster" - type: string - label: "Service CIDR" - group: "CIDR Configuration" - required: true -- variable: submariner.serviceDiscovery - type: boolean - default: false - group: "Advanced Configuration" - description: "Enable multicluster service discovery" - label: "Service Discovery Enabled" -- variable: broker.globalnet - type: boolean - default: false - group: "Broker Configuration" - description: "Enable support for overlapping Cluster/Service CIDRs in connecting clusters" - label: "Globalnet Enabled" - subquestions: - - variable: submariner.globalCidr - default: "" - description: "Enter the globalnet CIDR (i.e. 169.254.1.0/24) for this cluster if using globalnet" + description: "Enter a unique cluster ID to identify this cluster" type: string - label: "Globalnet CIDR" + label: "Cluster ID" + group: "Configuration" + required: true + - variable: ipsec.psk + default: "" + description: "Enter the pre-shared key for the IPsec Cable Engine" + type: string + label: "IPsec Pre-Shared Key" + group: "Configuration" + required: true + - variable: broker.server + type: string + default: "" + group: "Broker Configuration" + label: "Broker Server" + description: "Broker server to use (without the https://)" + - variable: broker.insecure + type: boolean + default: false + show_subquestion_if: false + group: "Broker Configuration" + label: "Insecure Broker" + description: "Connect to K8s broker without validating CA" + subquestions: + - variable: broker.ca + type: string + description: "Base64 encoded broker ca.crt" + label: "Broker CA encoded in base64" + default: "" + - variable: broker.token + type: string + group: "Broker Configuration" + label: "Broker Token" + description: "Bearer token for broker" + - variable: broker.namespace + type: string + group: "Broker Configuration" + label: "Broker Namespace" + description: "Enter namespace to use on central broker" + - variable: submariner.clusterCidr + default: "" + description: "Enter the cluster CIDR (i.e. 10.42.0.0/16) for this cluster" + type: string + label: "Cluster CIDR" group: "CIDR Configuration" - required: false -- variable: submariner.natEnabled - type: boolean - default: false - group: "Advanced Configuration" - description: "If the gateway nodes for this cluster are behind 1:1 NAT, you should enable NAT" - label: "NAT Enabled" -- variable: submariner.debug - type: boolean - default: false - group: "Advanced Configuration" - description: "Enable submariner debug mode" - label: "Submariner Debug Enabled" -- variable: ipsec.debug - type: boolean - default: false - group: "Advanced Configuration" - description: "Enable Charon debug mode" - label: "Charon Enabled" -- variable: submariner.cableDriver - type: string - default: "" - group: "Advanced Configuration" - description: "Cable driver implementation" - label: "Cable Driver" -- variable: submariner.healthcheckEnabled - type: boolean - default: true - group: "Advanced Configuration" - description: "Disable Healthcheck" - label: "Healthcheck Disabled" + required: true + - variable: submariner.serviceCidr + default: "" + description: "Enter the service CIDR (i.e. 10.43.0.0/16) for this cluster" + type: string + label: "Service CIDR" + group: "CIDR Configuration" + required: true + - variable: submariner.serviceDiscovery + type: boolean + default: false + group: "Advanced Configuration" + description: "Enable multicluster service discovery" + label: "Service Discovery Enabled" + - variable: broker.globalnet + type: boolean + default: false + group: "Broker Configuration" + description: "Enable support for overlapping Cluster/Service CIDRs in connecting clusters" + label: "Globalnet Enabled" + subquestions: + - variable: submariner.globalCidr + default: "" + description: "Enter the globalnet CIDR (i.e. 169.254.1.0/24) for this cluster if using globalnet" + type: string + label: "Globalnet CIDR" + group: "CIDR Configuration" + required: false + - variable: submariner.natEnabled + type: boolean + default: false + group: "Advanced Configuration" + description: "If the gateway nodes for this cluster are behind 1:1 NAT, you should enable NAT" + label: "NAT Enabled" + - variable: submariner.debug + type: boolean + default: false + group: "Advanced Configuration" + description: "Enable submariner debug mode" + label: "Submariner Debug Enabled" + - variable: ipsec.debug + type: boolean + default: false + group: "Advanced Configuration" + description: "Enable Charon debug mode" + label: "Charon Enabled" + - variable: submariner.cableDriver + type: string + default: "" + group: "Advanced Configuration" + description: "Cable driver implementation" + label: "Cable Driver" + - variable: submariner.healthcheckEnabled + type: boolean + default: true + group: "Advanced Configuration" + description: "Disable Healthcheck" + label: "Healthcheck Disabled"