Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error creating backstage secret - indentation error #29

Open
allamand opened this issue Mar 18, 2024 · 0 comments
Open

Error creating backstage secret - indentation error #29

allamand opened this issue Mar 18, 2024 · 0 comments

Comments

@allamand
Copy link
Contributor

allamand commented Mar 18, 2024

While installing the backstage terraform, the local-exec will create a secret with envsubst.

But the created file indentation is not good breaking the deployment:

the file generated with envsubst will look like

apiVersion: v1
kind: Secret
metadata:
  name: integrations
  namespace: backstage
data:
  github-integration.yaml: |
    IyBOYW1lOiBCYWNrc3RhZ2Utc2ViLWRlbW8KYXBwSWQ6IDg1NjkzMAp3ZWJob29rVXJsOiBodHRw
czovL3NtZWUuaW8vbVBHcktBV1N1ZzE0YUg4ZHNjTUkKY2xpZW50SWQ6IEl2MS41YTJhNWVkYTdh
-> note the indentation of the file is not good
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant