csye7125-fall2023-group05 / k8s-operator

Custom operator to create a controller that monitors a custom resource (CronJob) that runs a health check Kafka Producer and publishes the data to the Kafka brokers.
0 stars 1 forks source link

🚀 Dockerize operator to private container repository hub #26

Open sydrawat01 opened 10 months ago

sydrawat01 commented 10 months ago

Currently, we are storing the operator docker image in a public dockerhub repository.

Build and push works after we login using quay secrets:

make docker-build docker-push IMG=quay.io/pwncorp/k8s_operator NS=webapp

But when using make deploy, the pod create by kubebuilder fails to pull the secret container image from quay:

make deploy IMG=quay.io/pwncorp/k8s_operator NS=webapp
sydrawat01 commented 9 months ago

As a workaround for now, we have made the k8s_operator docker image public so that we can deploy the operator on the private GKE cluster.