fix patches

This commit is contained in:
2024-06-12 10:57:21 +10:00
parent 7b2086a373
commit 755d401631
3 changed files with 9 additions and 33 deletions

View File

@@ -8,7 +8,7 @@ data:
"853": "adguard-home/adguard-home:853"
"5443": "adguard-home/adguard-home:5443"
"6060": "adguard-home/adguard-home:6060"
"9000": "flux-system/capacitor:9000"
"9099": "flux-system/capacitor:9000"
"10080": "adguard-home/adguard-home:80"
"10443": "adguard-home/adguard-home:443"
"13000": "adguard-home/adguard-home::3000"

View File

@@ -20,34 +20,14 @@ spec:
name: ingress-nginx-values
patches:
- target:
kind: HelmRelease
name: ingress-nginx
kind: Service
name: ingress-nginx-controller
namespace: ingress-nginx
patch: |
- op: add
path: /spec/postRenderers/0//kustomize/patches/-
path: /spec/ports/-
value:
target:
kind: Service
name: ingress-nginx-controller
patch: |
- op: add
path: "/spec/ports/-"
value:
name: capacitor-tcp-9000
nodePort: 31555
port: 9000
protocol: TCP
targetPort: 9000
- op: add
path: /spec/postRenderers/0/kustomize/patches/-
value:
target:
kind: Deployment
name: ingress-nginx-controller
patch: |
- op: add
path: "/spec/template/spec/containers/0/ports/-"
value:
containerPort: 9000
name: capacitor
protocol: TCP
name: proxied-tcp-9099
port: 9099
targetPort: 9099
protocol: TCP

View File

@@ -97,7 +97,3 @@ spec:
value: "8192"
podLabels:
rpi5.cluster.policy/ingress-namespace: "true"
postRenderers:
- kustomize:
patches: []