mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
Fix default of helm.releases.<>.apiVersions (#42)
The previous value included only the `<group>.<version>`, e.g. `monitoring.coreos.com/v1`. But Helm charts actually also check for e.g. `monitoring.coreos.com/v1/ServiceMonitor`. For this reason we need both.
This commit is contained in:
parent
ea469ff77a
commit
fceda84514
1 changed files with 6 additions and 1 deletions
|
|
@ -106,7 +106,12 @@ in
|
|||
If you use `kubernetes.customTypes` to make kubenix aware of CRDs, it will include those as well by default.
|
||||
'';
|
||||
type = types.listOf types.str;
|
||||
default = builtins.map (customType: "${customType.group}/${customType.version}")
|
||||
default = builtins.concatMap
|
||||
(customType:
|
||||
[
|
||||
"${customType.group}/${customType.version}"
|
||||
"${customType.group}/${customType.version}/${customType.kind}"
|
||||
])
|
||||
(builtins.attrValues globalConfig.kubernetes.customTypes);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue