-
Notifications
You must be signed in to change notification settings - Fork 336
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(deployments) add Helm chart for kuma (#916)
Chart Add a Helm chart (compatible with Helm 3) for the Kuma Control Plane. This initial Helm chart is hard-coded but we would like to eventually merge the `kumactl` install commands with generating charts. Based on `kumactl` install control-plane, this chart parameterizes all the possible flags and supports CNI, installing CRDs, and all modes. CI/CD Use helm/chart-releaser to publish charts to GitHub Releases and then host them on the gh-pages branch. * feat(deployments) add Helm chart for kuma * ci(helm) add Helm 3 to install dev tools * test(e2e) add Helm tests * ci(helm) release charts with chart-releaser * fix(test) helm chart path constant * fix(test) helm test use Build version for images * feat(deployments) rename kuma-cp chart to kuma * docs(deployments) update kuma chart README Signed-off-by: austin ce <[email protected]> Co-authored-by: Nikolay Nikolaev <[email protected]>
- Loading branch information
Showing
44 changed files
with
6,648 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,6 @@ build/ | |
|
||
# macOS | ||
.DS_Store | ||
|
||
# Release artifacts | ||
.cr-release-packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Local Helm values | ||
**/*.*values.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Kuma Helm Charts | ||
|
||
In addition to the `kumactl install` command, Kuma offers a set of Helm charts to install | ||
Kuma on Kubernetes. | ||
|
||
These charts are compatible with Helm 3+. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: v2 | ||
name: kuma | ||
description: A Helm chart for the Kuma Control Plane | ||
type: application | ||
version: 0.1.0 | ||
appVersion: 0.7.0 | ||
home: https://github.com/kumahq/kuma | ||
icon: https://kuma.io/images/brand/kuma-logo-new.svg | ||
keywords: | ||
- service mesh | ||
- control plane |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
[![][kuma-logo]][kuma-url] | ||
|
||
# kuma | ||
|
||
The kuma chart supports all the features and options provided by `kumactl install control-plane`. | ||
The chart supports Helm v3+. | ||
|
||
## Values | ||
|
||
| Parameter | Description | Default | | ||
|---------------------------------------------|-----------------------------------------------------------------------------------|--------------------------------------| | ||
| `global.image.registry` | Default registry for all Kuma images | `kong-docker-kuma-docker.bintray.io` | | ||
| `global.image.tag` | Default tag for all Kuma images | nil, defaults to Chart.AppVersion | | ||
| `patchSystemNamespace` | Patch the release namespace with the Kuma system label | `true` | | ||
| `controlPlane.logLevel` | Kuma CP log level: one of off\|info\|debug | `info` | | ||
| `controlPlane.mode` | Kuma CP modes: one of standalone\|remote\|global | `standalone` | | ||
| `controlPlane.zone` | Kuma zone name | nil | | ||
| `controlPlane.kdsGlobalAddress` | URL of Global Kuma CP | | | ||
| `controlPlane.useNodePort` | Use NodePort instead of LoadBalancer | `false` | | ||
| `controlPlane.injectorFailurePolicy` | Failure policy of the mutating webhook implemented by the Kuma Injector component | `Ignore` | | ||
| `controlPlane.service.name` | Service name of the Kuma Control Plane | nil | | ||
| `controlPlane.service.type` | Service type of the Kuma Control Plane | ClusterIP | | ||
| `controlPlane.defaults.skipMeshCreation` | Whether or not to skip creating the default Mesh | `true` | | ||
| `controlPlane.resources` | The K8s resources spec for Kuma CP | nil, differs based on mode | | ||
| `controlPlane.tls.{admission,sds,kds}.cert` | TLS certificate for the Admission, SDS, and KDS servers, respectively | nil, generated and self-signed | | ||
| `controlPlane.tls.{admission,sds,kds}.key` | TLS key for the Admission, SDS, and KDS servers, respectively | nil, generated and self-signed | | ||
| `controlPlane.imagePullPolicy` | Kuma CP ImagePullPolicy | `IfNotPresent` | | ||
| `controlPlane.image.registry` | Kuma CP image registry | nil, uses global | | ||
| `controlPlane.image.repository` | Kuma CP image repository | `kuma-cp` | | ||
| `controlPlane.image.tag` | Kuma CP image tag | nil, uses global | | ||
| `cni.enabled` | Install Kuma with CNI instead of proxy init container | `false` | | ||
| `cni.logLevel` | CNI log level: one of off\|info\|debug | `info` | | ||
| `cni.image.registry` | CNI image registry | `docker.io` | | ||
| `cni.image.repository` | CNI image repository | `lobkovilya/install-cni` | | ||
| `cni.image.tag` | The CNI image tag | `0.0.1` | | ||
| `dataPlane.image.registry` | The Kuma DP image registry | nil, uses global | | ||
| `dataPlane.image.repository` | The Kuma DP image repository | `kuma-cp` | | ||
| `dataPlane.image.tag` | The Kuma DP image tag | nil, uses global | | ||
| `dataPlane.initImage.registry` | The Kuma DP init image registry | nil, uses global | | ||
| `dataPlane.initImage.repository` | The Kuma DP init image repository | `kuma-init` | | ||
| `dataPlane.initImage.tag` | The Kuma DP init image tag | nil, uses global | | ||
|
||
## Custom Resource Definitions | ||
|
||
All Kuma CRDs are loaded via the [`crds`](crds) directory. For more detailed information on CRDs and Helm, | ||
please refer to [the Helm documentation][helm-crd]. | ||
|
||
|
||
[kuma-url]: https://kuma.io/ | ||
[kuma-logo]: https://kuma-public-assets.s3.amazonaws.com/kuma-logo-v2.png | ||
[helm-crd]: https://helm.sh/docs/chart_best_practices/custom_resource_definitions/ |
Oops, something went wrong.