Skip to content

Commit b699987

Browse files
authored
Small fix in ECK Helm config docs (#2098)
According to issue #2089, the Helm `ca-cert-validity` setting documented on the [Apply ECK configuration settings](http://localhost:3000/deploy-manage/deploy/cloud-on-k8s/configure-eck) page should rather be `caValidity`. This also adds a tip for generating the list of valid settings. I'm not familiar with these settings at all so I'd appreciate if anyone can confirm that this change is correct. --- <img width="592" height="762" alt="eck-cacert" src="https://github.com/user-attachments/assets/4d890fa9-582a-439c-85c5-9e666978cef9" />
1 parent 3cfe0ba commit b699987

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

deploy-manage/deploy/cloud-on-k8s/configure-eck.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,21 @@ To configure ECK settings, follow the instructions in the next sections dependin
2929

3030
If you installed ECK through the Helm chart commands listed in [](./install-using-helm-chart.md), add your configuration parameters under the `config` key in your values file, or set them inline using the equivalent `--set config.<setting-name>=<value>` flags when updating or installing the release.
3131

32-
For example, to add the `ca-cert-validity` setting with a value of `43800h`, you can use any of the following methods:
32+
Note that the Helm chart uses its own configuration parameters rather than the actual ECK parameters that are described in [{{eck}} configuration flags](cloud-on-k8s://reference/eck-configuration-flags.md). To view all configurable values in the Helm chart for the ECK operator, run the following command:
33+
34+
```sh
35+
helm show values elastic/eck-operator
36+
```
37+
38+
For example, the parameter `caValidity` in the Helm chart corresponds to the `ca-cert-validity` ECK parameter. To add the `caValidity` setting with a value of `43800h`, you can use either of the following methods:
3339

3440
### Option 1: Use a values file and reference it in the helm upgrade command:
3541

3642
Create a values file with the following content:
3743

3844
```yaml
3945
config:
40-
ca-cert-validity: 43800h
46+
caValidity: 43800h
4147
```
4248
4349
Then, update the installed release pointing to the values file:
@@ -49,7 +55,7 @@ helm upgrade elastic-operator elastic/eck-operator -f my-values-file.yaml -n ela
4955
### Option 2: Use `--set` in the helm upgrade command
5056

5157
```sh
52-
helm upgrade elastic-operator elastic/eck-operator --set config.ca-cert-validity=43800h -n elastic-system
58+
helm upgrade elastic-operator elastic/eck-operator --set config.caValidity=43800h -n elastic-system
5359
```
5460

5561
## Using the operator YAML manifests

0 commit comments

Comments
 (0)