summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
7526ba2)
compatible with wrcp.
Start up flask app with ssl configuration files.
INF-312.
Signed-off-by: dliu5 <david.liu@windriver.com>
Change-Id: I0f4383e5c0ffbe65fcd648ba916a64edc70db7d1
-flask run --host=0.0.0.0 --port=80
+flask run --host=0.0.0.0 --port=80 --cert /configs/ca.cert --key /configs/server.key
- helm install o2service o2/charts --set-file caconfig="./imsserver.crt" --set-file applicationconfig="./app.conf" --set-file serverkeyconfig="./imsserver.key" -f o2service-override.yaml
+ config_data=`cat ./path/to/app.conf`
+ certification_data=`cat ./path/to/imsserver.crt`
+ key_data=`cat ./path/to/imsserver.key`
+ helm install o2service o2/charts --set caconfig="$certification_data" --set applicationconfig="$config_data" --set serverkeyconfig="$key_data" -f o2service-override.yaml
helm list |grep o2service
kubectl -n ${NAMESPACE} get pods |grep o2api
kubectl -n ${NAMESPACE} get services |grep o2api
helm list |grep o2service
kubectl -n ${NAMESPACE} get pods |grep o2api
kubectl -n ${NAMESPACE} get services |grep o2api