X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2Fhelm%2Fa1simulator%2Ftemplates%2Fdeployment.yaml;h=2b399ae6266927eab4aef9a38d068d26aca30d42;hb=65cb60991d2db2d2a4fafed25ea6c25a2207eb77;hp=998d6bf651b64e0de819d79b3cccf658caeed08e;hpb=5e10316729da47c17161788a7185a70438506742;p=it%2Fdep.git diff --git a/nonrtric/helm/a1simulator/templates/deployment.yaml b/nonrtric/helm/a1simulator/templates/deployment.yaml index 998d6bf6..2b399ae6 100644 --- a/nonrtric/helm/a1simulator/templates/deployment.yaml +++ b/nonrtric/helm/a1simulator/templates/deployment.yaml @@ -17,11 +17,11 @@ kind: Deployment apiVersion: apps/v1 metadata: - name: deployment-{{ .Values.a1simulator.instanceName }} - namespace: nonrtric + name: {{ .Release.Name }}-{{ .Values.a1simulator.instanceName }} + namespace: {{ include "common.namespace.nonrtric" . }} generation: 1 labels: - app: nonrtric-{{ include "common.name.a1simulator" . }} + app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.a1simulator" . }} chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} @@ -31,12 +31,12 @@ spec: replicas: 1 selector: matchLabels: - app: nonrtric-{{ include "common.name.a1simulator" . }} + app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.a1simulator" . }} release: {{ .Release.Name }} template: metadata: labels: - app: nonrtric-{{ include "common.name.a1simulator" . }} + app: {{ include "common.namespace.nonrtric" . }}-{{ include "common.name.a1simulator" . }} release: {{ .Release.Name }} spec: hostname: {{ include "common.name.a1simulator" . }}