@@ -22,8 +22,22 @@ spec:
|
|||||||
- target:
|
- target:
|
||||||
kind: Service
|
kind: Service
|
||||||
name: ingress-nginx-controller
|
name: ingress-nginx-controller
|
||||||
path: ./kubernetes/infrastructure/ingress-nginx/patches/patches-service-ports.yaml
|
patch: |
|
||||||
|
- op: add
|
||||||
|
path: "/spec/ports/-"
|
||||||
|
value:
|
||||||
|
name: capacitor-tcp-9000
|
||||||
|
nodePort: 31555
|
||||||
|
port: 9000
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 9000
|
||||||
- target:
|
- target:
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
name: ingress-nginx-controller
|
name: ingress-nginx-controller
|
||||||
path: ./kubernetes/infrastructure/ingress-nginx/patches/patches-deployment-ports.yaml
|
patch: |
|
||||||
|
- op: add
|
||||||
|
path: "/spec/template/spec/containers/[0]/ports/-"
|
||||||
|
value:
|
||||||
|
containerPort: 9000
|
||||||
|
name: capacitor
|
||||||
|
protocol: TCP
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
- op: add #action
|
|
||||||
path: "/spec/template/spec/containers/[0]/ports/-" #resouirce we want to change
|
|
||||||
value: #value we want to use for patching
|
|
||||||
containerPort: 9000
|
|
||||||
name: capacitor
|
|
||||||
protocol: TCP
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
- op: add #action
|
|
||||||
path: "/spec/ports/-" #resouirce we want to change
|
|
||||||
value: #value we want to use for patching
|
|
||||||
name: capacitor-tcp-9000
|
|
||||||
nodePort: 31555
|
|
||||||
port: 9000
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 9000
|
|
||||||
Reference in New Issue
Block a user