mirror of
https://github.com/stakater/Reloader.git
synced 2026-08-23 22:16:45 +00:00
18 lines
1.2 KiB
Plaintext
18 lines
1.2 KiB
Plaintext
- For a `Deployment` called `foo` have a `ConfigMap` called `foo-configmap`. Then add this annotation to main metadata of your `Deployment`
|
|
{{ .Values.reloader.custom_annotations.configmap | default "configmap.reloader.stakater.com/reload" }}: "foo-configmap"
|
|
|
|
- For a `Deployment` called `foo` have a `Secret` called `foo-secret`. Then add this annotation to main metadata of your `Deployment`
|
|
{{ .Values.reloader.custom_annotations.secret | default "secret.reloader.stakater.com/reload" }}: "foo-secret"
|
|
|
|
- After successful installation, your pods will get rolling updates when a change in data of configmap or secret will happen.
|
|
{{- if .Values.enterprise.enabled }}
|
|
{{- $usingCommunityImage := ternary (eq .Values.image.name "stakater/reloader") (eq .Values.image.repository "ghcr.io/stakater/reloader") (not (empty .Values.global.imageRegistry)) }}
|
|
{{- if $usingCommunityImage }}
|
|
|
|
WARNING: enterprise.enabled=true but the operator image still points at the
|
|
community image. The operator will run, but without enterprise features. To use
|
|
the enterprise operator, override {{ if .Values.global.imageRegistry }}image.name{{ else }}image.repository{{ end }}/image.tag — see the
|
|
chart README "Enterprise mode".
|
|
{{- end }}
|
|
{{- end }}
|