Merge pull request #78 from 3dwardch3ng/app/capacitor
expose port 9000 as the port forward for service capacitor
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
- 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
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
- 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
|
||||||
@@ -17,4 +17,13 @@ spec:
|
|||||||
postBuild:
|
postBuild:
|
||||||
substituteFrom:
|
substituteFrom:
|
||||||
- kind: ConfigMap
|
- kind: ConfigMap
|
||||||
name: ingress-nginx-values
|
name: ingress-nginx-values
|
||||||
|
patches:
|
||||||
|
- target:
|
||||||
|
kind: Service
|
||||||
|
name: ingress-nginx-controller
|
||||||
|
path: ./kubernetes/infrastructure/ingress-nginx/config/patches-service-ports.yaml
|
||||||
|
- target:
|
||||||
|
kind: Deployment
|
||||||
|
name: ingress-nginx-controller
|
||||||
|
path: ./kubernetes/infrastructure/ingress-nginx/config/patches-deployment-ports.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user