Merge "Add new label to fm-rest-api pods"

This commit is contained in:
Zuul 2024-07-21 22:44:52 +00:00 committed by Gerrit Code Review
commit b546c75352
2 changed files with 4 additions and 0 deletions

View File

@ -33,7 +33,10 @@ spec:
template:
metadata:
labels:
app.starlingx.io/component: {{ ternary "application" "platform" .Values.labels.isApplication }}
{{ tuple $envAll "fm" "fmapi" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
annotations:
configchecksum: {{ toYaml .Values.labels.isApplication | sha256sum | trunc 63 }}
spec:
serviceAccountName: {{ $serviceAccountName }}
initContainers:

View File

@ -7,6 +7,7 @@
# Declare variables to be passed into your templates.
labels:
isApplication: false
fm_api:
node_selector_key: openstack-control-plane
node_selector_value: enabled