aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/helm/starters
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2024-04-12 14:24:52 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2024-04-13 11:24:35 +0200
commitf8a899c48c91681eb61f3968583862ffc9e9ad73 (patch)
treeea01fd8e6064689aff77743661d1d5897d908afa /kubernetes/helm/starters
parent53fe20dc15c0e23c27bee5c1450340e454b8945b (diff)
[COMMON] Remove hostPath entries
As hostPath volumes violate Cluster policies, they are not allowed within pod definitions. In our case only the "etc/localtime" is mounted to get the timezone of the host, which is not required. Issue-ID: OOM-3287 Change-Id: I6c8c8ea4e982d7e95e73f5fed7fc07ed47ceaab7 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/helm/starters')
-rw-r--r--kubernetes/helm/starters/onap-app/templates/deployment.yaml10
1 files changed, 2 insertions, 8 deletions
diff --git a/kubernetes/helm/starters/onap-app/templates/deployment.yaml b/kubernetes/helm/starters/onap-app/templates/deployment.yaml
index 2e47ba63e6..c4d0eb5d3f 100644
--- a/kubernetes/helm/starters/onap-app/templates/deployment.yaml
+++ b/kubernetes/helm/starters/onap-app/templates/deployment.yaml
@@ -70,11 +70,8 @@ spec:
#Example environment variable passed to container
# - name: DEBUG_FLAG
# value: {{ .Values.global.debugEnabled | default .Values.debugEnabled | quote }}
- volumeMounts:
- - mountPath: /etc/localtime
- name: localtime
- readOnly: true
#Example config file mount into container
+# volumeMounts:
# - mountPath: /opt/app/application.properties
# name: {{ include "common.name" . }}-config
# subPath: application.properties
@@ -88,11 +85,8 @@ spec:
{{ toYaml .Values.affinity | indent 10 }}
{{- end }}
- volumes:
- - name: localtime
- hostPath:
- path: /etc/localtime
#Example config file mount into container
+# volumes:
# - name: {{ include "common.fullname" . }}-config
# configMap:
# name: {{ include "common.fullname" . }}-configmap