I'm thinking about building a k8s operator for running Woodpecker-CI, but I have some questions. #2623
Replies: 2 comments 1 reply
-
Hey! Since you didn't mention it, are you aware of https://github.com/woodpecker-ci/helm? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Alright, I think I've missed this var somehow "WOODPECKER_AGENT_SECRET". I guess it should be what I was looking for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've tried Woodpecker not so long ago, and I think it's a great project.
I thought that it might make sense to have a Kubernetes operator that runs the whole Woodpecker setup using CRDs.
My idea for a first version is to create several CRDs:
And then it should be possible to run the operator and control the whole Woodpecker as code.
The only problem I have, is that I can run a server, but to configure
Secrets
,Projects
, andAgents
, I'll need a user on the server, and it means that I have to create a Server CR, wait for the server to be up and running, log in, and then add this account to the server CR, so it can manage other entities, and it doesn't sound like a good setup, for at least two reasons:So, I think for my use-case, it would be perfect to have an admin account that can only configure Woodpecker.
Hence the question, Is there a way I could achieve it now? And if not, maybe we can think about implementing something like that, I can try helping with the code, if you have an idea what it could look like.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions