Merge pull request #66 from 3dwardch3ng/infra/ingress-nginx

refactor
This commit is contained in:
2024-06-11 13:04:30 +10:00
committed by GitHub
3 changed files with 15 additions and 15 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ingress-nginx.yaml
- ingress-nginx-config.yaml