Enable force in kustomization

This commit is contained in:
Pavle Portic 2023-02-23 15:42:52 +01:00
parent d315372dea
commit a689506d5b
Signed by: TheEdgeOfRage
GPG Key ID: 66AD4BA646FBC0D2
2 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,8 @@ metadata:
spec: spec:
interval: 10m0s interval: 10m0s
path: ./ path: ./
prune: true prune: false
force: true
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository
name: flux-system name: flux-system

View File

@ -1,5 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ./flux-system
- secret.yaml - secret.yaml
- deployment.yaml - deployment.yaml