mirror of
https://github.com/bitnami/charts.git
synced 2026-08-09 12:55:41 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user