Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a service account. a role binding, and a service account token secret. See BuildSystem/artifact_storage/api/artifact_service_account.yaml at main · ad-build-test/BuildSystem (github.com)
  2. Apply this manifest with
    1. kubectl apply -f artifact_service_account.yaml 
  3. Then look at the secret
    1. kubectl describe -n artifact secret/myexample-sa-token
  4. Add that to environment variable passed in to artifact_api_deployment.yaml BuildSystem/artifact_storage/api/artifact_api_deployment.yaml at main · ad-build-test/BuildSystem (github.com)
  5. Apply this manifest with
    1. kubectl apply -f artifact_api_deployment.yaml
    2. What this does is starts the api deployment, it'll start the script to add in the kube config at $HOME/.kube/config, then start the api process
  6. done TODO: Create the script that initializes the kube configuration, then start the api process (probably bash)

TODO: create deployment pod file for artifact api service to use to create podman containers to build an image, see if we can get that working

How to test service is accessible to other build containers

...