modified: docs/fluxcd.md
This commit is contained in:
1 parent
4610759cbe
commit
4bc1af17cc
1 file changed
+18
@@ -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