Fix k8s-auth job
This patch set addresses a cross-repo conflict with the enablement of network policy in gate script override. Change-Id: I284d6b04940424a87e5b239ccc9d30ae01075f38 Signed-off-by: Tin Lam <tin@irrational.io>
This commit is contained in:
parent
1144ccbbb2
commit
653b84a2e1
@ -16,5 +16,35 @@
|
|||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
#NOTE: Move into openstack-helm root dir & Run keystone deployment script
|
# Install LDAP
|
||||||
cd "${OSH_PATH}"; ./tools/deployment/developer/ldap/080-keystone.sh
|
make ldap
|
||||||
|
|
||||||
|
: ${OSH_INFRA_EXTRA_HELM_ARGS:=""}
|
||||||
|
helm upgrade --install ldap ${OSH_INFRA_PATH}/ldap \
|
||||||
|
--namespace=openstack \
|
||||||
|
--set pod.replicas.server=1 \
|
||||||
|
--set bootstrap.enabled=true \
|
||||||
|
${OSH_INFRA_EXTRA_HELM_ARGS} \
|
||||||
|
${OSH_INFRA_EXTRA_HELM_ARGS_LDAP}
|
||||||
|
|
||||||
|
./tools/deployment/common/wait-for-pods.sh openstack
|
||||||
|
helm status ldap
|
||||||
|
|
||||||
|
# Install Keystone
|
||||||
|
cd "${OSH_PATH}"
|
||||||
|
|
||||||
|
make pull-images keystone
|
||||||
|
: ${OSH_EXTRA_HELM_ARGS:=""}
|
||||||
|
helm upgrade --install keystone ./keystone \
|
||||||
|
--namespace=openstack \
|
||||||
|
--values=./tools/overrides/keystone/ldap_domain_config.yaml \
|
||||||
|
${OSH_EXTRA_HELM_ARGS} \
|
||||||
|
${OSH_EXTRA_HELM_ARGS_KEYSTONE}
|
||||||
|
|
||||||
|
./tools/deployment/common/wait-for-pods.sh openstack
|
||||||
|
helm status keystone
|
||||||
|
|
||||||
|
# Testing basic functionality
|
||||||
|
export OS_CLOUD=openstack_helm
|
||||||
|
sleep 30 #NOTE(portdirect): Wait for ingress controller to update rules and restart Nginx
|
||||||
|
openstack endpoint list
|
||||||
|
Loading…
Reference in New Issue
Block a user