Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions api/gateway/v1alpha1/gatewayconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,20 @@ type GatewayParameter struct {
}

type ServiceProviderInfra struct {
HostInfo `json:",inline"`
TLS InfraTLS `json:"tls"`
DNS GatewayDns `json:"dns"`
HostInfo `json:",inline"`
TLS InfraTLS `json:"tls"`
DNS GatewayDns `json:"dns"`
TenantSpreadPolicy TenantSpreadPolicy `json:"tenantSpreadPolicy"`
}

// +kubebuilder:validation:Enum=single;multi
type TenantSpreadPolicy string

const (
TenantSpreadPolicySingle TenantSpreadPolicy = "single"
TenantSpreadPolicyMulti TenantSpreadPolicy = "multi"
)

// +kubebuilder:validation:Enum=ca;letsencrypt;letsencrypt-staging;external
type TLSIssuerType string

Expand Down
6 changes: 6 additions & 0 deletions crds/gateway.catalog.appscode.com_gatewayconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9429,6 +9429,11 @@ spec:
- domain
- ip
type: string
tenantSpreadPolicy:
enum:
- single
- multi
type: string
tls:
properties:
acme:
Expand Down Expand Up @@ -9488,6 +9493,7 @@ spec:
- dns
- host
- hostType
- tenantSpreadPolicy
- tls
type: object
vaultServer:
Expand Down
Loading