mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-21 22:00:35 +00:00
Compare commits
11
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d91eae8312 | ||
|
|
da4a2709f1 | ||
|
|
9fa73fb79a | ||
|
|
06379643b8 | ||
|
|
629e48f944 | ||
|
|
5caa6c7997 | ||
|
|
4161982f7b | ||
|
|
e4a2e0374b | ||
|
|
20b0c70a61 | ||
|
|
0e639cb9a3 | ||
|
|
c15111b329 |
@@ -1,12 +0,0 @@
|
|||||||
---
|
|
||||||
version: 2
|
|
||||||
updates:
|
|
||||||
- package-ecosystem: github-actions
|
|
||||||
directory: '/'
|
|
||||||
schedule:
|
|
||||||
interval: daily
|
|
||||||
- package-ecosystem: github-actions
|
|
||||||
directory: '/'
|
|
||||||
target-branch: "release-0.12"
|
|
||||||
schedule:
|
|
||||||
interval: daily
|
|
||||||
@@ -9,6 +9,6 @@ jobs:
|
|||||||
name: PR targets branch
|
name: PR targets branch
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check that the PR targets release-0.13
|
- name: Check that the PR targets release-0.12
|
||||||
if: ${{ github.base_ref != 'release-0.13' }}
|
if: ${{ github.base_ref != 'release-0.12' }}
|
||||||
run: exit 1
|
run: exit 1
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ on:
|
|||||||
- reopened
|
- reopened
|
||||||
- synchronize
|
- synchronize
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0/6 * * *' # every 6 hours
|
- cron: '0 0/6 * * *' # every 6 hours
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ jobs:
|
|||||||
k8s_version: ['1.23']
|
k8s_version: ['1.23']
|
||||||
lighthouse: ['', 'lighthouse']
|
lighthouse: ['', 'lighthouse']
|
||||||
include:
|
include:
|
||||||
|
- k8s_version: '1.20'
|
||||||
- k8s_version: '1.21'
|
- k8s_version: '1.21'
|
||||||
- k8s_version: '1.22'
|
- k8s_version: '1.22'
|
||||||
steps:
|
steps:
|
||||||
@@ -26,11 +27,11 @@ jobs:
|
|||||||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
||||||
|
|
||||||
- name: Run E2E deployment and tests
|
- name: Run E2E deployment and tests
|
||||||
uses: submariner-io/shipyard/gh-actions/e2e@release-0.13
|
uses: submariner-io/shipyard/gh-actions/e2e@release-0.12
|
||||||
with:
|
with:
|
||||||
k8s_version: ${{ matrix.k8s_version }}
|
k8s_version: ${{ matrix.k8s_version }}
|
||||||
using: ${{ matrix.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }}
|
using: ${{ matrix.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }}
|
||||||
|
|
||||||
- name: Post mortem
|
- name: Post mortem
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: submariner-io/shipyard/gh-actions/post-mortem@release-0.13
|
uses: submariner-io/shipyard/gh-actions/post-mortem@release-0.12
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ jobs:
|
|||||||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
||||||
|
|
||||||
- name: Run E2E deployment and tests
|
- name: Run E2E deployment and tests
|
||||||
uses: submariner-io/shipyard/gh-actions/e2e@release-0.13
|
uses: submariner-io/shipyard/gh-actions/e2e@release-0.12
|
||||||
|
|
||||||
- name: Post mortem
|
- name: Post mortem
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: submariner-io/shipyard/gh-actions/post-mortem@release-0.13
|
uses: submariner-io/shipyard/gh-actions/post-mortem@release-0.12
|
||||||
|
|||||||
@@ -22,10 +22,10 @@ jobs:
|
|||||||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
||||||
|
|
||||||
- name: Run E2E deployment and tests
|
- name: Run E2E deployment and tests
|
||||||
uses: submariner-io/shipyard/gh-actions/e2e@release-0.13
|
uses: submariner-io/shipyard/gh-actions/e2e@release-0.12
|
||||||
with:
|
with:
|
||||||
using: ${{ matrix.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }}
|
using: ${{ matrix.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }}
|
||||||
|
|
||||||
- name: Post mortem
|
- name: Post mortem
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: submariner-io/shipyard/gh-actions/post-mortem@release-0.13
|
uses: submariner-io/shipyard/gh-actions/post-mortem@release-0.12
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ jobs:
|
|||||||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
||||||
|
|
||||||
- name: Set up Helm
|
- name: Set up Helm
|
||||||
uses: azure/setup-helm@217bf70cbd2e930ba2e81ba7e1de2f7faecc42ba
|
uses: azure/setup-helm@18bc76811624f360dbd7f18c2d4ecb32c7b87bab
|
||||||
with:
|
with:
|
||||||
version: v3.6.0
|
version: v3.6.0
|
||||||
|
|
||||||
@@ -105,4 +105,8 @@ jobs:
|
|||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
||||||
- name: Run yamllint
|
- name: Run yamllint
|
||||||
run: make yamllint
|
uses: ibiqlik/action-yamllint@81e214fd484713882ce4237cb7cd264d550856cf
|
||||||
|
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
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ name: Release Charts
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- release-0.13
|
- release-0.12
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
{
|
{
|
||||||
"ignorePatterns": [
|
"ignorePatterns": [
|
||||||
{
|
|
||||||
"pattern": "^https://docs.github.com"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"pattern": "^https://github.com/\\S+/\\S+/(issues|pull)/[0-9]+"
|
"pattern": "^https://github.com/\\S+/\\S+/(issues|pull)/[0-9]+"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
---
|
|
||||||
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: 140
|
max: 150
|
||||||
# Allow standard GHA syntax for "on: *"
|
braces:
|
||||||
truthy:
|
min-spaces-inside: 0
|
||||||
ignore: '.github/workflows/*.yml'
|
max-spaces-inside: 0
|
||||||
|
brackets:
|
||||||
ignore: |
|
min-spaces-inside: 0
|
||||||
/submariner-k8s-broker/crds
|
max-spaces-inside: 0
|
||||||
/submariner-operator/crds
|
indentation:
|
||||||
/submariner-k8s-broker/templates
|
indent-sequences: consistent
|
||||||
/submariner-operator/templates
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
BASE_BRANCH ?= release-0.13
|
BASE_BRANCH ?= release-0.12
|
||||||
export BASE_BRANCH
|
export BASE_BRANCH
|
||||||
|
|
||||||
ifneq (,$(DAPPER_HOST_ARCH))
|
ifneq (,$(DAPPER_HOST_ARCH))
|
||||||
|
|||||||
@@ -60,4 +60,4 @@ working correctly.
|
|||||||
[Helm]: https://helm.sh/docs/using_helm/#installing-helm
|
[Helm]: https://helm.sh/docs/using_helm/#installing-helm
|
||||||
[Docker]: https://docs.docker.com/install/
|
[Docker]: https://docs.docker.com/install/
|
||||||
[Podman]: https://podman.io/getting-started/installation
|
[Podman]: https://podman.io/getting-started/installation
|
||||||
[Create a fork]: https://docs.github.com/en/get-started/quickstart/fork-a-repo
|
[Create a fork]: https://help.github.com/en/articles/fork-a-repo
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
---
|
|
||||||
charts:
|
charts:
|
||||||
- submariner-operator
|
- submariner-operator
|
||||||
- submariner-k8s-broker
|
- submariner-k8s-broker
|
||||||
|
|||||||
@@ -1,20 +1,19 @@
|
|||||||
---
|
|
||||||
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"
|
||||||
description: "Create the service account for the Submariner client"
|
description: "Create the service account for the Submariner client"
|
||||||
label: "Submariner Service Account Creation Enabled"
|
label: "Submariner Service Account Creation Enabled"
|
||||||
+139
-140
@@ -1,145 +1,144 @@
|
|||||||
---
|
|
||||||
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
|
||||||
type: boolean
|
type: boolean
|
||||||
show_subquestion_if: false
|
show_subquestion_if: false
|
||||||
group: "Container Images"
|
group: "Container Images"
|
||||||
subquestions:
|
subquestions:
|
||||||
- variable: operator.image.repository
|
- variable: operator.image.repository
|
||||||
default: "quay.io/submariner/submariner-operator"
|
default: "quay.io/submariner/submariner-operator"
|
||||||
description: "Submariner Operator Image Repository"
|
description: "Submariner Operator Image Repository"
|
||||||
type: string
|
type: string
|
||||||
label: Submariner Operator Image Repository
|
label: Submariner Operator Image Repository
|
||||||
- variable: operator.image.tag
|
- variable: operator.image.tag
|
||||||
default: "0.10.1"
|
default: "0.10.1"
|
||||||
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
|
||||||
type: boolean
|
type: boolean
|
||||||
show_subquestion_if: false
|
show_subquestion_if: false
|
||||||
group: "Container images"
|
group: "Container images"
|
||||||
subquestions:
|
subquestions:
|
||||||
- variable: submariner.images.repository
|
- variable: submariner.images.repository
|
||||||
default: "quay.io/submariner"
|
default: "quay.io/submariner"
|
||||||
description: "Submariner Repository (base for all non-operator images)"
|
description: "Submariner Repository (base for all non-operator images)"
|
||||||
type: string
|
type: string
|
||||||
label: Submariner Repository
|
label: Submariner Repository
|
||||||
- variable: submariner.images.tag
|
- variable: submariner.images.tag
|
||||||
default: "0.10.1"
|
default: "0.10.1"
|
||||||
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: ""
|
||||||
|
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"
|
||||||
default: ""
|
default: ""
|
||||||
description: "Enter a unique cluster ID to identify this cluster"
|
- variable: broker.token
|
||||||
type: string
|
type: string
|
||||||
label: "Cluster ID"
|
group: "Broker Configuration"
|
||||||
group: "Configuration"
|
label: "Broker Token"
|
||||||
required: true
|
description: "Bearer token for broker"
|
||||||
- variable: ipsec.psk
|
- 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: ""
|
default: ""
|
||||||
description: "Enter the pre-shared key for the IPsec Cable Engine"
|
description: "Enter the globalnet CIDR (i.e. 169.254.1.0/24) for this cluster if using globalnet"
|
||||||
type: string
|
type: string
|
||||||
label: "IPsec Pre-Shared Key"
|
label: "Globalnet CIDR"
|
||||||
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"
|
group: "CIDR Configuration"
|
||||||
required: true
|
required: false
|
||||||
- variable: submariner.serviceCidr
|
- variable: submariner.natEnabled
|
||||||
default: ""
|
type: boolean
|
||||||
description: "Enter the service CIDR (i.e. 10.43.0.0/16) for this cluster"
|
default: false
|
||||||
type: string
|
group: "Advanced Configuration"
|
||||||
label: "Service CIDR"
|
description: "If the gateway nodes for this cluster are behind 1:1 NAT, you should enable NAT"
|
||||||
group: "CIDR Configuration"
|
label: "NAT Enabled"
|
||||||
required: true
|
- variable: submariner.debug
|
||||||
- variable: submariner.serviceDiscovery
|
type: boolean
|
||||||
type: boolean
|
default: false
|
||||||
default: false
|
group: "Advanced Configuration"
|
||||||
group: "Advanced Configuration"
|
description: "Enable submariner debug mode"
|
||||||
description: "Enable multicluster service discovery"
|
label: "Submariner Debug Enabled"
|
||||||
label: "Service Discovery Enabled"
|
- variable: ipsec.debug
|
||||||
- variable: broker.globalnet
|
type: boolean
|
||||||
type: boolean
|
default: false
|
||||||
default: false
|
group: "Advanced Configuration"
|
||||||
group: "Broker Configuration"
|
description: "Enable Charon debug mode"
|
||||||
description: "Enable support for overlapping Cluster/Service CIDRs in connecting clusters"
|
label: "Charon Enabled"
|
||||||
label: "Globalnet Enabled"
|
- variable: submariner.cableDriver
|
||||||
subquestions:
|
type: string
|
||||||
- variable: submariner.globalCidr
|
default: ""
|
||||||
default: ""
|
group: "Advanced Configuration"
|
||||||
description: "Enter the globalnet CIDR (i.e. 169.254.1.0/24) for this cluster if using globalnet"
|
description: "Cable driver implementation"
|
||||||
type: string
|
label: "Cable Driver"
|
||||||
label: "Globalnet CIDR"
|
- variable: submariner.healthcheckEnabled
|
||||||
group: "CIDR Configuration"
|
type: boolean
|
||||||
required: false
|
default: true
|
||||||
- variable: submariner.natEnabled
|
group: "Advanced Configuration"
|
||||||
type: boolean
|
description: "Disable Healthcheck"
|
||||||
default: false
|
label: "Healthcheck Disabled"
|
||||||
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"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user