aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates
diff options
context:
space:
mode:
authorKeren Joseph <keren.joseph@amdocs.com>2017-09-12 10:13:15 +0300
committerKeren Joseph <keren.joseph@amdocs.com>2017-09-12 13:24:47 +0300
commit59ffd500ea34c201fbb3edc39e64655fa8381be0 (patch)
treefca37264aba79ef4cc753470d11a095ddb996fd7 /kubernetes/policy/templates
parentf8bda5c9ee1b5a0519fa5e7faa0fdd5b889e4e85 (diff)
moving certs and keys to k8s secrets
changed location of used certs and keys files, updated deploy yamls and create/delete all Issue-ID: OOM-293 Change-Id: I53766b7028d6b725bf381875105b196246ff2ee1 Signed-off-by: Keren Joseph <keren.joseph@amdocs.com>
Diffstat (limited to 'kubernetes/policy/templates')
-rw-r--r--kubernetes/policy/templates/dep-drools.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/policy/templates/dep-drools.yaml b/kubernetes/policy/templates/dep-drools.yaml
index 75055c10d8..7da046e156 100644
--- a/kubernetes/policy/templates/dep-drools.yaml
+++ b/kubernetes/policy/templates/dep-drools.yaml
@@ -66,6 +66,8 @@ spec:
volumeMounts:
- mountPath: /tmp/policy-install/config
name: drools
+ - mountPath: /tmp/policy-install/config/policy-keystore
+ name: drools-keystore
- mountPath: /usr/share/maven/conf/settings.xml
name: drools-settingsxml
volumes:
@@ -75,5 +77,8 @@ spec:
- name: drools
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/policy/opt/policy/config/drools/
+ - name: drools-keystore
+ secret:
+ secretName: secret-{{ .Values.nsPrefix }}-policy
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"