Skip to content

Commit 881a67e

Browse files
revert install.sh to reduce volatility and edit janus-idp references in chart.yaml
rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
1 parent 1bf2abc commit 881a67e

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.rhdh/scripts/install.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ if [[ $chartrepo -eq 1 ]]; then
5959
oc apply -f https://github.com/rhdh-bot/openshift-helm-charts/raw/redhat-developer-hub-"${CV}"/installation/rhdh-next-ci-repo.yaml
6060
fi
6161

62-
# 1. collect values
62+
# 1. install (or upgrade)
63+
helm upgrade redhat-developer-hub -i "${CHART_URL}" --version "$CV"
64+
65+
# 2. collect values
6366
PASSWORD=$(kubectl get secret redhat-developer-hub-postgresql -o jsonpath="{.data.password}" | base64 -d)
6467
if [[ $(oc auth can-i get route/openshift-console) == "yes" ]]; then
6568
CLUSTER_ROUTER_BASE=$(oc get route console -n openshift-console -o=jsonpath='{.spec.host}' | sed 's/^[^.]*\.//')
@@ -71,7 +74,7 @@ elif [[ -z $CLUSTER_ROUTER_BASE ]]; then
7174
exit 1
7275
fi
7376

74-
# 2. install helm with correct values
77+
# 3. change values
7578
helm upgrade redhat-developer-hub -i "${CHART_URL}" --version "$CV" \
7679
--set global.clusterRouterBase="${CLUSTER_ROUTER_BASE}" \
7780
--set global.postgresql.auth.password="$PASSWORD"

charts/backstage/Chart.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ annotations:
77
- name: Chart Source
88
url: https://github.com/redhat-developer/rhdh-chart
99
- name: Default Image Source
10-
url: https://github.com/janus-idp/backstage-showcase
10+
url: https://github.com/redhat-developer/rhdh
1111
charts.openshift.io/name: Red Hat Developer Hub
1212
charts.openshift.io/provider: Red Hat
1313
charts.openshift.io/archs: x86_64
@@ -32,6 +32,7 @@ icon: data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgi
3232
keywords:
3333
- backstage
3434
- idp
35+
# remove reference to janus-idp when sunsetted https://issues.redhat.com/browse/RHIDP-3227
3536
- janus-idp
3637
- developer-hub
3738
- redhat-developer-hub

0 commit comments

Comments
 (0)