Revert "fixing errors"

This reverts commit ef0929dfbc.
This commit is contained in:
2024-06-12 02:50:05 +10:00
parent ef0929dfbc
commit c912c7fce1
3 changed files with 16 additions and 2 deletions

View File

@@ -24,8 +24,8 @@ spec:
name: ingress-nginx-controller
patch: |
- op: add
path: "/spec/ports/-"
value:
path: "/spec/ports/-" #resouirce we want to change
value: #value we want to use for patching
name: capacitor-tcp-9000
nodePort: 31555
port: 9000

View File

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

View File

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