Merge pull request #80 from 3dwardch3ng/app/capacitor

App/capacitor
This commit is contained in:
2024-06-12 02:21:24 +10:00
committed by GitHub
3 changed files with 16 additions and 16 deletions

View File

@@ -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/-"
value:
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

View File

@@ -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

View File

@@ -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