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 = {
|
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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
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.
|
# 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 = {
|
Loading…
Reference in a new issue