Merge "Add label platform/application to pods"

This commit is contained in:
Zuul 2023-12-13 13:42:20 +00:00 committed by Gerrit Code Review
commit 5eafcbba69
3 changed files with 11 additions and 0 deletions

View File

@ -24,6 +24,10 @@ spec:
labels:
app: {{ include "notification.name" . }}
release: {{ .Release.Name }}
app.starlingx.io/component: {{ ternary "application" "platform" .Values.labels.isApplication}}
annotations: {
configchecksum: {{ toYaml .Values.labels | sha256sum | trunc 63 }}
}
spec:
imagePullSecrets:
- name: {{ .Values.ptptracking.imagePullSecrets}}

View File

@ -20,6 +20,10 @@ spec:
metadata:
labels:
app: rabbitmq
app.starlingx.io/component: {{ ternary "application" "platform" .Values.labels.isApplication}}
annotations: {
configchecksum: {{ toYaml .Values.labels | sha256sum | trunc 63 }}
}
spec:
imagePullSecrets:
- name: {{ .Values.registration.imagePullSecrets }}

View File

@ -19,6 +19,9 @@ fullnameOverride: ""
global:
namespace: notification
labels:
isApplication: false
registration:
imagePullSecrets: default-registry-key
image: