diff --git a/charts/hcloud-csi/Chart.yaml b/charts/hcloud-csi/Chart.yaml index aea34ec..1910b61 100644 --- a/charts/hcloud-csi/Chart.yaml +++ b/charts/hcloud-csi/Chart.yaml @@ -7,5 +7,5 @@ maintainers: - name: Syself email: info@syself.com url: https://github.com/syself -version: 1.0.0 +version: 1.0.1 appVersion: 2.1.0 \ No newline at end of file diff --git a/charts/hcloud-csi/README.md b/charts/hcloud-csi/README.md index 92b2736..9ebe043 100644 --- a/charts/hcloud-csi/README.md +++ b/charts/hcloud-csi/README.md @@ -97,8 +97,8 @@ The command removes all the Kubernetes components associated with the chart and | `controller.image.hcloudCSIDriver.pullSecrets` | hcloud-csi-driver image pull secrets | `[]` | | `controller.replicaCount` | Number of controller replicas to deploy | `2` | | `controller.hcloudToken.value` | Specifies the value for the hcloudToken. Creates a secret from that value. If you have already a hcloud token secret leave this empty. | `""` | -| `controller.hcloudToken.extistingSecret.name` | Specifies the name of an existing Secret for the hcloud Token | `hcloud` | -| `controller.hcloudToken.extistingSecret.key` | Specifies the key of an existing Secret for the hcloud Token | `token` | +| `controller.hcloudToken.existingSecret.name` | Specifies the name of an existing Secret for the hcloud Token | `hcloud` | +| `controller.hcloudToken.existingSecret.key` | Specifies the key of an existing Secret for the hcloud Token | `token` | | `controller.hcloudVolumeDefaultLocation` | Set this to the location of your cluster. If set the controller could run anywhere. If leave empty the controller needs to run on a hcloud node. | `""` | | `controller.containerPorts.metrics` | controller metrics container port | `9189` | | `controller.containerPorts.healthz` | controller healthz container port | `9808` | diff --git a/charts/hcloud-csi/templates/controller/deployment.yaml b/charts/hcloud-csi/templates/controller/deployment.yaml index 2a698c1..7677d6d 100644 --- a/charts/hcloud-csi/templates/controller/deployment.yaml +++ b/charts/hcloud-csi/templates/controller/deployment.yaml @@ -139,8 +139,8 @@ spec: name: {{ template "common.names.fullname" . }}-hcloud-token key: token {{- else }} - name: {{ .Values.controller.hcloudToken.extistingSecret.name }} - key: {{ .Values.controller.hcloudToken.extistingSecret.key }} + name: {{ .Values.controller.hcloudToken.existingSecret.name }} + key: {{ .Values.controller.hcloudToken.existingSecret.key }} {{- end }} {{- if .Values.controller.extraEnvVars }} {{- include "common.tplvalues.render" (dict "value" .Values.controller.extraEnvVars "context" $) | nindent 12 }} diff --git a/charts/hcloud-csi/values.yaml b/charts/hcloud-csi/values.yaml index 8f5fa3a..d054860 100644 --- a/charts/hcloud-csi/values.yaml +++ b/charts/hcloud-csi/values.yaml @@ -178,12 +178,12 @@ controller: replicaCount: 2 ## @param controller.hcloudToken.value Specifies the value for the hcloudToken. Creates a secret from that value. If you have already a hcloud token secret leave this empty. - ## @param controller.hcloudToken.extistingSecret.name Specifies the name of an existing Secret for the hcloud Token - ## @param controller.hcloudToken.extistingSecret.key Specifies the key of an existing Secret for the hcloud Token + ## @param controller.hcloudToken.existingSecret.name Specifies the name of an existing Secret for the hcloud Token + ## @param controller.hcloudToken.existingSecret.key Specifies the key of an existing Secret for the hcloud Token ## hcloudToken: value: "" - extistingSecret: + existingSecret: name: hcloud key: token