Merge "Add new label to fm-rest-api pods"
This commit is contained in:
commit
b546c75352
@ -33,7 +33,10 @@ spec:
|
|||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
app.starlingx.io/component: {{ ternary "application" "platform" .Values.labels.isApplication }}
|
||||||
{{ tuple $envAll "fm" "fmapi" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
{{ tuple $envAll "fm" "fmapi" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
||||||
|
annotations:
|
||||||
|
configchecksum: {{ toYaml .Values.labels.isApplication | sha256sum | trunc 63 }}
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: {{ $serviceAccountName }}
|
serviceAccountName: {{ $serviceAccountName }}
|
||||||
initContainers:
|
initContainers:
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# Declare variables to be passed into your templates.
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
|
isApplication: false
|
||||||
fm_api:
|
fm_api:
|
||||||
node_selector_key: openstack-control-plane
|
node_selector_key: openstack-control-plane
|
||||||
node_selector_value: enabled
|
node_selector_value: enabled
|
||||||
|
Loading…
x
Reference in New Issue
Block a user