mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-21 20:50:35 +00:00
Compare commits
32
Commits
v0.9.0
...
v0.11.0-rc1
@@ -23,11 +23,9 @@ Submariner Owners: https://github.com/orgs/submariner-io/teams/submariner-core
|
|||||||
**Anything else we need to know?**:
|
**Anything else we need to know?**:
|
||||||
|
|
||||||
**Environment**:
|
**Environment**:
|
||||||
- Submariner version (use `subctl version`):
|
- Diagnose information (use `subctl diagnose all`):
|
||||||
- Kubernetes version (use `kubectl version`):
|
- Gather information (use `subctl gather`):
|
||||||
- Cloud provider or hardware configuration:
|
- Cloud provider or hardware configuration:
|
||||||
- OS (e.g: `cat /etc/os-release`):
|
|
||||||
- Kernel (e.g. `uname -a`):
|
|
||||||
- Install tools:
|
- Install tools:
|
||||||
- Network plugin and version (if this is a network-related bug):
|
- Network plugin and version (if this is a network-related bug):
|
||||||
- Others:
|
- Others:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ labels: support
|
|||||||
---
|
---
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
GitHub may not the right place for support requests.
|
GitHub may not be the right place for support requests.
|
||||||
|
|
||||||
You can also post your question on the [Submariner
|
You can also post your question on the [Submariner
|
||||||
Slack](https://kubernetes.slack.com/archives/C010RJV694M) or the Submariner
|
Slack](https://kubernetes.slack.com/archives/C010RJV694M) or the Submariner
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<!-- Thanks for sending a pull request! Here are some tips for you:
|
||||||
|
|
||||||
|
1. If this is your first time, please read our developer guide: https://submariner.io/development/
|
||||||
|
2. Ensure you have added the appropriate tests for your PR: https://submariner.io/development/code-review/#test-new-functionality
|
||||||
|
3. Read the code review guide to ease the review process: https://submariner.io/development/code-review/
|
||||||
|
4. If the PR is unfinished, mark it as a draft: https://submariner.io/development/code-review/#mark-work-in-progress-prs-as-drafts
|
||||||
|
5. If you are using CI to debug, use your private fork: https://submariner.io/development/code-review/#use-private-forks-for-debugging-prs-by-running-ci
|
||||||
|
6. Add labels to the PR as appropriate.
|
||||||
|
|
||||||
|
This template is based on the K8s/K8s template:
|
||||||
|
|
||||||
|
https://github.com/kubernetes/kubernetes/blob/master/.github/PULL_REQUEST_TEMPLATE.md
|
||||||
|
-->
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
# Configuration for probot-stale - https://github.com/probot/stale
|
# Configuration for probot-stale - https://github.com/probot/stale
|
||||||
|
|
||||||
# Number of days of inactivity before an Issue becomes stale (pull request is overridden later)
|
# Number of days of inactivity before an Issue becomes stale (pull request is overridden later)
|
||||||
daysUntilStale: 60
|
daysUntilStale: 120
|
||||||
|
|
||||||
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
|
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
|
||||||
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
|
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
|
||||||
|
|||||||
@@ -0,0 +1,39 @@
|
|||||||
|
---
|
||||||
|
name: PR Dependencies
|
||||||
|
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- closed
|
||||||
|
- reopened
|
||||||
|
- synchronize
|
||||||
|
pull_request_target:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- closed
|
||||||
|
- reopened
|
||||||
|
- synchronize
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0/6 * * *' # every 6 hours
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
name: Check Dependencies
|
||||||
|
if: github.repository_owner == 'submariner-io'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: z0al/dependent-issues@70a1b2d4ee1cdc743af33498bd0204123953a887
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
# The label to use to mark dependent issues
|
||||||
|
label: dependent
|
||||||
|
|
||||||
|
# Enable checking for dependencies in issues.
|
||||||
|
check_issues: on
|
||||||
|
|
||||||
|
# A comma-separated list of keywords to mark dependency.
|
||||||
|
keywords: depends on, Depends on
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
name: End to End Full
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [labeled, opened, synchronize, reopened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
e2e:
|
||||||
|
name: E2E
|
||||||
|
if: contains(github.event.pull_request.labels.*.name, 'ready-to-test')
|
||||||
|
timeout-minutes: 45
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
cable_driver: ['libreswan', 'wireguard', 'vxlan']
|
||||||
|
globalnet: ['', 'globalnet']
|
||||||
|
k8s_version: ['1.17']
|
||||||
|
lighthouse: ['', 'lighthouse']
|
||||||
|
include:
|
||||||
|
- k8s_version: '1.18'
|
||||||
|
- k8s_version: '1.19'
|
||||||
|
- k8s_version: '1.20'
|
||||||
|
steps:
|
||||||
|
- name: Check out the repository
|
||||||
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
|
|
||||||
|
- name: Run E2E deployment and tests
|
||||||
|
uses: submariner-io/shipyard/gh-actions/e2e@devel
|
||||||
|
with:
|
||||||
|
k8s_version: ${{ matrix.k8s_version }}
|
||||||
|
using: ${{ matrix.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }}
|
||||||
|
|
||||||
|
- name: Post mortem
|
||||||
|
if: failure()
|
||||||
|
uses: submariner-io/shipyard/gh-actions/post-mortem@devel
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
name: End to End Tests
|
name: End to End Default
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
@@ -9,27 +9,12 @@ jobs:
|
|||||||
name: E2E
|
name: E2E
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
cable_driver: ['libreswan', 'wireguard']
|
|
||||||
globalnet: ['', 'globalnet']
|
|
||||||
k8s_version: ['1.17.17']
|
|
||||||
lighthouse: ['', 'lighthouse']
|
|
||||||
include:
|
|
||||||
# Recentness of K8s versions are limited by kindest/node image releases
|
|
||||||
- k8s_version: 1.18.15
|
|
||||||
- k8s_version: 1.19.7
|
|
||||||
- k8s_version: 1.20.2
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
|
|
||||||
- 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
|
||||||
with:
|
|
||||||
k8s_version: ${{ matrix.k8s_version }}
|
|
||||||
using: ${{ matrix.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }}
|
|
||||||
|
|
||||||
- name: Post mortem
|
- name: Post mortem
|
||||||
if: failure()
|
if: failure()
|
||||||
|
|||||||
@@ -8,17 +8,18 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
e2e:
|
e2e:
|
||||||
name: E2E
|
name: E2E
|
||||||
|
if: github.repository_owner == 'submariner-io'
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
cable_driver: ['libreswan', 'wireguard']
|
cable_driver: ['libreswan', 'wireguard', 'vxlan']
|
||||||
globalnet: ['', 'globalnet']
|
globalnet: ['', 'globalnet']
|
||||||
lighthouse: ['', 'lighthouse']
|
lighthouse: ['', 'lighthouse']
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
|
|
||||||
- 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
|
||||||
|
|||||||
@@ -5,26 +5,77 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
apply-suggestions-commits:
|
||||||
|
name: 'No "Apply suggestions from code review" Commits'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Get PR commits
|
||||||
|
id: 'get-pr-commits'
|
||||||
|
uses: tim-actions/get-pr-commits@55b867b9b28954e6f5c1a0fe2f729dc926c306d0
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: 'Verify no "Apply suggestions from code review" commits'
|
||||||
|
uses: tim-actions/commit-message-checker-with-regex@d6d9770051dd6460679d1cab1dcaa8cffc5c2bbd
|
||||||
|
with:
|
||||||
|
commits: ${{ steps.get-pr-commits.outputs.commits }}
|
||||||
|
pattern: '^(?!.*(apply suggestions from code review))'
|
||||||
|
flags: 'i'
|
||||||
|
error: 'Commits addressing code review feedback should typically be squashed into the commits under review'
|
||||||
|
|
||||||
|
chart-testing:
|
||||||
|
name: Helm Chart Linting
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out the repository
|
||||||
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
|
|
||||||
|
- name: Set up Helm
|
||||||
|
uses: azure/setup-helm@18bc76811624f360dbd7f18c2d4ecb32c7b87bab
|
||||||
|
with:
|
||||||
|
version: v3.6.0
|
||||||
|
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
|
||||||
|
- name: Set up helm/chart-testing
|
||||||
|
uses: helm/chart-testing-action@5f16c27cf7a4fa9c776ff73734df3909b2b65127
|
||||||
|
|
||||||
|
- name: Run helm/chart-testing (lint)
|
||||||
|
run: ct lint --config ct.yaml
|
||||||
|
|
||||||
gitlint:
|
gitlint:
|
||||||
name: Commit Message(s)
|
name: Commit Message(s)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Run gitlint
|
- name: Run gitlint
|
||||||
run: make gitlint
|
run: make gitlint
|
||||||
|
|
||||||
|
helm-docs:
|
||||||
|
name: Helm Docs Generation
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out the repository
|
||||||
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
|
|
||||||
|
- name: Run helm-docs and verify docs are up-to-date
|
||||||
|
run: make helm-docs
|
||||||
|
|
||||||
markdown-link-check:
|
markdown-link-check:
|
||||||
name: Markdown Links (modified files)
|
name: Markdown Links (modified files)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
|
|
||||||
- name: Run markdown-link-check
|
- name: Run markdown-link-check
|
||||||
uses: gaurav-nelson/github-action-markdown-link-check@v1
|
uses: gaurav-nelson/github-action-markdown-link-check@9710f0fec812ce0a3b98bef4c9d842fc1f39d976
|
||||||
with:
|
with:
|
||||||
config-file: ".markdownlinkcheck.json"
|
config-file: ".markdownlinkcheck.json"
|
||||||
check-modified-files-only: "yes"
|
check-modified-files-only: "yes"
|
||||||
@@ -35,7 +86,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@v2
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
- name: Run markdownlint
|
- name: Run markdownlint
|
||||||
run: make markdownlint
|
run: make markdownlint
|
||||||
|
|
||||||
@@ -44,9 +95,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@v2
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
- name: Run yamllint
|
- name: Run yamllint
|
||||||
uses: ibiqlik/action-yamllint@v1
|
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
|
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
|
||||||
|
|||||||
@@ -8,19 +8,20 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
markdown-link-check-periodic:
|
markdown-link-check-periodic:
|
||||||
name: Markdown Links (all files)
|
name: Markdown Links (all files)
|
||||||
|
if: github.repository_owner == 'submariner-io'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
|
|
||||||
- name: Run markdown-link-check
|
- name: Run markdown-link-check
|
||||||
uses: gaurav-nelson/github-action-markdown-link-check@v1
|
uses: gaurav-nelson/github-action-markdown-link-check@9710f0fec812ce0a3b98bef4c9d842fc1f39d976
|
||||||
with:
|
with:
|
||||||
config-file: ".markdownlinkcheck.json"
|
config-file: ".markdownlinkcheck.json"
|
||||||
|
|
||||||
- name: Raise an Issue to report broken links
|
- name: Raise an Issue to report broken links
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: peter-evans/create-issue-from-file@v2.3.2
|
uses: peter-evans/create-issue-from-file@97e6f902a416aac38834e23fa52e166aad0437d2
|
||||||
with:
|
with:
|
||||||
title: Broken link detected by CI
|
title: Broken link detected by CI
|
||||||
content-filepath: .github/ISSUE_TEMPLATE/broken-link.md
|
content-filepath: .github/ISSUE_TEMPLATE/broken-link.md
|
||||||
|
|||||||
@@ -9,10 +9,11 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
name: Release
|
name: Release
|
||||||
|
if: github.repository_owner == 'submariner-io'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
[general]
|
|
||||||
# body-is-missing: Allow commit messages with only a title
|
|
||||||
# body-min-length: Allow short body lines, like "Relates-to: #issue"
|
|
||||||
ignore=body-is-missing,body-min-length
|
|
||||||
|
|
||||||
[ignore-by-body]
|
|
||||||
# Dependabot doesn't follow our conventions, unfortunately
|
|
||||||
regex=^Signed-off-by: dependabot\[bot\](.*)
|
|
||||||
ignore=all
|
|
||||||
@@ -5,6 +5,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pattern": "^http://localhost:"
|
"pattern": "^http://localhost:"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pattern": "^https://submariner-io.github.io/submariner-charts/charts"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,3 +10,7 @@ line-length:
|
|||||||
no-inline-html:
|
no-inline-html:
|
||||||
allowed_elements:
|
allowed_elements:
|
||||||
- span
|
- span
|
||||||
|
|
||||||
|
# Temporary while helm-docs has a bug where maintainer URLs are used raw in MD
|
||||||
|
# Waiting on: https://github.com/norwoodj/helm-docs/pull/102
|
||||||
|
no-bare-urls: false
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
label-approved:
|
||||||
|
approvals: 2
|
||||||
|
label: ready-to-test
|
||||||
+1
-1
@@ -1 +1 @@
|
|||||||
* @mangelajo @Oats87 @skitt @tpantelis
|
* @mangelajo @Oats87 @skitt @sridhargaddam @tpantelis
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ export DEPLOY_ARGS
|
|||||||
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.7.0
|
CHARTS_VERSION=0.7.0
|
||||||
|
HELM_DOCS_VERSION=0.15.0
|
||||||
REPO_URL=$(shell git config remote.origin.url)
|
REPO_URL=$(shell git config remote.origin.url)
|
||||||
|
|
||||||
# Process extra flags from the `using=a,b,c` optional flag
|
# Process extra flags from the `using=a,b,c` optional flag
|
||||||
@@ -42,6 +43,20 @@ e2e: E2E_ARGS=cluster1 cluster2
|
|||||||
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) $(subst -$(CHARTS_VERSION),,$(basename $(@F)))
|
||||||
|
|
||||||
|
helm-docs:
|
||||||
|
# Avoid polluting repo with helm-docs' README/LICENSE or other files in the release archive
|
||||||
|
cd /tmp && \
|
||||||
|
curl -sL https://github.com/norwoodj/helm-docs/releases/download/v$(HELM_DOCS_VERSION)/helm-docs_$(HELM_DOCS_VERSION)_Linux_x86_64.tar.gz | tar zx && \
|
||||||
|
cd -
|
||||||
|
/tmp/helm-docs
|
||||||
|
if [ ! -z $(git status --porcelain) ]; then \
|
||||||
|
echo "Helm docs not up-to-date:"; \
|
||||||
|
git status --porcelain; \
|
||||||
|
git diff; \
|
||||||
|
echo "Run make helm-docs locally to generate updated docs, commit the updates."; \
|
||||||
|
exit 1; \
|
||||||
|
fi
|
||||||
|
|
||||||
release: submariner-k8s-broker-$(CHARTS_VERSION).tgz submariner-operator-$(CHARTS_VERSION).tgz
|
release: submariner-k8s-broker-$(CHARTS_VERSION).tgz submariner-operator-$(CHARTS_VERSION).tgz
|
||||||
git checkout gh-pages
|
git checkout gh-pages
|
||||||
mv *.tgz $(CHARTS_DIR)
|
mv *.tgz $(CHARTS_DIR)
|
||||||
@@ -51,7 +66,7 @@ release: submariner-k8s-broker-$(CHARTS_VERSION).tgz submariner-operator-$(CHART
|
|||||||
helm repo index $(CHARTS_DIR) --url $(GH_URL); \
|
helm repo index $(CHARTS_DIR) --url $(GH_URL); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
.PHONY: release
|
.PHONY: release helm-docs
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# submariner-charts
|
# submariner-charts
|
||||||
|
|
||||||
|
<!-- markdownlint-disable line-length -->
|
||||||
|
[](https://bestpractices.coreinfrastructure.org/projects/4865)
|
||||||
|
[](https://github.com/submariner-io/submariner-charts/actions?query=workflow%3A%22Release+Charts%22)
|
||||||
|
[](https://github.com/submariner-io/submariner-charts/actions?query=workflow%3APeriodic)
|
||||||
|
[](https://github.com/submariner-io/submariner-charts/actions?query=workflow%3A%22Flake+Finder%22)
|
||||||
|
<!-- markdownlint-enable line-length -->
|
||||||
|
|
||||||
Please see the [Helm docs on Submariner's website](https://submariner.io/operations/deployment/helm/).
|
Please see the [Helm docs on Submariner's website](https://submariner.io/operations/deployment/helm/).
|
||||||
|
|
||||||
## Development workflow
|
## Development workflow
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
charts:
|
||||||
|
- submariner-operator
|
||||||
|
- submariner-k8s-broker
|
||||||
|
# Tests that maintainer name is valid GitHub account, which isn't what we want
|
||||||
|
# See: https://github.com/helm/chart-testing/issues/192
|
||||||
|
validate-maintainers: false
|
||||||
@@ -1,12 +1,14 @@
|
|||||||
---
|
---
|
||||||
name: submariner-k8s-broker
|
name: submariner-k8s-broker
|
||||||
version: 0.6.0
|
version: 0.6.0
|
||||||
|
apiVersion: v2
|
||||||
appVersion: 0.6.0
|
appVersion: 0.6.0
|
||||||
description: Submariner Kubernetes Broker
|
description: Submariner Kubernetes Broker
|
||||||
keywords:
|
keywords:
|
||||||
home: https://submariner-io.github.io/
|
home: https://submariner-io.github.io/
|
||||||
sources:
|
sources:
|
||||||
- https://submariner-io.github.io/submariner-charts/charts
|
- https://submariner-io.github.io/submariner-charts/charts
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Submariner Developers
|
- name: Contributors to the Submariner project
|
||||||
email: submariner-dev@googlegroups.com
|
email: submariner-dev@googlegroups.com
|
||||||
|
url: https://submariner.io/
|
||||||
|
|||||||
@@ -0,0 +1,26 @@
|
|||||||
|
# submariner-k8s-broker
|
||||||
|
|
||||||
|
 
|
||||||
|
|
||||||
|
Submariner Kubernetes Broker
|
||||||
|
|
||||||
|
**Homepage:** <https://submariner-io.github.io/>
|
||||||
|
|
||||||
|
## Maintainers
|
||||||
|
|
||||||
|
| Name | Email | Url |
|
||||||
|
| ---- | ------ | --- |
|
||||||
|
| Contributors to the Submariner project | submariner-dev@googlegroups.com | https://submariner.io/ |
|
||||||
|
|
||||||
|
## Source Code
|
||||||
|
|
||||||
|
* <https://submariner-io.github.io/submariner-charts/charts>
|
||||||
|
|
||||||
|
## Values
|
||||||
|
|
||||||
|
| Key | Type | Default | Description |
|
||||||
|
|-----|------|---------|-------------|
|
||||||
|
| crd.create | bool | `true` | |
|
||||||
|
| rbac.create | bool | `true` | |
|
||||||
|
| serviceAccounts.client.create | bool | `true` | |
|
||||||
|
| serviceAccounts.client.name | string | `""` | |
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: Role
|
kind: Role
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "submariner-k8s-broker.fullname" . }}:client
|
name: {{ template "submariner-k8s-broker.fullname" . }}-cluster
|
||||||
labels:
|
labels:
|
||||||
heritage: {{ .Release.Service | quote }}
|
heritage: {{ .Release.Service | quote }}
|
||||||
release: {{ .Release.Name | quote }}
|
release: {{ .Release.Name | quote }}
|
||||||
@@ -25,11 +25,11 @@ rules:
|
|||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: RoleBinding
|
kind: RoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "submariner-k8s-broker.fullname" . }}:client
|
name: {{ template "submariner-k8s-broker.fullname" . }}-cluster
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: Role
|
kind: Role
|
||||||
name: {{ template "submariner-k8s-broker.fullname" . }}:client
|
name: {{ template "submariner-k8s-broker.fullname" . }}-cluster
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ template "submariner-k8s-broker.clientServiceAccountName" . }}
|
name: {{ template "submariner-k8s-broker.clientServiceAccountName" . }}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
name: submariner-operator
|
name: submariner-operator
|
||||||
version: 0.7.0
|
version: 0.7.0
|
||||||
|
apiVersion: v2
|
||||||
appVersion: 0.7.0
|
appVersion: 0.7.0
|
||||||
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:
|
||||||
@@ -8,5 +9,6 @@ home: https://submariner-io.github.io/
|
|||||||
sources:
|
sources:
|
||||||
- https://submariner-io.github.io/submariner-charts/charts
|
- https://submariner-io.github.io/submariner-charts/charts
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Submariner Developers
|
- name: Contributors to the Submariner project
|
||||||
email: submariner-dev@googlegroups.com
|
email: submariner-dev@googlegroups.com
|
||||||
|
url: https://submariner.io/
|
||||||
|
|||||||
@@ -0,0 +1,68 @@
|
|||||||
|
# submariner-operator
|
||||||
|
|
||||||
|
 
|
||||||
|
|
||||||
|
Submariner enables direct networking between Pods and Services in different Kubernetes clusters
|
||||||
|
|
||||||
|
**Homepage:** <https://submariner-io.github.io/>
|
||||||
|
|
||||||
|
## Maintainers
|
||||||
|
|
||||||
|
| Name | Email | Url |
|
||||||
|
| ---- | ------ | --- |
|
||||||
|
| Contributors to the Submariner project | submariner-dev@googlegroups.com | https://submariner.io/ |
|
||||||
|
|
||||||
|
## Source Code
|
||||||
|
|
||||||
|
* <https://submariner-io.github.io/submariner-charts/charts>
|
||||||
|
|
||||||
|
## Values
|
||||||
|
|
||||||
|
| Key | Type | Default | Description |
|
||||||
|
|-----|------|---------|-------------|
|
||||||
|
| broker.ca | string | `""` | |
|
||||||
|
| broker.globalnet | bool | `false` | |
|
||||||
|
| broker.insecure | bool | `false` | |
|
||||||
|
| broker.namespace | string | `"xyz"` | |
|
||||||
|
| broker.server | string | `"example.k8s.apiserver"` | |
|
||||||
|
| broker.token | string | `"test"` | |
|
||||||
|
| gateway.image.repository | string | `"quay.io/submariner/submariner-gateway"` | |
|
||||||
|
| gateway.image.tag | string | `"0.7.0"` | |
|
||||||
|
| ipsec.debug | bool | `false` | |
|
||||||
|
| ipsec.ikePort | int | `500` | |
|
||||||
|
| ipsec.natPort | int | `4500` | |
|
||||||
|
| ipsec.psk | string | `""` | |
|
||||||
|
| leadership.leaseDuration | int | `10` | |
|
||||||
|
| leadership.renewDeadline | int | `5` | |
|
||||||
|
| leadership.retryPeriod | int | `2` | |
|
||||||
|
| operator.affinity | object | `{}` | |
|
||||||
|
| operator.image.pullPolicy | string | `"IfNotPresent"` | |
|
||||||
|
| operator.image.repository | string | `"quay.io/submariner/submariner-operator"` | |
|
||||||
|
| operator.image.tag | string | `"0.7.0"` | |
|
||||||
|
| operator.resources | object | `{}` | |
|
||||||
|
| operator.tolerations | list | `[]` | |
|
||||||
|
| rbac.create | bool | `true` | |
|
||||||
|
| serviceAccounts.gateway.create | bool | `true` | |
|
||||||
|
| serviceAccounts.gateway.name | string | `""` | |
|
||||||
|
| serviceAccounts.globalnet.create | bool | `true` | |
|
||||||
|
| serviceAccounts.globalnet.name | string | `""` | |
|
||||||
|
| serviceAccounts.lighthouseAgent.create | bool | `true` | |
|
||||||
|
| serviceAccounts.lighthouseAgent.name | string | `""` | |
|
||||||
|
| serviceAccounts.lighthouseCoreDns.create | bool | `true` | |
|
||||||
|
| serviceAccounts.lighthouseCoreDns.name | string | `""` | |
|
||||||
|
| serviceAccounts.operator.create | bool | `true` | |
|
||||||
|
| serviceAccounts.operator.name | string | `""` | |
|
||||||
|
| serviceAccounts.routeAgent.create | bool | `true` | |
|
||||||
|
| serviceAccounts.routeAgent.name | string | `""` | |
|
||||||
|
| submariner.cableDriver | string | `"libreswan"` | |
|
||||||
|
| submariner.clusterCidr | string | `""` | |
|
||||||
|
| submariner.clusterId | string | `""` | |
|
||||||
|
| submariner.colorCodes | string | `"blue"` | |
|
||||||
|
| submariner.debug | bool | `false` | |
|
||||||
|
| submariner.globalCidr | string | `""` | |
|
||||||
|
| submariner.images.repository | string | `"quay.io/submariner"` | |
|
||||||
|
| submariner.images.tag | string | `"0.7.0"` | |
|
||||||
|
| submariner.natEnabled | bool | `false` | |
|
||||||
|
| submariner.serviceCidr | string | `""` | |
|
||||||
|
| submariner.serviceDiscovery | bool | `true` | |
|
||||||
|
| submariner.token | string | `""` | |
|
||||||
@@ -397,6 +397,7 @@ rules:
|
|||||||
resources:
|
resources:
|
||||||
- configmaps
|
- configmaps
|
||||||
verbs:
|
verbs:
|
||||||
|
- create
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
@@ -411,11 +412,13 @@ rules:
|
|||||||
- create
|
- create
|
||||||
- update
|
- update
|
||||||
- delete
|
- delete
|
||||||
- apiGroups: # pods and services are looked up to figure out network settings
|
- watch
|
||||||
|
- apiGroups: # pods, services and nodes are looked up to figure out network settings
|
||||||
- ""
|
- ""
|
||||||
resources:
|
resources:
|
||||||
- pods
|
- pods
|
||||||
- services
|
- services
|
||||||
|
- nodes
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
@@ -654,6 +657,29 @@ rules:
|
|||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- submariner.io
|
||||||
|
resources:
|
||||||
|
- clusterglobalegressips
|
||||||
|
- globalegressips
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- update
|
||||||
|
- apiGroups:
|
||||||
|
- submariner.io
|
||||||
|
resources:
|
||||||
|
- globalingressips
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- update
|
||||||
|
- delete
|
||||||
|
- deletecollection
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- multicluster.x-k8s.io
|
- multicluster.x-k8s.io
|
||||||
resources:
|
resources:
|
||||||
@@ -720,6 +746,7 @@ rules:
|
|||||||
- submariner.io
|
- submariner.io
|
||||||
resources:
|
resources:
|
||||||
- "gateways"
|
- "gateways"
|
||||||
|
- "globalingressips"
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
|
|||||||
Reference in New Issue
Block a user