Skip to content

Commit 1ef4f34

Browse files
committed
fix: remove ExtraAPIServerCertSANs from ExtraAPIServerCertSANs
1 parent cf97f16 commit 1ef4f34

File tree

3 files changed

+0
-23
lines changed

3 files changed

+0
-23
lines changed

api/v1alpha1/clusterconfig_types.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -230,14 +230,6 @@ type GenericClusterConfig struct {
230230

231231
// +kubebuilder:validation:Optional
232232
Spec *GenericClusterConfigSpec `json:"spec,omitempty"`
233-
234-
// Extra Subject Alternative Names for the API Server signing cert.
235-
// +kubebuilder:validation:UniqueItems=true
236-
// +kubebuilder:validation:items:Pattern=`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
237-
// +kubebuilder:validation:Optional
238-
// +kubebuilder:validation:MaxItems=100
239-
// +kubebuilder:validation:items:MaxLength=253
240-
ExtraAPIServerCertSANs []string `json:"extraAPIServerCertSANs,omitempty"`
241233
}
242234

243235
func (s GenericClusterConfig) VariableSchema() clusterv1.VariableSchema { //nolint:gocritic,lll // Passed by value for no potential side-effect.

api/v1alpha1/crds/caren.nutanix.com_genericclusterconfigs.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,6 @@ spec:
2929
may reject unrecognized values.
3030
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
3131
type: string
32-
extraAPIServerCertSANs:
33-
description: Extra Subject Alternative Names for the API Server signing
34-
cert.
35-
items:
36-
maxLength: 253
37-
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
38-
type: string
39-
maxItems: 100
40-
type: array
41-
uniqueItems: true
4232
kind:
4333
description: |-
4434
Kind is a string value representing the REST resource this object represents.

api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)