Skip to content

Commit

Permalink
remove feature branch in catalog because it won't load, see backstage…
Browse files Browse the repository at this point in the history
…/backstage#2815

Signed-off-by: Johannes Kleinlercher <[email protected]>
  • Loading branch information
jkleinlercher committed Dec 1, 2024
1 parent 9d3ea5a commit 0607a85
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 6 additions & 2 deletions install-platform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,11 @@ if [[ $( echo $argocd_apps | grep sx-backstage ) ]] ; then
GITHUB_CODESPACES="true"
BACKSTAGE_CODESPACE_URL="https://${CODESPACE_NAME}-6691.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN}"
fi

# delete secret if it already exists
if kubectl get secret -n backstage manual-secret > /dev/null 2>&1 ; then
kubectl delete secret -n backstage manual-secret
fi

if [ ${KEYCLOAK_CODESPACES} ]; then
kubectl create secret generic -n backstage manual-secret \
Expand Down Expand Up @@ -400,8 +405,7 @@ if [[ $( echo $argocd_apps | grep sx-backstage ) ]] ; then
--from-literal=GITHUB_TOKEN=${KUBRIX_BACKSTAGE_GITHUB_TOKEN} \
--from-literal=K8S_SA_TOKEN=${K8S_SA_TOKEN} \
--from-literal=ARGOCD_AUTH_TOKEN=${ARGOCD_AUTH_TOKEN} \
--from-literal=GRAFANA_TOKEN=${GRAFANA_TOKEN} \
--from-literal=BACKSTAGE_CATALOG_BRANCH=${KUBRIX_REPO_BRANCH}
--from-literal=GRAFANA_TOKEN=${GRAFANA_TOKEN}
fi

# in codespaces we need additional crossplane resources for keycloak
Expand Down
8 changes: 3 additions & 5 deletions platform-apps/charts/backstage/values-demo-metalstack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,15 +224,13 @@ backstage:
- allow: [Component, System, API, Resource, Location, Template, Domain, User, Group ]
locations:
- type: url
target: https://github.com/suxess-it/team1-demo-app1/blob/${BACKSTAGE_CATALOG_BRANCH}/catalog-info.yaml
- type: url
target: https://github.com/suxess-it/sx-cnp-oss/blob/${BACKSTAGE_CATALOG_BRANCH}/backstage-resources/templates/showcase-templates.yaml
target: https://github.com/suxess-it/sx-cnp-oss/blob/main/backstage-resources/templates/showcase-templates.yaml
rules:
- allow: [Template]
- type: url
target: https://github.com/suxess-it/sx-cnp-oss/blob/${BACKSTAGE_CATALOG_BRANCH}/backstage-resources/entities/all.yaml
target: https://github.com/suxess-it/sx-cnp-oss/blob/main/backstage-resources/entities/all.yaml
- type: url
target: https://github.com/suxess-it/sx-cnp-oss/blob/${BACKSTAGE_CATALOG_BRANCH}/backstage-resources/entities/demo.yaml
target: https://github.com/suxess-it/sx-cnp-oss/blob/main/backstage-resources/entities/demo.yaml
providers:
keycloakOrg:
default:
Expand Down

0 comments on commit 0607a85

Please sign in to comment.