mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
feat: initial istio support
This commit is contained in:
parent
606dbc2082
commit
ff66b0e0c3
5 changed files with 9430 additions and 0 deletions
27
release.nix
27
release.nix
|
|
@ -27,6 +27,7 @@ in {
|
|||
imports = [
|
||||
kubenix.k8s
|
||||
kubenix.submodules
|
||||
kubenix.istio
|
||||
];
|
||||
|
||||
config = {
|
||||
|
|
@ -95,6 +96,32 @@ in {
|
|||
submodule = "test";
|
||||
};
|
||||
|
||||
kubernetes.api."networking.istio.io"."v1alpha3".Gateway.test.spec = {
|
||||
selector.istio = "ingressgateway";
|
||||
servers = [{
|
||||
port = {
|
||||
number = 80;
|
||||
name = "http";
|
||||
protocol = "HTTP";
|
||||
};
|
||||
hosts = ["host.example.com"];
|
||||
tls.httpsRedirect = true;
|
||||
} {
|
||||
port = {
|
||||
number = 443;
|
||||
name = "https";
|
||||
protocol = "HTTPS";
|
||||
};
|
||||
hosts = ["host.example.com"];
|
||||
tls = {
|
||||
mode = "SIMPLE";
|
||||
serverCertificate = "/path/to/server.crt";
|
||||
privateKey = "/path/to/private.key";
|
||||
caCertificates = "/path/to/ca.crt";
|
||||
};
|
||||
}];
|
||||
};
|
||||
|
||||
#kubernetes.api."cloud.google.com".v1beta1.BackendConfig.my-backend = {
|
||||
#};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue