Assign unique set of labels to k8s deployments #19703 (#19706)

This commit is contained in:
Alex Nordlund
2022-11-08 17:21:06 +01:00
committed by GitHub
parent f4b78028a3
commit 476e74b4c4
10 changed files with 18 additions and 10 deletions

View File

@@ -11,7 +11,8 @@ spec:
selector:
matchLabels:
{{- include "mastodon.selectorLabels" . | nindent 6 }}
component: rails
app.kubernetes.io/component: web
app.kubernetes.io/part-of: rails
template:
metadata:
annotations:
@@ -22,7 +23,8 @@ spec:
rollme: {{ randAlphaNum 5 | quote }}
labels:
{{- include "mastodon.selectorLabels" . | nindent 8 }}
component: rails
app.kubernetes.io/component: web
app.kubernetes.io/part-of: rails
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets: