mirror of
https://github.com/mastodon/chart
synced 2025-03-15 13:31:51 +00:00
Add ability to add labels to all deployed pods at a global level
This commit is contained in:
parent
c3896ab570
commit
b6c887e83f
|
@ -53,6 +53,9 @@ spec:
|
||||||
{{- include "mastodon.globalLabels" $context | nindent 8 }}
|
{{- include "mastodon.globalLabels" $context | nindent 8 }}
|
||||||
{{- include "mastodon.selectorLabels" $context | nindent 8 }}
|
{{- include "mastodon.selectorLabels" $context | nindent 8 }}
|
||||||
{{- include "mastodon.statsdExporterLabels" $context | nindent 8 }}
|
{{- include "mastodon.statsdExporterLabels" $context | nindent 8 }}
|
||||||
|
{{- with $context.Values.mastodon.podLabels }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with $context.Values.mastodon.sidekiq.podLabels }}
|
{{- with $context.Values.mastodon.sidekiq.podLabels }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -40,6 +40,9 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
{{- include "mastodon.globalLabels" . | nindent 8 }}
|
{{- include "mastodon.globalLabels" . | nindent 8 }}
|
||||||
{{- include "mastodon.selectorLabels" . | nindent 8 }}
|
{{- include "mastodon.selectorLabels" . | nindent 8 }}
|
||||||
|
{{- with .Values.mastodon.podLabels }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.mastodon.streaming.podLabels }}
|
{{- with .Values.mastodon.streaming.podLabels }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -42,6 +42,9 @@ spec:
|
||||||
{{- include "mastodon.globalLabels" . | nindent 8 }}
|
{{- include "mastodon.globalLabels" . | nindent 8 }}
|
||||||
{{- include "mastodon.selectorLabels" . | nindent 8 }}
|
{{- include "mastodon.selectorLabels" . | nindent 8 }}
|
||||||
{{- include "mastodon.statsdExporterLabels" . | nindent 8 }}
|
{{- include "mastodon.statsdExporterLabels" . | nindent 8 }}
|
||||||
|
{{- with .Values.mastodon.podLabels }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.mastodon.web.podLabels }}
|
{{- with .Values.mastodon.web.podLabels }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -13,6 +13,8 @@ image:
|
||||||
mastodon:
|
mastodon:
|
||||||
# Labels added to every Mastodon-related object
|
# Labels added to every Mastodon-related object
|
||||||
labels: {}
|
labels: {}
|
||||||
|
# Labes added to every deployed mastodon pod
|
||||||
|
podLabels: {}
|
||||||
|
|
||||||
# -- create an initial administrator user; the password is autogenerated and will
|
# -- create an initial administrator user; the password is autogenerated and will
|
||||||
# have to be reset
|
# have to be reset
|
||||||
|
|
Loading…
Reference in New Issue
Block a user