refactor
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: ingress-nginx-config
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1h
|
||||
path: ./kubernetes/infrastructure/ingress-nginx/config
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
namespace: flux-system
|
||||
name: flux-system
|
||||
@@ -1,19 +1,5 @@
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: ingress-nginx-config
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1h
|
||||
path: ./kubernetes/infrastructure/ingress-nginx/config
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
namespace: flux-system
|
||||
name: flux-system
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: ingress-nginx
|
||||
namespace: flux-system
|
||||
@@ -42,4 +28,4 @@ spec:
|
||||
value: --tcp-services-configmap=$(POD_NAMESPACE)/tcp-services
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/args/-
|
||||
value: --udp-services-configmap=$(POD_NAMESPACE)/udp-services
|
||||
value: --udp-services-configmap=$(POD_NAMESPACE)/udp-services
|
||||
@@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ingress-nginx.yaml
|
||||
- ingress-nginx-config.yaml
|
||||
Reference in New Issue
Block a user