wip: try nixidy
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,44 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
config = {
|
||||
nixidy = {
|
||||
target = {
|
||||
repository = "https://gitlab.com/oveanbox/manifests.git";
|
||||
branch = "main";
|
||||
rootPath = "_build";
|
||||
};
|
||||
|
||||
resourceImports = [
|
||||
./cilium-crd.nix
|
||||
./kyverno-crd.nix
|
||||
];
|
||||
|
||||
chartsDir = ../charts;
|
||||
|
||||
defaults = {
|
||||
syncPolicy = {
|
||||
autoSync = {
|
||||
enabled = true;
|
||||
prune = false;
|
||||
selfHeal = false;
|
||||
};
|
||||
};
|
||||
|
||||
# Many helm chars will render all resources with the
|
||||
# following labels.
|
||||
# This produces huge diffs when the charts are updated
|
||||
# because the values of these labels change each release.
|
||||
# Here we add a transformer that strips them out after
|
||||
# templating the helm charts in each application.
|
||||
helm.transformer = map (
|
||||
lib.kube.removeLabels [
|
||||
"app.kubernetes.io/version"
|
||||
"helm.sh/chart"
|
||||
]
|
||||
);
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
+44300
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user