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

kubernetes secret "backstage-secrets" is missing #20

Closed
cmoulliard opened this issue Oct 12, 2023 · 2 comments · Fixed by #27
Closed

kubernetes secret "backstage-secrets" is missing #20

cmoulliard opened this issue Oct 12, 2023 · 2 comments · Fixed by #27
Labels
bug Something isn't working

Comments

@cmoulliard
Copy link
Contributor

cmoulliard commented Oct 12, 2023

Issue

The deployment of bacckstage refers to a secret which is missing and blocks the deployment of backstage

status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2023-10-12T07:16:38Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2023-10-12T07:16:38Z"
    message: 'containers with unready status: [backstage]'
    reason: ContainersNotReady
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2023-10-12T07:16:38Z"
    message: 'containers with unready status: [backstage]'
    reason: ContainersNotReady
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2023-10-12T07:16:38Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - image: public.ecr.aws/cnoe-io/backstage:v0.0.2
    imageID: ""
    lastState: {}
    name: backstage
    ready: false
    restartCount: 0
    started: false
    state:
      waiting:
        message: secret "backstage-secrets" not found
        reason: CreateContainerConfigError

So the pod will crash using the image: public.ecr.aws/cnoe-io/backstage:v0.0.2

@cmoulliard cmoulliard changed the title Backstage secret is missing kubernetes secret "backstage-secrets" is missing Oct 12, 2023
@nabuskey
Copy link
Collaborator

We should just use in-memory database for local builds. We can pull out pvc, postgresql, and references for env vars.

https://github.com/cnoe-io/idpbuilder/blob/main/pkg/apps/srv/backstage/install.yaml

@nabuskey nabuskey added the bug Something isn't working label Oct 12, 2023
@cmoulliard
Copy link
Contributor Author

The deployment process is failing today as the kubernetes Deployment process and pod has a strong dependency with a missing secret - https://github.com/cnoe-io/idpbuilder/blob/main/pkg/apps/srv/backstage/install.yaml#L103-L104. That should be fixed. @nabuskey

@nabuskey nabuskey linked a pull request Oct 16, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants