92 lines
2.1 KiB
YAML
92 lines
2.1 KiB
YAML
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
kind: Kustomization
|
|
metadata:
|
|
name: ingress-nginx
|
|
namespace: ingress-nginx
|
|
spec:
|
|
interval: 10m
|
|
timeout: 1m30s
|
|
retryInterval: 30s
|
|
targetNamespace: ingress-nginx
|
|
path: ./kubernetes/infrastructure/ingress-nginx/app
|
|
prune: true
|
|
sourceRef:
|
|
kind: GitRepository
|
|
namespace: flux-system
|
|
name: flux-system
|
|
dependsOn:
|
|
- name: ingress-nginx-config
|
|
postBuild:
|
|
substituteFrom:
|
|
- kind: ConfigMap
|
|
name: ingress-nginx-values
|
|
patches:
|
|
- target:
|
|
kind: Service
|
|
name: ingress-nginx-controller
|
|
namespace: ingress-nginx
|
|
patch: |
|
|
- op: add
|
|
path: /spec/ports/-
|
|
value:
|
|
name: dns-tcp
|
|
port: 53
|
|
targetPort: 53
|
|
protocol: TCP
|
|
- op: add
|
|
path: /spec/ports/-
|
|
value:
|
|
name: dns-udp
|
|
port: 53
|
|
targetPort: 53
|
|
protocol: UDP
|
|
- op: add
|
|
path: /spec/ports/-
|
|
value:
|
|
name: dhcps-udp
|
|
port: 67
|
|
targetPort: 67
|
|
protocol: UDP
|
|
- op: add
|
|
path: /spec/ports/-
|
|
value:
|
|
name: dhcpc-udp
|
|
port: 68
|
|
targetPort: 68
|
|
protocol: UDP
|
|
- op: add
|
|
path: /spec/ports/-
|
|
value:
|
|
name: dns-tls-tcp
|
|
port: 853
|
|
targetPort: 853
|
|
protocol: TCP
|
|
- op: add
|
|
path: /spec/ports/-
|
|
value:
|
|
name: dns-tls-udp
|
|
port: 853
|
|
targetPort: 853
|
|
protocol: UDP
|
|
- op: add
|
|
path: /spec/ports/-
|
|
value:
|
|
name: dnscrypt-tcp
|
|
port: 5443
|
|
targetPort: 5443
|
|
protocol: TCP
|
|
- op: add
|
|
path: /spec/ports/-
|
|
value:
|
|
name: dnscrypt-udp
|
|
port: 5443
|
|
targetPort: 5443
|
|
protocol: UDP
|
|
- op: add
|
|
path: /spec/ports/-
|
|
value:
|
|
name: https-pprof
|
|
port: 6060
|
|
targetPort: 6060
|
|
protocol: TCP
|