Enable tls for glance storage init

Change-Id: Iaa84e16c60cd99cb9e2f391ab147cf84d1163ac7
This commit is contained in:
Ritchie, Frank (fr801x) 2021-03-19 15:31:16 -04:00
parent 9c3940a488
commit 919678718a
3 changed files with 7 additions and 1 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Glance
name: glance
version: 0.1.6
version: 0.1.7
home: https://docs.openstack.org/glance/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Glance/OpenStack_Project_Glance_vertical.png
sources:

View File

@ -24,6 +24,11 @@ if [ "x$STORAGE_BACKEND" == "xrbd" ]; then
trap cleanup EXIT
fi
SCHEME={{ tuple "object_store" "internal" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" }}
if [[ "$SCHEME" == "https" && -f /etc/ssl/certs/openstack-helm.crt ]]; then
export CURL_CA_BUNDLE="/etc/ssl/certs/openstack-helm.crt"
fi
set -ex
if [ "x$STORAGE_BACKEND" == "xpvc" ]; then
echo "No action required."

View File

@ -7,3 +7,4 @@ glance:
- 0.1.4 Update RBAC apiVersion from /v1beta1 to /v1
- 0.1.5 Change Issuer to ClusterIssuer
- 0.1.6 Update glance default policy values
- 0.1.7 Update storage init script with cacert