diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-09-01 08:24:52 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-01 08:24:52 +0000 |
commit | ee3bc7e90b6f08a99be2e35ef6db4d7204c659ae (patch) | |
tree | 0bec78aff33e696b8c3dab0c381a49743fb0d727 /kubernetes/sdnc/components/sdnc-prom/templates | |
parent | 40274dba45d21fc5e70cfc79a4c40ae69056329a (diff) | |
parent | 9b797d64589c134d21b3cf2c94a81d65e19c6fbb (diff) |
Merge "[SDNC] oom for clustered disaggregated SDN-R"
Diffstat (limited to 'kubernetes/sdnc/components/sdnc-prom/templates')
-rw-r--r-- | kubernetes/sdnc/components/sdnc-prom/templates/deployment.yaml | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/kubernetes/sdnc/components/sdnc-prom/templates/deployment.yaml b/kubernetes/sdnc/components/sdnc-prom/templates/deployment.yaml index c702012694..6c594ebd60 100644 --- a/kubernetes/sdnc/components/sdnc-prom/templates/deployment.yaml +++ b/kubernetes/sdnc/components/sdnc-prom/templates/deployment.yaml @@ -16,24 +16,15 @@ apiVersion: apps/v1 kind: Deployment -metadata: - name: {{ include "common.fullname" . }} - namespace: {{ include "common.namespace" . }} - labels: - app: {{ include "common.name" . }} - chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} - release: {{ include "common.release" . }} - heritage: {{ .Release.Service }} +metadata: {{- include "common.resourceMetadata" . | nindent 2 }} spec: selector: matchLabels: app: {{ include "common.name" . }} replicas: 1 + selector: {{- include "common.selectors" . | nindent 4 }} template: - metadata: - labels: - app: {{ include "common.name" . }} - release: {{ include "common.release" . }} + metadata: {{- include "common.templateMetadata" . | nindent 6 }} spec: initContainers: - command: |