...
- 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)
- Apply this manifest with
kubectl apply -f artifact_service_account.yaml
- Then look at the secret
kubectl describe -n artifact secret/myexample-sa-token
- 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)
- Apply this manifest with
kubectl apply -f artifact_api_deployment.yaml
- 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
- done
TODO: Create script for the podman container that should be able to build the requested dockerfile
How to test service is accessible to other build containers
...