Hi guys, I am deploying CloudQuery in my Kubernetes cluster and I am getting an unauthorized error:
{"level":"warn","module":"cli","time":"2024-03-14T11:12:59Z","message":"when using the CloudQuery registry, it's recommended to log in via `cloudquery login`. Logging in allows for better rate limits and downloading of premium plugins"}
I want to use CLOUDQUERY_API_KEY=<your-api-key>, but I am not sure where I should use the API key. I cannot export it on the server directly, and I want to use it as a secret. However, I have no idea how to do this in the config or cronjob. Can someone please share an example as well?
I have created the secret and used it in the cronjob, but it didn’t work.
Also, I don’t know if you’ve seen it, but there is a tutorial on deploying to Kubernetes here. It doesn’t show CLOUDQUERY_API_KEY specifically, but it does use other secrets.