Skip to content
Snippets Groups Projects
Commit cae88710 authored by ricoberger's avatar ricoberger
Browse files

Add new value to set the cluster name

https://github.com/kubenav/kubenav/pull/162 introduced a new option to
overwrite the cluster name with the --incluster.name flag. Therefor a
new value deployment.clusterName was added to set the cluster name in
the Helm chart.
parent f6a7fdd0
Branches
No related tags found
No related merge requests found
......@@ -63,6 +63,7 @@ You can deploy kubenav into your Kubernetes cluster via [Helm](https://helm.sh):
helm repo add kubenav https://kubenav.github.io/helm-repository
helm repo update
kubectl create namespace kubenav
helm upgrade --install --namespace kubenav kubenav kubenav/kubenav
```
......@@ -72,12 +73,13 @@ helm upgrade --install --namespace kubenav kubenav kubenav/kubenav
| ----- | ----------- | ------- |
| `replicaCount` | Number of replicas which should be created. | `1` |
| `image.repository` | The repository of the Docker image. | `kubenav/kubenav` |
| `image.tag` | The tag of the Docker image which should be used. | `560dcebf` |
| `image.tag` | The tag of the Docker image which should be used. | `4a5f72c1` |
| `image.pullPolicy` | The pull policy for the Docker image, | `IfNotPresent` |
| `imagePullSecrets` | Secrets which can be used to pull the Docker image. | `[]` |
| `nameOverride` | Expand the name of the chart. | `""` |
| `fullnameOverride` | Override the name of the app. | `""` |
| `deployment.mode` | Set the mode how kubenav should be deployed. This must be `incluster` or `kubeconfig`. | `incluster` |
| `deployment.clusterName` | The name which should be in the frontend, when the `incluster` mode is used. | `kubenav` |
| `deployment.kubeconfig` | When the `kubeconfig` mode is used. This must be a base64 encoded Kubeconfig file. | `""` |
| `rbac.create` | Create the cluster role and cluster role binding. | `true` |
| `rbac.name` | The name of the cluster role and cluster role binding, which should be created/used by kubenav. | `kubenav` |
......
......@@ -2,5 +2,5 @@ apiVersion: v2
name: kubenav
description: kubenav is the navigator for your Kubernetes clusters right in your pocket.
type: application
version: 0.1.0
version: 0.1.1
appVersion: 2.2.0
......@@ -32,6 +32,7 @@ spec:
- --kubeconfig=/kubenav/kubeconfig/kubeconfig
{{- else }}
- --incluster
- --incluster.name={{ .Values.deployment.clusterName }}
{{- end }}
ports:
- name: http
......
......@@ -4,7 +4,7 @@ replicaCount: 1
image:
repository: kubenav/kubenav
tag: 560dcebf
tag: 4a5f72c1
pullPolicy: IfNotPresent
imagePullSecrets: []
......@@ -15,6 +15,8 @@ deployment:
# Specifies whether kubenav should in the incluster mode or with a mounted Kubeconfig.
# This must be "incluster" or "kubeconfig"
mode: incluster
# The cluster name which should be displayed in the frontend, when using the "incluster" mode.
clusterName: kubenav
# When the "kubeconfig" mode is used the kubeconfig value must contain a base64 encoded Kubeconfig file.
kubeconfig:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment