From 2f86549075f062daf80e481bc3ecdfd191c2a890 Mon Sep 17 00:00:00 2001 From: chris_wiggins Date: Sun, 3 Nov 2019 14:08:25 -0700 Subject: [PATCH 1/2] Update configuration page to have backticks around the k3s version section, the equal or less than sign was causing formatting issues for anything after it --- content/k3s/latest/en/configuration/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/k3s/latest/en/configuration/_index.md b/content/k3s/latest/en/configuration/_index.md index ce6d499a827..c90cd453a46 100644 --- a/content/k3s/latest/en/configuration/_index.md +++ b/content/k3s/latest/en/configuration/_index.md @@ -53,7 +53,7 @@ spec: Also note that besides `set` you can use `valuesContent` in the spec section. And it's okay to use both of them. -k3s versions <= v0.5.0 used `k3s.cattle.io` for the api group of helmcharts, this has been changed to `helm.cattle.io` for later versions. +k3s versions `<= v0.5.0` used `k3s.cattle.io` for the api group of helmcharts, this has been changed to `helm.cattle.io` for later versions. Accessing Cluster from Outside ----------------------------- From 5a029c9421216ecb1d02d9380230ccbe304ca89d Mon Sep 17 00:00:00 2001 From: chris_wiggins Date: Sun, 3 Nov 2019 14:32:04 -0700 Subject: [PATCH 2/2] Add helm CRD section. Added two examples: * deploying a 3rd party helm chart. * deploying a helm chart using a specific version of a chart. --- content/k3s/latest/en/configuration/_index.md | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/content/k3s/latest/en/configuration/_index.md b/content/k3s/latest/en/configuration/_index.md index c90cd453a46..fbb3ffa0476 100644 --- a/content/k3s/latest/en/configuration/_index.md +++ b/content/k3s/latest/en/configuration/_index.md @@ -55,6 +55,37 @@ Also note that besides `set` you can use `valuesContent` in the spec section. An k3s versions `<= v0.5.0` used `k3s.cattle.io` for the api group of helmcharts, this has been changed to `helm.cattle.io` for later versions. +Using the helm CRD +--------------------- + +You can deploy a 3rd party helm chart using an example like this: + +```yaml +apiVersion: helm.cattle.io/v1 +kind: HelmChart +metadata: + name: nginx + namespace: kube-system +spec: + chart: nginx + repo: https://charts.bitnami.com/bitnami + targetNamespace: default +``` + +You can install a specific version of a helm chart using an example like this: + +```yaml +apiVersion: helm.cattle.io/v1 +kind: HelmChart +metadata: + name: stable/nginx-ingress + namespace: kube-system +spec: + chart: nginx-ingress + version: 1.24.4 + targetNamespace: default +``` + Accessing Cluster from Outside -----------------------------