summaryrefslogtreecommitdiffstats
path: root/osdfapp.sh
diff options
context:
space:
mode:
authorvrvarma <vikas.varma@att.com>2020-03-27 12:28:58 -0400
committervrvarma <vikas.varma@att.com>2020-03-27 12:29:47 -0400
commitddac631c097167df890cf6814df301b61a0815c7 (patch)
tree22db5ad58ada6c861c108973a65f072ef944489e /osdfapp.sh
parentd682a8dd79dacac6c74832e402a845de52c2f6bf (diff)
optf-osdf pod failing to start in k8s env2.0.2
Change-Id: I4c9f4f5df5462419e39b063666ff5f5187ad71ef Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-729
Diffstat (limited to 'osdfapp.sh')
-rwxr-xr-xosdfapp.sh18
1 files changed, 7 insertions, 11 deletions
diff --git a/osdfapp.sh b/osdfapp.sh
index 3dc4679..7e3284f 100755
--- a/osdfapp.sh
+++ b/osdfapp.sh
@@ -58,18 +58,14 @@ set -e
LOGS=logs
mkdir -p $LOGS
-if [ -e /opt/app/ssl_cert/aaf_root_ca.cer ]; then
- #assuming that this would be an ubuntu vm.
- cp /opt/app/ssl_cert/aaf_root_ca.cer /usr/local/share/ca-certificates/aafcacert.crt
- chmod 444 /usr/local/share/ca-certificates/aafcacert.crt
- update-ca-certificates
-fi
+#if [ -e /opt/app/ssl_cert/aaf_root_ca.cer ]; then
+# #assuming that this would be an ubuntu vm.
+# cp /opt/app/ssl_cert/aaf_root_ca.cer /usr/local/share/ca-certificates/aafcacert.crt
+# chmod 444 /usr/local/share/ca-certificates/aafcacert.crt
+# update-ca-certificates
+#fi
-if [ -e /etc/ssl/certs/aafcacert.pem ]; then
- export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
-else
- export REQUESTS_CA_BUNDLE=/opt/app/ssl_cert/aaf_root_ca.cer
-fi
+export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
if [ ! -z "$EXEC_FILE" ]
then