dummyhttp: include patches to add reloader annotations and change the ingress hostname
This commit is contained in:
parent
e80e08a5be
commit
aa6697a64c
1 changed files with 19 additions and 0 deletions
|
@ -2,3 +2,22 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../../base
|
- ../../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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue