refactor(ldap): moves ldap to support script

This patch set moves the ldap helm chart installation from the gerrit
script to the support so ldap is available for harbor and grafana and
not gerrit specific.

Signed-off-by: Tin Lam <tin@irrational.io>
Change-Id: I7e2f89cec422914378cf75572ac719d6f7aac5ee
This commit is contained in:
Tin Lam
2021-01-19 12:17:47 -06:00
parent e545a209e5
commit 885772b24c
2 changed files with 14 additions and 14 deletions

View File

@@ -47,4 +47,16 @@ helm upgrade \
--set controller.service.nodePorts.http=80 \
--set controller.service.nodePorts.https=443
./tools/deployment/common/wait-for-pods.sh ingress-nginx
./tools/deployment/common/wait-for-pods.sh ingress-nginx
helm repo add stable https://charts.helm.sh/stable
# shellcheck disable=SC2046
helm upgrade \
--create-namespace \
--install \
--namespace=ldap \
ldap \
stable/openldap \
$(./tools/deployment/common/get-values-overrides.sh ldap)
./tools/deployment/common/wait-for-pods.sh ldap

View File

@@ -1,18 +1,6 @@
#!/bin/bash
set -ex
helm repo add stable https://charts.helm.sh/stable
# shellcheck disable=SC2046
helm upgrade \
--create-namespace \
--install \
--namespace=ldap \
ldap \
stable/openldap \
$(./tools/deployment/common/get-values-overrides.sh ldap)
./tools/deployment/common/wait-for-pods.sh ldap
gerrit_source=$(mktemp -d)
repo_sha="251041b192ef8acf1963d747482126d0e9e66e75"
repo_remote="https://gerrit.googlesource.com/k8s-gerrit"
@@ -137,4 +125,4 @@ EOF
popd
}
gerrit_bootstrap
gerrit_bootstrap