ansible-kubernetes-modules icon indicating copy to clipboard operation
ansible-kubernetes-modules copied to clipboard

Repurpose this repository into hosting the official Ansible K8s collection

Open geerlingguy opened this issue 5 years ago • 13 comments

As the title says—this repository originally contained all the Kubernetes modules in a kubernetes role, but with Ansible 2.8, collections became the new fancy thing for distributing non-role content. We can now move all the Ansible Kubernetes modules into a collection, test them with ansible-test or molecule, and get some development velocity going again (since core has been slowing down on merging new community modules or features for existing community modules).

Some of the things we'll need to do:

  • [ ] Close all existing issues in this repo (they are outdated)
  • [ ] Create a new collection and replace the repo contents with that collection
  • [ ] Begin moving k8s modules from Ansible core into this new collection
  • [ ] Figure out how to communicate to users they should switch to using this collection for Kubernetes content
  • [ ] Move select other k8s modules into this collection, for example:

geerlingguy avatar Nov 26 '19 19:11 geerlingguy

Related: https://github.com/ansible/ansible/issues/65285

geerlingguy avatar Nov 26 '19 19:11 geerlingguy

Another idea: Maybe we change the name of this repo to "ansible-kubernetes" or "ansible-kubernetes-content" (or collection) since it could (probably will) also include more content, like playbooks, roles, plugins, etc.

geerlingguy avatar Nov 26 '19 19:11 geerlingguy

If this will be a community collection, maybe it should be moved to github.com/ansible-collections/ I can help if people agree. Can get testing setup there as well.

gundalow avatar Nov 26 '19 19:11 gundalow

@gundalow - I think that would be a good idea (or we could just abandon this repo and create a new one with the same maintainers under github.com/ansible-collections/kubernetes maybe?).

geerlingguy avatar Jan 10 '20 20:01 geerlingguy

Can either move the repo or create a fresh one, I don't mind either way. Just let me know and I'll do the necessary.

gundalow avatar Jan 10 '20 20:01 gundalow

I vote for MOVE, because history is important. Just my two cents Dan


Sent from mobile, please excuse brevity. [email protected], +49 176 10 24 84 33

John R Barker [email protected] schrieb am Fr., 10. Jan. 2020, 21:40:

Can either move the repo or create a fresh one, I don't mind either way. Just let me know and I'll do the necessary.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ansible/ansible-kubernetes-modules/issues/38?email_source=notifications&email_token=AENMQWYXU5YS7FPC4KMZSHDQ5DML7A5CNFSM4JR4WWTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIVEVFI#issuecomment-573196949, or unsubscribe https://github.com/notifications/unsubscribe-auth/AENMQWYS5CPETY5HYKGD2PLQ5DML7ANCNFSM4JR4WWTA .

DanielFroehlich avatar Jan 11 '20 08:01 DanielFroehlich

@DanielFroehlich The history of this repo isn't yet connected to the collection, we were just considering repurposing this repo for it. @gundalow let's go ahead and create a fresh one

fabianvf avatar Jan 21 '20 17:01 fabianvf

@DanielFroehlich The history of this repo isn't yet connected to the collection, we were just considering repurposing this repo for it. @gundalow let's go ahead and create a fresh one

That's correct I can create github.com/ansible-collections/kubernetes and you can move the existing files and keep the git history

If you'd like me to do this please "vote" on the issue with :+1:, otherwise :-1:

gundalow avatar Jan 21 '20 18:01 gundalow

Could I please get votes on the above issue? Then I'll create the repo as needed

gundalow avatar Jan 22 '20 21:01 gundalow

It lives https://github.com/ansible-collections/kubernetes

You can import the existing code and keep the git history if you wish..

gundalow avatar Jan 23 '20 18:01 gundalow

I've setup base GitHub actions which use ansible-test, though I've not looked into how you test kubernetes, feel free to poke me (gundalow) on IRC if that needs tweaking.

gundalow avatar Jan 23 '20 18:01 gundalow

I will work on moving the code/history, and then after things are working there, I believe we could archive this Git repository as its purpose has been fulfilled. I'll also be sure to update the Ansible Kubernetes community wiki entry.

geerlingguy avatar Jan 27 '20 17:01 geerlingguy

@gundalow - code was pushed to the new repo, and I'm working on restructuring it as a collection. How should we go about archiving this repo? I don't think any of the issues remain relevant anymore.

geerlingguy avatar Jan 29 '20 22:01 geerlingguy