summaryrefslogtreecommitdiffstats
path: root/kubernetes/oof/templates/deployment.yaml
diff options
context:
space:
mode:
authorvrvarma <vv8305@att.com>2019-04-25 23:08:01 -0400
committerAlexis de Talhouƫt <adetalhouet89@gmail.com>2019-05-13 15:30:31 +0000
commit8f5004939a58a7a3d7c2398678a449a1767debe9 (patch)
tree311d40ad717766134c6292dbb49333e44c2cffec /kubernetes/oof/templates/deployment.yaml
parent4f897651438c1f8a199f471dd16b150585353116 (diff)
Configuration changes to make osdf ssl enabled
Add common_config.yaml file to enable SSL Add the cert and key files Modify the deployment to mount the cert files Increment the docker image version Securing HAS api with https Modifying the health check protocol to https and credentials Updating certs to add has hostnames Change-Id: I860a0c436234b31d675ca0447fa92d511be0b140 Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-293
Diffstat (limited to 'kubernetes/oof/templates/deployment.yaml')
-rw-r--r--kubernetes/oof/templates/deployment.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/kubernetes/oof/templates/deployment.yaml b/kubernetes/oof/templates/deployment.yaml
index d4558b72dd..3c5306e644 100644
--- a/kubernetes/oof/templates/deployment.yaml
+++ b/kubernetes/oof/templates/deployment.yaml
@@ -95,6 +95,15 @@ spec:
- mountPath: /opt/app/ssl_cert/aaf_root_ca.cer
name: {{ include "common.fullname" . }}-config
subPath: aaf_root_ca.cer
+ - mountPath: /opt/app/ssl_cert/org.onap.oof.crt
+ name: {{ include "common.fullname" . }}-config
+ subPath: org.onap.oof.crt
+ - mountPath: /opt/app/ssl_cert/org.onap.oof.key
+ name: {{ include "common.fullname" . }}-config
+ subPath: org.onap.oof.key
+ - mountPath: /opt/osdf/config/common_config.yaml
+ name: {{ include "common.fullname" . }}-config
+ subPath: common_config.yaml
resources:
{{ include "common.resources" . | indent 12 }}
{{- if .Values.nodeSelector }}
@@ -118,5 +127,11 @@ spec:
path: osdf_config.yaml
- key: aaf_root_ca.cer
path: aaf_root_ca.cer
+ - key: common_config.yaml
+ path: common_config.yaml
+ - key: org.onap.oof.crt
+ path: org.onap.oof.crt
+ - key: org.onap.oof.key
+ path: org.onap.oof.key
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"