fix paths for patch
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user