X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-platform%2F50-RIC-Platform%2Fhelm%2Fappmgr%2Ftemplates%2Fdeployment.yaml;h=acce1325838b65ea34f05f034dc54b12d1d290a0;hb=d06b3e6b9bb5104c34037029aaa040dc96d48c86;hp=b425365a5b8807265d23e4dc79cabb6bce2e7a67;hpb=7f1e409379856025977fc8a6ea04ddb215f21a13;p=it%2Fdep.git diff --git a/ric-platform/50-RIC-Platform/helm/appmgr/templates/deployment.yaml b/ric-platform/50-RIC-Platform/helm/appmgr/templates/deployment.yaml index b425365a..acce1325 100644 --- a/ric-platform/50-RIC-Platform/helm/appmgr/templates/deployment.yaml +++ b/ric-platform/50-RIC-Platform/helm/appmgr/templates/deployment.yaml @@ -18,7 +18,7 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: {{ include "appmgr.fullname" . }} + name: {{ include "common.deploymentname.appmgr" . }} namespace: {{ include "common.namespace" . }} labels: app: {{ include "common.namespace" . }}-{{ include "common.name" . }} @@ -31,8 +31,6 @@ spec: matchLabels: app: {{ include "common.namespace" . }}-{{ include "common.name" . }} release: {{ .Release.Name }} - #app.kubernetes.io/name: {{ include "appmgr.name" . }} - #app.kubernetes.io/instance: {{ .Release.Name }} template: metadata: labels: @@ -40,6 +38,10 @@ spec: release: {{ .Release.Name }} spec: hostname: {{ .Chart.Name }} + hostAliases: + - ip: "137.135.91.204" + hostnames: + - "snapshot.helm.ranco-dev-tools.eastus.cloudapp.azure.com" imagePullSecrets: - name: {{ include "common.repositoryCred" . }} containers: @@ -52,14 +54,15 @@ spec: protocol: TCP volumeMounts: - name: config-volume - mountPath: {{ .Values.appmgr.appconfigpath }} + mountPath: {{ .Values.appmgr.appconfigpath }}/appmgr.yaml + subPath: appmgr.yaml - name: secret-volume mountPath: {{ .Values.appmgr.appsecretpath }} - name: cert-volume mountPath: {{ .Values.appmgr.appcertpath }} envFrom: - configMapRef: - name: {{ include "appmgr.fullname" . }}-appenv + name: {{ include "common.configmapname.appmgr" . }}-appenv livenessProbe: #exec: # command: @@ -80,7 +83,7 @@ spec: volumes: - name: config-volume configMap: - name: {{ include "appmgr.fullname" . }}-appconfig + name: {{ include "common.configmapname.appmgr" . }}-appconfig - name: secret-volume secret: secretName: {{ include "common.helmrepositorycred" . }}