-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/k3s: extend k3s module #275180
base: master
Are you sure you want to change the base?
nixos/k3s: extend k3s module #275180
Conversation
@rorosen Your contribution here is valid. Eventually I might get to reviewing this. (I plan testing it.) But I cannot promise when. (I'm working torward this PR. I just want to solve some building blocks first.) |
1103259
to
0ee55d3
Compare
Done |
IMHO this is a great addition. However, the feature needs nixos tests. Would you be able to add some? |
a9bfbc1
to
441724f
Compare
I added a test for the new features. Let me know if I can do anything else. |
441724f
to
933ea16
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks great. Just some non-blocking suggestions in case you want to improve it further.
e2ee02a
to
cc1e7ee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome 馃帀
@superherointj I'm not sure how this works, do I need to do anything else to merge this? |
yajo has reviewed, so in theory, any commiter can commit this. I was meaning to review this PR, but as time is limited I wasn't able to. Sorry. |
@yajo can you merge this or is there anything missing? |
To clarify. From the I'm currently a commiter. And I could indeed merge your PR. But I have not reviewed it myself. And I can't do it right now. In case you are wondering, there's a thread on becoming a commiter here: The roles of reviewers, maintainers and committers are open to anyone to apply for. If no one is answering your call, it's just a matter of people not being available. Which can be frustrating. I know. I'm sorry for that. I cannot promise you that I will review/merge your PR soon. Because I do have other priority things that I need to do first. As I said before. Anyway, eventually someone will merge, or you'll get more feedback. I suggest you don't worry about it. Also, you can use your PR in your host either by cherry-picking it or through an overlay or just swapping the nixos module. So you can benefit from your improvement while people here at nixpkgs are still busy. (I do that myself. In fact, everyone here does that.) If you feel the pace is slow, consider joining in the upkeep of K3s or anything you are interested in, it might speed things a bit on the topics you are interested. In the sense that it is less work for others, so they become more available. But it's hard to predict what happens, right? Best regards. |
Ok, understood. Thanks for the clarification and sorry for reaching out all the time. I wasn't aware of what was missing. No pressure from my side. |
This contribution extends the k3s module to enable the usage of Helm charts and container images in air-gapped environments. Additionally, the manifests option allows to specify arbitrary manifests that are deployed by k3s automatically. It is now possible to deploy Kubernetes workloads using the k3s module.
Description of changes
Extend the k3s module to enable the usage of Helm charts and container images in air-gapped environments. Additionally, the
manifests
option allows to specify arbitrary manifests that are deployed by k3s automatically. It is now possible to deploy Kubernetes workloads using the k3s module.The following k3s features are enabled by this contribution:
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 馃憤 reaction to pull requests you find important.