Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix backstage secret creation
  • Loading branch information
allamand committed Mar 18, 2024
commit 9e273202eb616902ca048a2746e85d140f992378
2 changes: 1 addition & 1 deletion terraform/scripts/backstage/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export POSTGRES_PASSWORD=${1}
export BACKSTAGE_DOMAIN_NAME=${2}
export KEYCLOAK_DOMAIN_NAME=${3}
export ARGO_WORKFLOWS_DOMAIN_NAME=${4}
export GITHUB_APP_YAML=$(cat ${REPO_ROOT}/private/github-integration.yaml | base64)
export GITHUB_APP_YAML_INDENTED=$(cat ${REPO_ROOT}/private/github-integration.yaml | base64 | sed 's/^/ /')

kubectl wait --for=jsonpath=.status.health.status=Healthy -n argocd application/keycloak
kubectl wait --for=condition=ready pod -l app=keycloak -n keycloak --timeout=30s
Expand Down
Empty file.
3 changes: 2 additions & 1 deletion terraform/scripts/backstage/secret-integrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ metadata:
name: integrations
namespace: backstage
data:
github-integration.yaml: ${GITHUB_APP_YAML}
github-integration.yaml: |
${GITHUB_APP_YAML_INDENTED}