aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-09-19 17:07:31 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-19 17:07:31 +0000
commit5893da8ddf5bb76265366ec6e7007084055d786b (patch)
tree822673bf443a1fe27e9162bf125d2b97957704f6 /kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml
parentb1bfc0b96c65484ad61efb57ca89e1dd17b246f6 (diff)
parent0d92fb7ed1b3b7f11d5bba72cff571b52facf251 (diff)
Merge "Fixed mount point for policy-apex-pdp config file"
Diffstat (limited to 'kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml')
-rw-r--r--kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml8
1 files changed, 2 insertions, 6 deletions
diff --git a/kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml b/kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml
index d7604d3231..8063c83817 100644
--- a/kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml
+++ b/kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml
@@ -69,9 +69,8 @@ spec:
readOnly: true
- mountPath: /var/log/onap
name: policy-logs
- - mountPath: /home/apexuser/config/config.json
+ - mountPath: /home/apexuser/config
name: apexconfig
- subpath: config.json
resources:
{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
{{- if .Values.nodeSelector }}
@@ -91,9 +90,6 @@ spec:
- name: apexconfig
configMap:
name: {{ include "common.fullname" . }}-configmap
- items:
- - key: config.json
- path: config.json
- mode: 0755
+ defaultMode: 0755
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"