From aa6697a64c9e3cfa1b036818a46cc78d98b4cf62 Mon Sep 17 00:00:00 2001 From: Sergio Talens-Oliag Date: Thu, 1 May 2025 15:46:46 +0200 Subject: [PATCH] dummyhttp: include patches to add reloader annotations and change the ingress hostname --- .../overlays/test/kustomization.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/apps/dummyhttp/overlays/test/kustomization.yaml b/apps/dummyhttp/overlays/test/kustomization.yaml index 4e4f197..d9b3878 100644 --- a/apps/dummyhttp/overlays/test/kustomization.yaml +++ b/apps/dummyhttp/overlays/test/kustomization.yaml @@ -2,3 +2,22 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ../../base +patches: +# Add reloader annotations +- target: + kind: Deployment + name: dummyhttp + patch: |- + - op: add + path: /metadata/annotations + value: + reloader.stakater.com/auto: "true" + reloader.stakater.com/rollout-strategy: "restart" +# Change the ingress host name +- target: + kind: Ingress + name: dummyhttp + patch: |- + - op: replace + path: /spec/rules/0/host + value: test-dummyhttp.localhost.mixinet.net