diff --git a/docs/apireference/build/index.html b/docs/apireference/build/index.html
index a037464cb738c..ba9da309ff021 100644
--- a/docs/apireference/build/index.html
+++ b/docs/apireference/build/index.html
@@ -98,6 +98,10 @@
ClusterSpec v1alpha2 kops
Additional policies to add for roles |
+additionalSans string array |
+AdditionalSANs adds additional Subject Alternate Names to apiserver cert that kops generates |
+
+
api AccessSpec |
API field controls how the API is exposed outside the cluster |
diff --git a/pkg/apis/kops/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/kops/v1alpha1/zz_generated.deepcopy.go
index 6b6479dd94603..37d3548434d18 100644
--- a/pkg/apis/kops/v1alpha1/zz_generated.deepcopy.go
+++ b/pkg/apis/kops/v1alpha1/zz_generated.deepcopy.go
@@ -21,11 +21,10 @@ limitations under the License.
package v1alpha1
import (
- reflect "reflect"
-
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
conversion "k8s.io/apimachinery/pkg/conversion"
runtime "k8s.io/apimachinery/pkg/runtime"
+ reflect "reflect"
)
func init() {
diff --git a/pkg/apis/kops/v1alpha2/zz_generated.deepcopy.go b/pkg/apis/kops/v1alpha2/zz_generated.deepcopy.go
index e0616b7da3b25..2f274b54c1038 100644
--- a/pkg/apis/kops/v1alpha2/zz_generated.deepcopy.go
+++ b/pkg/apis/kops/v1alpha2/zz_generated.deepcopy.go
@@ -21,11 +21,10 @@ limitations under the License.
package v1alpha2
import (
- reflect "reflect"
-
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
conversion "k8s.io/apimachinery/pkg/conversion"
runtime "k8s.io/apimachinery/pkg/runtime"
+ reflect "reflect"
)
func init() {
diff --git a/pkg/apis/kops/zz_generated.deepcopy.go b/pkg/apis/kops/zz_generated.deepcopy.go
index 8926061d0c595..19a7375d4f1a2 100644
--- a/pkg/apis/kops/zz_generated.deepcopy.go
+++ b/pkg/apis/kops/zz_generated.deepcopy.go
@@ -21,11 +21,10 @@ limitations under the License.
package kops
import (
- reflect "reflect"
-
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
conversion "k8s.io/apimachinery/pkg/conversion"
runtime "k8s.io/apimachinery/pkg/runtime"
+ reflect "reflect"
)
func init() {
diff --git a/pkg/client/clientset_generated/clientset/scheme/register.go b/pkg/client/clientset_generated/clientset/scheme/register.go
index 3284ad953b408..0c46a3329cd2c 100644
--- a/pkg/client/clientset_generated/clientset/scheme/register.go
+++ b/pkg/client/clientset_generated/clientset/scheme/register.go
@@ -17,8 +17,6 @@ limitations under the License.
package scheme
import (
- os "os"
-
announced "k8s.io/apimachinery/pkg/apimachinery/announced"
registered "k8s.io/apimachinery/pkg/apimachinery/registered"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -26,6 +24,7 @@ import (
schema "k8s.io/apimachinery/pkg/runtime/schema"
serializer "k8s.io/apimachinery/pkg/runtime/serializer"
kops "k8s.io/kops/pkg/apis/kops/install"
+ os "os"
)
var Scheme = runtime.NewScheme()
diff --git a/pkg/client/clientset_generated/internalclientset/scheme/register.go b/pkg/client/clientset_generated/internalclientset/scheme/register.go
index 3284ad953b408..0c46a3329cd2c 100644
--- a/pkg/client/clientset_generated/internalclientset/scheme/register.go
+++ b/pkg/client/clientset_generated/internalclientset/scheme/register.go
@@ -17,8 +17,6 @@ limitations under the License.
package scheme
import (
- os "os"
-
announced "k8s.io/apimachinery/pkg/apimachinery/announced"
registered "k8s.io/apimachinery/pkg/apimachinery/registered"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -26,6 +24,7 @@ import (
schema "k8s.io/apimachinery/pkg/runtime/schema"
serializer "k8s.io/apimachinery/pkg/runtime/serializer"
kops "k8s.io/kops/pkg/apis/kops/install"
+ os "os"
)
var Scheme = runtime.NewScheme()
diff --git a/pkg/openapi/openapi_generated.go b/pkg/openapi/openapi_generated.go
index cfdcaf11c3ac9..bfe763d1f7693 100644
--- a/pkg/openapi/openapi_generated.go
+++ b/pkg/openapi/openapi_generated.go
@@ -21374,6 +21374,20 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA
Format: "",
},
},
+ "additionalSans": {
+ SchemaProps: spec.SchemaProps{
+ Description: "AdditionalSANs adds additional Subject Alternate Names to apiserver cert that kops generates",
+ Type: []string{"array"},
+ Items: &spec.SchemaOrArray{
+ Schema: &spec.Schema{
+ SchemaProps: spec.SchemaProps{
+ Type: []string{"string"},
+ Format: "",
+ },
+ },
+ },
+ },
+ },
"clusterDNSDomain": {
SchemaProps: spec.SchemaProps{
Description: "ClusterDNSDomain is the suffix we use for internal DNS names (normally cluster.local)",
@@ -24588,6 +24602,20 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA
Format: "",
},
},
+ "additionalSans": {
+ SchemaProps: spec.SchemaProps{
+ Description: "AdditionalSANs adds additional Subject Alternate Names to apiserver cert that kops generates",
+ Type: []string{"array"},
+ Items: &spec.SchemaOrArray{
+ Schema: &spec.Schema{
+ SchemaProps: spec.SchemaProps{
+ Type: []string{"string"},
+ Format: "",
+ },
+ },
+ },
+ },
+ },
"clusterDNSDomain": {
SchemaProps: spec.SchemaProps{
Description: "ClusterDNSDomain is the suffix we use for internal DNS names (normally cluster.local)",