1
0
Fork 0

dummyhttp: include patches to add reloader annotations and change the ingress hostname

This commit is contained in:
Sergio Talens-Oliag 2025-05-01 15:46:46 +02:00
parent e80e08a5be
commit aa6697a64c
Signed by: sto
GPG key ID: 821AEE0FD167FBDF

View file

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