You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> The default values in `values.yaml` can be overridden by a parent chart's `values.yaml` (in the event this chart is used as a subchart), which can in turn be overridden by a user-supplied values file with `-f`, which can in turn be overridden by `--set` parameters.
131
+
132
+
> [!NOTE]
133
+
> The `reset-values` and `reuse-values` flags can be used to control how values are handled during an upgrade:
134
+
> -`--reset-values`: Discards the previously set values and uses only the values provided in the current upgrade command (via `--values` or `--set`).
135
+
> -`--reuse-values`: Reuses the values from the last release and merges them with any new values provided in the upgrade command.
136
+
>
137
+
> These two flags are mutually exclusive.
138
+
>
139
+
> In addition, if no `-f` (or `--values`), or `--set` (or `--set-string`, or `--set-file`) flags are applied,
140
+
> `--reuse-values` will be used by default. Otherwise, `--reset-values` will be used by default.
141
+
```bash
142
+
# keeps previously set values and overrides current "version"
***If your cluster already has a default `storageclass` you can skip this step.***
38
+
39
+
If not, you're unsure, or you don't want to affect cluster-wide settings, set the default `storageclass` for this Chart at runtime by passing `--set global.defaultStorageClass="my-sc"` to your `helm install` command. Or by adding the following lines to `values-custom.yaml`:
40
+
```
41
+
global:
42
+
defaultStorageClass: "my-sc"
43
+
```
44
+
45
+
Just be sure to pass `-f values-custom.yaml` to your `helm install` command below!
46
+
36
47
### Set Root Graylog Password
37
48
```sh
38
49
read -sp "Enter your new password and press return: " pass
Copy file name to clipboardExpand all lines: graylog/templates/NOTES.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ Welcome to Graylog!
48
48
49
49
· WARNING: You are still using the default password {{ include "graylog.rootPassword" . | quote }}. This MUST be changed IMMEDIATELY using the following command:
50
50
51
-
read -sp "Enter your new password and press return: " i && helm upgrade {{ .Release.Name }} graylog/graylog --namespace {{ .Release.Namespace }} --reuse-values --set "graylog.config.rootPassword=$i"
51
+
read -sp "Enter your new password and press return: " i && helm upgrade {{ .Release.Name }} ./graylog --namespace {{ .Release.Namespace }} --reuse-values --set "graylog.config.rootPassword=$i"
52
52
{{- end }}
53
53
54
54
· Use the following command to print this status page again:
0 commit comments