fix paths for patch

This commit is contained in:
2024-06-12 03:53:02 +10:00
parent c59a7fe138
commit 2b117f431f

View File

@@ -24,7 +24,7 @@ spec:
name: ingress-nginx name: ingress-nginx
patch: | patch: |
- op: add - op: add
path: /spec/postRenderers/[0]/kustomize/patches/- path: /spec/postRenderers[0]/kustomize/patches/-
value: value:
target: target:
kind: Service kind: Service
@@ -39,14 +39,14 @@ spec:
protocol: TCP protocol: TCP
targetPort: 9000 targetPort: 9000
- op: add - op: add
path: /spec/postRenderers/[0]/kustomize/patches/- path: /spec/postRenderers[0]/kustomize/patches/-
value: value:
target: target:
kind: Deployment kind: Deployment
name: ingress-nginx-controller name: ingress-nginx-controller
patch: | patch: |
- op: add - op: add
path: "/spec/template/spec/containers/[0]/ports/-" path: "/spec/template/spec/containers[0]/ports/-"
value: value:
containerPort: 9000 containerPort: 9000
name: capacitor name: capacitor