Merge "[CPS] New Delhi release changes"
[oom.git] / kubernetes / sdnc / components / sdnc-web / templates / deployment.yaml
index cdbe90e..9063282 100644 (file)
@@ -30,7 +30,7 @@ spec:
         command:
         - /app/ready.py
         args:
-        - --container-name
+        - --service-name
         - {{ .Values.config.sdncChartName }}
         env:
         - name: NAMESPACE
@@ -92,11 +92,6 @@ spec:
             value: "{{ .Values.config.oauth.odluxRbac.enabled | default "false" }}"
           - name: SDNRWEBSOCKETPORT
             value: "{{ .Values.sdnrWebsocketPort | default "8182" }}"
-          volumeMounts:
-          - mountPath: /etc/localtime
-            name: localtime
-            readOnly: true
-
           resources: {{ include "common.resources" . | nindent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector: {{ toYaml .Values.nodeSelector | nindent 8 }}
@@ -105,9 +100,4 @@ spec:
       affinity: {{ toYaml .Values.affinity | nindent 8 }}
       {{- end }}
       serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
-      volumes:
-      - name: localtime
-        hostPath:
-          path: /etc/localtime
-
       {{- include "common.imagePullSecrets" . | nindent 6 }}