Adds rockcraft.yaml for kfam, the charm associated to this image is kubeflow-profiles-operator.
Instructions to test
Build the rock
rockcraft pack -v
Import the rock into a local docker registry
# This step requires you to install skopeo, which you can do with apt on Ubuntu 20.04 or newer
# https://github.com/containers/skopeo/blob/main/install.md
sudo skopeo --insecure-policy copy oci-archive:<name of the rock file>.rock docker-daemon:kfam:0.1
Run the container image
docker run --rm kfam:0.1
Output
2023-05-11T12:08:08.101Z [pebble] Started daemon.
2023-05-11T12:08:08.108Z [pebble] POST /v1/services 6.247989ms 202
2023-05-11T12:08:08.108Z [pebble] Started default services with change 1.
Logging into the container and running the service command /access-management -cluster-admin admin -userid-header kubeflow-userid -userid-prefix ''
root@c5325f89869c:/# /access-management -cluster-admin admin -userid-header kubeflow-userid -userid-prefix ''
INFO[0000] Server started
INFO[0000] could not locate a kubeconfig
panic: could not locate a kubeconfig
goroutine 1 [running]:
main.main()
/root/parts/kfam/src/components/access-management/main.go:52 +0x467
Adds rockcraft.yaml for kfam, the charm associated to this image is kubeflow-profiles-operator.
Instructions to test
Output
Logging into the container and running the service command
/access-management -cluster-admin admin -userid-header kubeflow-userid -userid-prefix ''