fix paths for patch

This commit is contained in:
2024-06-12 04:00:13 +10:00
parent 2b117f431f
commit 7b2086a373

View File

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