caddy: fix external ip annotation

This commit is contained in:
2026-05-08 10:49:26 +02:00
parent 4bd0274714
commit 51b22d769e
2 changed files with 30 additions and 21 deletions

View File

@@ -17,3 +17,14 @@ spec:
valuesFrom:
- kind: Secret
name: caddy-values
# Patch the Service to add loadBalancerIP since the chart doesn't support it
postRenderers:
- kustomize:
patches:
- target:
kind: Service
name: caddy
patch: |
- op: add
path: /spec/loadBalancerIP
value: "10.1.2.152"