Pass flags to the reloader server
This commit is contained in:
parent
5044a12792
commit
f750581dd4
1 changed files with 12 additions and 0 deletions
|
@ -3,3 +3,15 @@ kind: Kustomization
|
|||
namespace: tools
|
||||
resources:
|
||||
- ../../base
|
||||
patches:
|
||||
# Add flags to reload workloads when ConfigMaps or Secrets are created or deleted
|
||||
- target:
|
||||
kind: Deployment
|
||||
name: reloader-reloader
|
||||
patch: |-
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/args
|
||||
value:
|
||||
- '--reload-on-create=true'
|
||||
- '--reload-on-delete=true'
|
||||
- '--reload-strategy=annotations'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue