fixing errors
This commit is contained in:
@@ -22,8 +22,22 @@ spec:
|
||||
- target:
|
||||
kind: Service
|
||||
name: ingress-nginx-controller
|
||||
path: ./kubernetes/infrastructure/ingress-nginx/patches/patches-service-ports.yaml
|
||||
patch: |
|
||||
- op: add
|
||||
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
|
||||
- target:
|
||||
kind: Deployment
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user