mirror of
https://github.com/stakater/Reloader.git
synced 2026-08-20 20:46:30 +00:00
Include annotations in templating.
for example, If I have istio enabled in a namespace, and I want to deploy reloader in that, It doesn't make sense to include envoy there. So there should be an option to add `sidecar.istio.io/inject: "false"` annotation.
This commit is contained in:
committed by
rjshrjndrn
parent
ded923b12a
commit
68d0349793
@@ -26,6 +26,10 @@ spec:
|
||||
{{- end }}
|
||||
template:
|
||||
metadata:
|
||||
{{- if .Values.reloader.deployment.pod.annotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.reloader.deployment.pod.annotations | indent 8 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{ include "reloader-labels.chart" . | indent 8 }}
|
||||
{{- if .Values.reloader.deployment.labels }}
|
||||
|
||||
@@ -67,6 +67,8 @@ reloader:
|
||||
# cpu: "10m"
|
||||
# memory: "128Mi"
|
||||
resources: {}
|
||||
pod:
|
||||
annotations: {}
|
||||
|
||||
rbac:
|
||||
enabled: true
|
||||
|
||||
@@ -67,6 +67,8 @@ reloader:
|
||||
# cpu: "10m"
|
||||
# memory: "128Mi"
|
||||
resources: {}
|
||||
pod:
|
||||
annotations: {}
|
||||
|
||||
rbac:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user