Skip to content

Kubernetes secrets example config #2659

@S010MON

Description

@S010MON

To Reproduce

  1. Start the application and login
  2. Create a minikube cluster that is able to call the Bailo CR
  3. Upload an image to the Bailo CR (creating a model, model-card, and artefact)
  4. Create a personal access token
  5. Select Kubernetes Secret
  6. Run through config steps 1 and 2 on the k8s cluster (create secret and apply)
  7. Update the manifest.yaml file for the deployment and kubectl apply -f manifest.yaml

Current vs. Expected behavior

Expected Behavior:

Image pulls successfully

Actual Behavior:

When creating the secret the secret name is created using the token.description in step 1, however the configFileName is subsequently used as the reference for the imagePullSecrets leading to any images failing to pull when adding this to the k8s manifest.

Provide environment information

Identified on https://github.com/gchq/Bailo/commit/ab0d3a40c46a83b6dd3d6366abfaad02f31b0127

Additional context

What is the priority of your issue?

Low

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageIssue is awaiting triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions