Update kubectl command for creating secrets (#36328)

Change dry-run option to use 'client' in kubectl command since --dry-run is deprecated.

Signed-off-by: Vlad Kyrylenko <39014816+vlkyrylenko@users.noreply.github.com>
This commit is contained in:
Vlad Kyrylenko
2025-10-07 09:31:32 +02:00
committed by GitHub
parent 2020e07ecb
commit b6abcbe116
+1 -1
View File
@@ -137,7 +137,7 @@ Bitnami charts, with its default settings, configure credentials at first boot.
- Update the password secret with the new values (replace the SECRET_NAME, PASSWORD and POSTGRES_PASSWORD placeholders)
```shell
kubectl create secret generic SECRET_NAME --from-literal=password=PASSWORD --from-literal=postgres-password=POSTGRES_PASSWORD --dry-run -o yaml | kubectl apply -f -
kubectl create secret generic SECRET_NAME --from-literal=password=PASSWORD --from-literal=postgres-password=POSTGRES_PASSWORD --dry-run=client -o yaml | kubectl apply -f -
```
### Automated update using a password update job