diff --git a/stx-ptp-notification-helm/stx-ptp-notification-helm/helm-charts/ptp-notification/templates/daemonset.yaml b/stx-ptp-notification-helm/stx-ptp-notification-helm/helm-charts/ptp-notification/templates/daemonset.yaml index d8badfa..3e2b940 100644 --- a/stx-ptp-notification-helm/stx-ptp-notification-helm/helm-charts/ptp-notification/templates/daemonset.yaml +++ b/stx-ptp-notification-helm/stx-ptp-notification-helm/helm-charts/ptp-notification/templates/daemonset.yaml @@ -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}} diff --git a/stx-ptp-notification-helm/stx-ptp-notification-helm/helm-charts/ptp-notification/templates/deployment.yaml b/stx-ptp-notification-helm/stx-ptp-notification-helm/helm-charts/ptp-notification/templates/deployment.yaml index 7a5a7d0..d181101 100644 --- a/stx-ptp-notification-helm/stx-ptp-notification-helm/helm-charts/ptp-notification/templates/deployment.yaml +++ b/stx-ptp-notification-helm/stx-ptp-notification-helm/helm-charts/ptp-notification/templates/deployment.yaml @@ -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 }} diff --git a/stx-ptp-notification-helm/stx-ptp-notification-helm/helm-charts/ptp-notification/values.yaml b/stx-ptp-notification-helm/stx-ptp-notification-helm/helm-charts/ptp-notification/values.yaml index 28a4011..b5ba742 100644 --- a/stx-ptp-notification-helm/stx-ptp-notification-helm/helm-charts/ptp-notification/values.yaml +++ b/stx-ptp-notification-helm/stx-ptp-notification-helm/helm-charts/ptp-notification/values.yaml @@ -19,6 +19,9 @@ fullnameOverride: "" global: namespace: notification +labels: + isApplication: false + registration: imagePullSecrets: default-registry-key image: