modified: docs/fluxcd.md
This commit is contained in:
@@ -24,3 +24,21 @@ kubectl create secret generic ${SECRET_NAME} \
|
||||
--namespace=${NAMESPACE} \
|
||||
--from-file=age.agekey=/dev/stdin
|
||||
```
|
||||
|
||||
## kustomization prune
|
||||
|
||||
**Disable:**
|
||||
|
||||
``` bash
|
||||
FLUX_RESOURCE_NAME="???"
|
||||
FLUX_RESOURCE_NS="???"
|
||||
kubectl patch helmrelease ${FLUX_RESOURCE_NAME} -n ${FLUX_RESOURCE_NS} --type merge -p '{"spec":{"prune":false}}'
|
||||
```
|
||||
|
||||
**Enable:**
|
||||
|
||||
``` bash
|
||||
FLUX_RESOURCE_NAME="???"
|
||||
FLUX_RESOURCE_NS="???"
|
||||
kubectl patch helmrelease ${FLUX_RESOURCE_NAME} -n ${FLUX_RESOURCE_NS} --type merge -p '{"spec":{"prune":true}}'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user