Merge "Fixed mount point for policy-apex-pdp config file"
authorAlexis de Talhouët <alexis.de_talhouet@bell.ca>
Wed, 19 Sep 2018 17:07:31 +0000 (17:07 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 19 Sep 2018 17:07:31 +0000 (17:07 +0000)
1  2 
kubernetes/policy/charts/policy-apex-pdp/templates/statefulset.yaml

@@@ -69,11 -69,10 +69,10 @@@ 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 .Values.resources | indent 12 }}
 +{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
          {{- if .Values.nodeSelector }}
          nodeSelector:
  {{ toYaml .Values.nodeSelector | indent 10 }}
@@@ -91,9 -90,6 +90,6 @@@
          - 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"