Skip to content

Commit 975b16d

Browse files
committed
fix backstage secret creation
Signed-off-by: Sébastien Allamand <[email protected]>
1 parent 5e0e49e commit 975b16d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

terraform/scripts/backstage/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export POSTGRES_PASSWORD=${1}
77
export BACKSTAGE_DOMAIN_NAME=${2}
88
export KEYCLOAK_DOMAIN_NAME=${3}
99
export ARGO_WORKFLOWS_DOMAIN_NAME=${4}
10-
export GITHUB_APP_YAML=$(cat ${REPO_ROOT}/private/github-integration.yaml | base64)
10+
export GITHUB_APP_YAML_INDENTED=$(cat ${REPO_ROOT}/private/github-integration.yaml | base64 | sed 's/^/ /')
1111

1212
kubectl wait --for=jsonpath=.status.health.status=Healthy -n argocd application/keycloak
1313
kubectl wait --for=condition=ready pod -l app=keycloak -n keycloak --timeout=30s

terraform/scripts/backstage/output.yaml

Whitespace-only changes.

terraform/scripts/backstage/secret-integrations.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ metadata:
44
name: integrations
55
namespace: backstage
66
data:
7-
github-integration.yaml: ${GITHUB_APP_YAML}
7+
github-integration.yaml: |
8+
${GITHUB_APP_YAML_INDENTED}

0 commit comments

Comments
 (0)