refactor(cert-manager): Consolidate NixOS module
This commit is contained in:
parent
7a915f0928
commit
7a40738989
10 changed files with 13 additions and 8 deletions
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
5
kubenix-modules/bootstrap-kube-system.nix
Normal file
5
kubenix-modules/bootstrap-kube-system.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./cert-manager
|
||||
];
|
||||
}
|
|
@ -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 = {
|
Loading…
Reference in a new issue