modified: docs/fluxcd.md
This commit is contained in:
@@ -80,6 +80,24 @@ spec:
|
||||
|
||||
**Disable:**
|
||||
|
||||
``` bash
|
||||
FLUX_RESOURCE_NAME="???"
|
||||
FLUX_RESOURCE_NS="???"
|
||||
kubectl patch kustomization ${FLUX_RESOURCE_NAME} -n ${FLUX_RESOURCE_NS} --type merge -p '{"spec":{"prune":false}}'
|
||||
```
|
||||
|
||||
**Enable:**
|
||||
|
||||
``` bash
|
||||
FLUX_RESOURCE_NAME="???"
|
||||
FLUX_RESOURCE_NS="???"
|
||||
kubectl patch kustomization ${FLUX_RESOURCE_NAME} -n ${FLUX_RESOURCE_NS} --type merge -p '{"spec":{"prune":true}}'
|
||||
```
|
||||
|
||||
## kustomization helm release
|
||||
|
||||
**Disable:**
|
||||
|
||||
``` bash
|
||||
FLUX_RESOURCE_NAME="???"
|
||||
FLUX_RESOURCE_NS="???"
|
||||
@@ -93,3 +111,21 @@ FLUX_RESOURCE_NAME="???"
|
||||
FLUX_RESOURCE_NS="???"
|
||||
kubectl patch helmrelease ${FLUX_RESOURCE_NAME} -n ${FLUX_RESOURCE_NS} --type merge -p '{"spec":{"prune":true}}'
|
||||
```
|
||||
|
||||
## Reconcile
|
||||
|
||||
**Source git:**
|
||||
|
||||
``` bash
|
||||
FLUX_RESOURCE_NAME="???"
|
||||
FLUX_RESOURCE_NS="???"
|
||||
flux reconcile source git ${FLUX_RESOURCE_NAME} -n ${FLUX_RESOURCE_NS}
|
||||
```
|
||||
|
||||
**Kustomization:**
|
||||
|
||||
``` bash
|
||||
FLUX_RESOURCE_NAME="???"
|
||||
FLUX_RESOURCE_NS="???"
|
||||
flux reconcile kustomization ${FLUX_RESOURCE_NAME} -n ${FLUX_RESOURCE_NS}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user