feat(istio): fixes and add simple test

This commit is contained in:
Jaka Hudoklin 2019-02-27 14:18:38 +01:00
parent 33a344119b
commit e1e6173a2c
No known key found for this signature in database
GPG key ID: 6A08896BFD32BD95
6 changed files with 1112 additions and 1040 deletions

File diff suppressed because it is too large Load diff

View file

@ -317,7 +317,7 @@ let
") value.config)}};
"}};
") definitions)}
};
} // (import ./overrides.nix {inheirt definitions lib;}));
in {
kubernetes.customResources = [
${concatMapStrings (resource: ''{

15
istio/overrides.nix Normal file
View file

@ -0,0 +1,15 @@
{ lib, definitions }:
with lib;
{
"istio_networking_v1alpha3_StringMatch" = recursiveUpdate (recursiveUpdate
definitions."istio_networking_v1alpha3_StringMatch_Exact"
definitions."istio_networking_v1alpha3_StringMatch_Prefix"
)
definitions."istio_networking_v1alpha3_StringMatch_Regex";
"istio_networking_v1alpha3_PortSelector" = recursiveUpdate
definitions."istio_networking_v1alpha3_PortSelector_Name"
definitions."istio_networking_v1alpha3_PortSelector_Number";
}