mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-21 22:00:35 +00:00
Compare commits
13
Commits
v0.14.7
...
v0.15.0-m1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa66071be6 | ||
|
|
e99de81c1d | ||
|
|
384508cf80 | ||
|
|
3f4af474fc | ||
|
|
2d0cc447f9 | ||
|
|
0efb8ad5b0 | ||
|
|
127e3a764f | ||
|
|
5179a1de02 | ||
|
|
ce27971323 | ||
|
|
73f0870d83 | ||
|
|
d276eb2be8 | ||
|
|
d80c6ea26c | ||
|
|
753cd4900f |
@@ -15,3 +15,8 @@ updates:
|
|||||||
target-branch: "release-0.13"
|
target-branch: "release-0.13"
|
||||||
schedule:
|
schedule:
|
||||||
interval: weekly
|
interval: weekly
|
||||||
|
- package-ecosystem: github-actions
|
||||||
|
directory: '/'
|
||||||
|
target-branch: "release-0.14"
|
||||||
|
schedule:
|
||||||
|
interval: weekly
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
- k8s_version: '1.24'
|
- k8s_version: '1.24'
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
|
||||||
|
|
||||||
- name: Run E2E deployment and tests
|
- name: Run E2E deployment and tests
|
||||||
uses: submariner-io/shipyard/gh-actions/e2e@devel
|
uses: submariner-io/shipyard/gh-actions/e2e@devel
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
|
||||||
|
|
||||||
- name: Run E2E deployment and tests
|
- name: Run E2E deployment and tests
|
||||||
uses: submariner-io/shipyard/gh-actions/e2e@devel
|
uses: submariner-io/shipyard/gh-actions/e2e@devel
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ jobs:
|
|||||||
lighthouse: ['', 'lighthouse']
|
lighthouse: ['', 'lighthouse']
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
|
||||||
|
|
||||||
- name: Run E2E deployment and tests
|
- name: Run E2E deployment and tests
|
||||||
uses: submariner-io/shipyard/gh-actions/e2e@devel
|
uses: submariner-io/shipyard/gh-actions/e2e@devel
|
||||||
|
|||||||
@@ -38,21 +38,24 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
|
||||||
|
|
||||||
- name: Set up Helm
|
- name: Set up Helm
|
||||||
uses: azure/setup-helm@b5b231a831f96336bbfeccc1329990f0005c5bb1
|
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78
|
||||||
with:
|
with:
|
||||||
version: v3.6.0
|
version: v3.6.0
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984
|
uses: actions/setup-python@5ccb29d8773c3f3f653e1705f474dfaa8a06a912
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Set up helm/chart-testing
|
- name: Set up helm/chart-testing
|
||||||
uses: helm/chart-testing-action@afea100a513515fbd68b0e72a7bb0ae34cb62aec
|
uses: helm/chart-testing-action@afea100a513515fbd68b0e72a7bb0ae34cb62aec
|
||||||
|
|
||||||
|
- name: Set up local helm repo
|
||||||
|
run: make local-helm-repo
|
||||||
|
|
||||||
- name: Run helm/chart-testing (lint)
|
- name: Run helm/chart-testing (lint)
|
||||||
run: ct lint --config ct.yaml
|
run: ct lint --config ct.yaml
|
||||||
|
|
||||||
@@ -61,7 +64,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Run gitlint
|
- name: Run gitlint
|
||||||
@@ -72,7 +75,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
|
||||||
|
|
||||||
- name: Run helm-docs and verify docs are up-to-date
|
- name: Run helm-docs and verify docs are up-to-date
|
||||||
run: make helm-docs
|
run: make helm-docs
|
||||||
@@ -82,10 +85,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
|
||||||
|
|
||||||
- name: Run markdown-link-check
|
- name: Run markdown-link-check
|
||||||
uses: gaurav-nelson/github-action-markdown-link-check@228fbf4ffb2a86a65314866e9b2322b519fd885f
|
uses: gaurav-nelson/github-action-markdown-link-check@4d97ad89bbb0de4be573a9d7a2fc0ce900afc519
|
||||||
with:
|
with:
|
||||||
config-file: ".markdownlinkcheck.json"
|
config-file: ".markdownlinkcheck.json"
|
||||||
check-modified-files-only: "yes"
|
check-modified-files-only: "yes"
|
||||||
@@ -96,7 +99,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
|
||||||
- name: Run markdownlint
|
- name: Run markdownlint
|
||||||
run: make markdownlint
|
run: make markdownlint
|
||||||
|
|
||||||
@@ -105,6 +108,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
|
||||||
- name: Run yamllint
|
- name: Run yamllint
|
||||||
run: make yamllint
|
run: make yamllint
|
||||||
|
|||||||
@@ -16,10 +16,10 @@ jobs:
|
|||||||
issues: write
|
issues: write
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
|
||||||
|
|
||||||
- name: Run markdown-link-check
|
- name: Run markdown-link-check
|
||||||
uses: gaurav-nelson/github-action-markdown-link-check@228fbf4ffb2a86a65314866e9b2322b519fd885f
|
uses: gaurav-nelson/github-action-markdown-link-check@4d97ad89bbb0de4be573a9d7a2fc0ce900afc519
|
||||||
with:
|
with:
|
||||||
config-file: ".markdownlinkcheck.json"
|
config-file: ".markdownlinkcheck.json"
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
|||||||
@@ -4,3 +4,4 @@
|
|||||||
*.tgz
|
*.tgz
|
||||||
Makefile.dapper
|
Makefile.dapper
|
||||||
Dockerfile.*
|
Dockerfile.*
|
||||||
|
helm_repo
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
BASE_BRANCH ?= devel
|
BASE_BRANCH ?= devel
|
||||||
export BASE_BRANCH
|
export BASE_BRANCH
|
||||||
export HELM_REPO_LOCATION=.
|
export HELM_REPO_LOCATION=./helm_repo
|
||||||
|
|
||||||
ifneq (,$(DAPPER_HOST_ARCH))
|
ifneq (,$(DAPPER_HOST_ARCH))
|
||||||
|
|
||||||
@@ -17,7 +17,7 @@ endif
|
|||||||
export DEPLOYTOOL = helm
|
export DEPLOYTOOL = helm
|
||||||
GH_URL=https://submariner-io.github.io/submariner-charts/charts
|
GH_URL=https://submariner-io.github.io/submariner-charts/charts
|
||||||
CHARTS_DIR=charts
|
CHARTS_DIR=charts
|
||||||
CHARTS_VERSION=0.14.0-m1
|
CHARTS_VERSION=0.14.0
|
||||||
HELM_DOCS_VERSION=0.15.0
|
HELM_DOCS_VERSION=0.15.0
|
||||||
REPO_URL=$(shell git config remote.origin.url)
|
REPO_URL=$(shell git config remote.origin.url)
|
||||||
SUBCTL_VERSION=$(CHARTS_VERSION)
|
SUBCTL_VERSION=$(CHARTS_VERSION)
|
||||||
@@ -25,11 +25,20 @@ export SUBCTL_VERSION
|
|||||||
|
|
||||||
# Targets to make
|
# Targets to make
|
||||||
|
|
||||||
e2e: E2E_ARGS=cluster1 cluster2
|
CHART_PACKAGES := submariner-k8s-broker-$(CHARTS_VERSION).tgz submariner-operator-$(CHARTS_VERSION).tgz
|
||||||
|
|
||||||
|
local-helm-repo: $(CHART_PACKAGES)
|
||||||
|
mkdir -p $(HELM_REPO_LOCATION)
|
||||||
|
for archive in $^; do \
|
||||||
|
tar xzf $$archive -C $(HELM_REPO_LOCATION); \
|
||||||
|
done
|
||||||
|
|
||||||
|
e2e: local-helm-repo
|
||||||
|
$(SCRIPTS_DIR)/e2e.sh
|
||||||
|
|
||||||
%.tgz:
|
%.tgz:
|
||||||
helm dep update $(subst -$(CHARTS_VERSION),,$(basename $(@F)))
|
helm dep update $(subst -$(CHARTS_VERSION),,$(basename $(@F)))
|
||||||
helm package --version $(CHARTS_VERSION) $(subst -$(CHARTS_VERSION),,$(basename $(@F)))
|
helm package --version $(CHARTS_VERSION) --app-version $(CHARTS_VERSION) $(subst -$(CHARTS_VERSION),,$(basename $(@F)))
|
||||||
|
|
||||||
helm-docs:
|
helm-docs:
|
||||||
# Avoid polluting repo with helm-docs' README/LICENSE or other files in the release archive
|
# Avoid polluting repo with helm-docs' README/LICENSE or other files in the release archive
|
||||||
@@ -45,7 +54,7 @@ helm-docs:
|
|||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
release: submariner-k8s-broker-$(CHARTS_VERSION).tgz submariner-operator-$(CHARTS_VERSION).tgz
|
release: $(CHART_PACKAGES)
|
||||||
git checkout gh-pages
|
git checkout gh-pages
|
||||||
mv *.tgz $(CHARTS_DIR)
|
mv *.tgz $(CHARTS_DIR)
|
||||||
if [ -f $(CHARTS_DIR)/index.yaml ]; then \
|
if [ -f $(CHARTS_DIR)/index.yaml ]; then \
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
charts:
|
charts:
|
||||||
- submariner-operator
|
- ./helm_repo/submariner-operator
|
||||||
- submariner-k8s-broker
|
- ./helm_repo/submariner-k8s-broker
|
||||||
# Tests that maintainer name is valid GitHub account, which isn't what we want
|
# Tests that maintainer name is valid GitHub account, which isn't what we want
|
||||||
# See: https://github.com/helm/chart-testing/issues/192
|
# See: https://github.com/helm/chart-testing/issues/192
|
||||||
validate-maintainers: false
|
validate-maintainers: false
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
---
|
---
|
||||||
name: submariner-k8s-broker
|
name: submariner-k8s-broker
|
||||||
version: 0.14.0-m1
|
version: 0.0.0
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 0.14.0-m1
|
|
||||||
description: Submariner Kubernetes Broker
|
description: Submariner Kubernetes Broker
|
||||||
keywords:
|
keywords:
|
||||||
home: https://submariner-io.github.io/
|
home: https://submariner-io.github.io/
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
---
|
---
|
||||||
name: submariner-operator
|
name: submariner-operator
|
||||||
version: 0.14.0-m1
|
version: 0.0.0
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 0.14.0-m1
|
|
||||||
description: Submariner enables direct networking between Pods and Services in different Kubernetes clusters
|
description: Submariner enables direct networking between Pods and Services in different Kubernetes clusters
|
||||||
keywords:
|
keywords:
|
||||||
home: https://submariner-io.github.io/
|
home: https://submariner-io.github.io/
|
||||||
|
|||||||
@@ -24,8 +24,6 @@ Submariner enables direct networking between Pods and Services in different Kube
|
|||||||
| broker.namespace | string | `"xyz"` | |
|
| broker.namespace | string | `"xyz"` | |
|
||||||
| broker.server | string | `"example.k8s.apiserver"` | |
|
| broker.server | string | `"example.k8s.apiserver"` | |
|
||||||
| broker.token | string | `"test"` | |
|
| broker.token | string | `"test"` | |
|
||||||
| gateway.image.repository | string | `"quay.io/submariner/submariner-gateway"` | |
|
|
||||||
| gateway.image.tag | string | `"0.14.0"` | |
|
|
||||||
| ipsec.debug | bool | `false` | |
|
| ipsec.debug | bool | `false` | |
|
||||||
| ipsec.forceUDPEncaps | bool | `false` | |
|
| ipsec.forceUDPEncaps | bool | `false` | |
|
||||||
| ipsec.ikePort | int | `500` | |
|
| ipsec.ikePort | int | `500` | |
|
||||||
|
|||||||
@@ -1,7 +1,3 @@
|
|||||||
Submariner is now installed.
|
Submariner is now installed.
|
||||||
|
|
||||||
{{- if .Values.gateway.nodeSelectorEnabled }}
|
By default, Submariner runs with 1 replica. If you have more than one Gateway host, you can scale Submariner to N replicas, and the other Submariner pods will simply join the leader election pool.
|
||||||
If you haven't done so yet, please label a node as `submariner.io/gateway=true` to elect it for running Submariner.
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
By default, Submariner runs with 1 replica. If you have more than one Gateway host, you can scale Submariner to N replicas, and the other Submariner pods will simply join the leader election pool.
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
natEnabled: {{ .Values.submariner.natEnabled }}
|
natEnabled: {{ .Values.submariner.natEnabled }}
|
||||||
repository: {{ .Values.submariner.images.repository }}
|
repository: {{ .Values.submariner.images.repository }}
|
||||||
version: {{ .Values.submariner.images.tag }}
|
version: {{ default .Chart.AppVersion .Values.submariner.images.tag }}
|
||||||
{{- with .Values.images }}
|
{{- with .Values.images }}
|
||||||
{{- if . }}
|
{{- if . }}
|
||||||
imageOverrides:
|
imageOverrides:
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ submariner:
|
|||||||
coreDNSCustomConfig: {}
|
coreDNSCustomConfig: {}
|
||||||
images:
|
images:
|
||||||
repository: quay.io/submariner
|
repository: quay.io/submariner
|
||||||
tag: "0.14.0-m1"
|
tag: ""
|
||||||
broker:
|
broker:
|
||||||
server: example.k8s.apiserver
|
server: example.k8s.apiserver
|
||||||
token: test
|
token: test
|
||||||
@@ -39,15 +39,11 @@ leadership:
|
|||||||
operator:
|
operator:
|
||||||
image:
|
image:
|
||||||
repository: quay.io/submariner/submariner-operator
|
repository: quay.io/submariner/submariner-operator
|
||||||
tag: "0.14.0-m1"
|
tag: ""
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
resources: {}
|
resources: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
affinity: {}
|
affinity: {}
|
||||||
gateway:
|
|
||||||
image:
|
|
||||||
repository: quay.io/submariner/submariner-gateway
|
|
||||||
tag: "0.14.0-m1"
|
|
||||||
serviceAccounts:
|
serviceAccounts:
|
||||||
operator:
|
operator:
|
||||||
create: true
|
create: true
|
||||||
|
|||||||
Reference in New Issue
Block a user