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 = {
bootstrap-default = {
module = "${self}/kubenix-modules/bootstrapDefault.nix";
module = "${self}/kubenix-modules/bootstrap-default.nix";
namespace = "default";
};
bootstrap-kube-system = {
module = "${self}/kubenix-modules/bootstrapKubeSystem.nix";
module = "${self}/kubenix-modules/bootstrap-kube-system.nix";
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.
# Might be good to create a PR for this.
imports = [
./cert-manager-manifests/certificaterequest.yaml
./cert-manager-manifests/certificate.yaml
./cert-manager-manifests/challenge.yaml
./cert-manager-manifests/clusterissuer.yaml
./cert-manager-manifests/issuer.yaml
./cert-manager-manifests/order.yaml
./manifests/certificaterequest.yaml
./manifests/certificate.yaml
./manifests/challenge.yaml
./manifests/clusterissuer.yaml
./manifests/issuer.yaml
./manifests/order.yaml
];
helm.releases = {