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