Skip to content
Permalink
Browse files

ref(label) Use `openebs.io/component-name=X` label for YAML & charts

- Labels which are used by helm internally haven't been changed
- Just a new set of labels are added, which can be used by third-party
  clients, scripts for a variety of use cases such as log-aggregation,
  monitoring, etc

Signed-off-by: Harsh Vardhan <harsh.vardhan@mayadata.io>
  • Loading branch information...
vharsh authored and kmova committed Dec 19, 2018
1 parent 76b679e commit f4e6cb60350f974dc69dd22a2aa7acae766f675d
@@ -8,6 +8,7 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
component: ndm
openebs.io/component-name: ndm
spec:
selector:
matchLabels:
@@ -8,6 +8,7 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
component: apiserver
openebs.io/component-name: maya-apiserver
spec:
replicas: {{ .Values.apiserver.replicas }}
selector:
@@ -8,6 +8,7 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
component: provisioner
openebs.io/component-name: openebs-provisioner
spec:
replicas: {{ .Values.provisioner.replicas }}
selector:
@@ -8,6 +8,7 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
component: snapshot-operator
openebs.io/component-name: openebs-snapshot-operator
spec:
replicas: {{ .Values.snapshotOperator.replicas }}
selector:
@@ -79,6 +79,7 @@ spec:
metadata:
labels:
name: maya-apiserver
openebs.io/component-name: maya-apiserver
spec:
serviceAccountName: openebs-maya-operator
containers:
@@ -188,6 +189,7 @@ spec:
metadata:
labels:
name: openebs-provisioner
openebs.io/component-name: openebs-provisioner
spec:
serviceAccountName: openebs-maya-operator
containers:
@@ -240,6 +242,7 @@ spec:
metadata:
labels:
name: openebs-snapshot-operator
openebs.io/component-name: openebs-snapshot-operator
spec:
serviceAccountName: openebs-maya-operator
containers:
@@ -336,6 +339,7 @@ spec:
metadata:
labels:
name: openebs-ndm
openebs.io/component-name: ndm
spec:
# By default the node-disk-manager will be run on all kubernetes nodes
# If you would like to limit this to only some nodes, say the nodes

0 comments on commit f4e6cb6

Please sign in to comment.
You can’t perform that action at this time.