Add nginx kustomization
This commit is contained in:
parent
54124fff94
commit
e6a6704ff1
17
clusters/my-cluster/nginx-kustomization.yaml
Normal file
17
clusters/my-cluster/nginx-kustomization.yaml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: nginx
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 30m0s
|
||||||
|
path: ./kustomize
|
||||||
|
prune: true
|
||||||
|
retryInterval: 2m0s
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: nginx
|
||||||
|
targetNamespace: default
|
||||||
|
timeout: 3m0s
|
||||||
|
wait: true
|
11
clusters/my-cluster/nginx-source.yaml
Normal file
11
clusters/my-cluster/nginx-source.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: GitRepository
|
||||||
|
metadata:
|
||||||
|
name: nginx
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 1m0s
|
||||||
|
ref:
|
||||||
|
branch: main
|
||||||
|
url: https://gitea.basealt.ru/kaf/nginx-flux.git
|
Loading…
Reference in New Issue
Block a user