36 lines
819 B
YAML
36 lines
819 B
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: proxied-tcp-9099
|
|
port: 9099
|
|
targetPort: 9099
|
|
protocol: TCP
|