correcting the postRenderers

This commit is contained in:
2024-06-12 03:28:44 +10:00
parent c8742a8ebe
commit 200f877356
2 changed files with 17 additions and 5 deletions

View File

@@ -18,10 +18,15 @@ spec:
substituteFrom: substituteFrom:
- kind: ConfigMap - kind: ConfigMap
name: ingress-nginx-values name: ingress-nginx-values
postRenderers:
- kustomze:
patches: patches:
- target: - target:
kind: HelmRelease
name: ingress-nginx
patch: |
- op: add
path: /sepc/postRenderers/[0]/kustomize/patches/-
value:
target:
kind: Service kind: Service
name: ingress-nginx-controller name: ingress-nginx-controller
patch: | patch: |
@@ -33,7 +38,10 @@ spec:
port: 9000 port: 9000
protocol: TCP protocol: TCP
targetPort: 9000 targetPort: 9000
- target: - op: add
path: /sepc/postRenderers/[0]/kustomize/patches/-
value:
target:
kind: Deployment kind: Deployment
name: ingress-nginx-controller name: ingress-nginx-controller
patch: | patch: |

View File

@@ -97,3 +97,7 @@ spec:
value: "8192" value: "8192"
podLabels: podLabels:
rpi5.cluster.policy/ingress-namespace: "true" rpi5.cluster.policy/ingress-namespace: "true"
postRenderers:
- kustomze:
patches: []