refactor(cert-manager): Consolidate NixOS module

This commit is contained in:
Pim Kunis 2024-07-17 17:20:39 +02:00
parent 7a915f0928
commit 7a40738989
10 changed files with 13 additions and 8 deletions

View file

@ -58,12 +58,12 @@
deployers = { deployers = {
bootstrap-default = { bootstrap-default = {
module = "${self}/kubenix-modules/bootstrapDefault.nix"; module = "${self}/kubenix-modules/bootstrap-default.nix";
namespace = "default"; namespace = "default";
}; };
bootstrap-kube-system = { bootstrap-kube-system = {
module = "${self}/kubenix-modules/bootstrapKubeSystem.nix"; module = "${self}/kubenix-modules/bootstrap-kube-system.nix";
namespace = "kube-system"; namespace = "kube-system";
}; };

View file

@ -0,0 +1,5 @@
{
imports = [
./cert-manager
];
}

View file

@ -5,12 +5,12 @@
# Seems kubenix cannot import a list of resources, only individual resources. # Seems kubenix cannot import a list of resources, only individual resources.
# Might be good to create a PR for this. # Might be good to create a PR for this.
imports = [ imports = [
./cert-manager-manifests/certificaterequest.yaml ./manifests/certificaterequest.yaml
./cert-manager-manifests/certificate.yaml ./manifests/certificate.yaml
./cert-manager-manifests/challenge.yaml ./manifests/challenge.yaml
./cert-manager-manifests/clusterissuer.yaml ./manifests/clusterissuer.yaml
./cert-manager-manifests/issuer.yaml ./manifests/issuer.yaml
./cert-manager-manifests/order.yaml ./manifests/order.yaml
]; ];
helm.releases = { helm.releases = {