Init
This commit is contained in:
commit
cdec5a64aa
44 changed files with 9802 additions and 0 deletions
42
modules/dummy-types.nix
Normal file
42
modules/dummy-types.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
kubernetes.customTypes = {
|
||||
# HACK: These are dummy custom types.
|
||||
# This is needed, because the CRDs imported as a chart are not available as Nix modules.
|
||||
# There is no nix-based validation on resources defined using these types!
|
||||
# See: https://github.com/hall/kubenix/issues/34
|
||||
ipAddressPool = {
|
||||
attrName = "ipAddressPools";
|
||||
group = "metallb.io";
|
||||
version = "v1beta1";
|
||||
kind = "IPAddressPool";
|
||||
};
|
||||
|
||||
l2Advertisement = {
|
||||
attrName = "l2Advertisements";
|
||||
group = "metallb.io";
|
||||
version = "v1beta1";
|
||||
kind = "L2Advertisement";
|
||||
};
|
||||
|
||||
helmChartConfig = {
|
||||
attrName = "helmChartConfigs";
|
||||
group = "helm.cattle.io";
|
||||
version = "v1";
|
||||
kind = "HelmChartConfig";
|
||||
};
|
||||
|
||||
clusterIssuer = {
|
||||
attrName = "clusterIssuers";
|
||||
group = "cert-manager.io";
|
||||
version = "v1";
|
||||
kind = "ClusterIssuer";
|
||||
};
|
||||
|
||||
recurringJob = {
|
||||
attrName = "recurringJobs";
|
||||
group = "longhorn.io";
|
||||
version = "v1beta1";
|
||||
kind = "RecurringJob";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue