refactor!(api): support for additional certificate SANs

Removing the field tcp.spec.networkProfile.domain in favor of the
tcp.spec.networkProfile.certSANs which allows specifying additional
extra domains that could be used to reach out to the tenant control
plane.
This commit is contained in:
Dario Tranchitella
2022-07-08 22:17:57 +02:00
parent 3d1bfc42f1
commit a67e0f51c7
14 changed files with 43 additions and 44 deletions

View File

@@ -36,12 +36,7 @@ var _ = Describe("Deploy a TenantControlPlane resource", func() {
},
},
NetworkProfile: kamajiv1alpha1.NetworkProfileSpec{
Address: "172.18.0.2",
DNSServiceIPs: []string{"10.96.0.10"},
Domain: "clastix.labs",
PodCIDR: "10.244.0.0/16",
Port: 31443,
ServiceCIDR: "10.96.0.0/16",
Address: "172.18.0.2",
},
Kubernetes: kamajiv1alpha1.KubernetesSpec{
Version: "v1.23.6",