Skip to content

Commit 5092b74

Browse files
Add none option in clusterTLS (#25)
Signed-off-by: Arnob kumar saha <[email protected]>
1 parent e999475 commit 5092b74

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

api/gateway/v1alpha1/gatewayconfig_types.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,14 @@ type EchoserverSpec struct {
247247
SecurityContext *core.SecurityContext `json:"securityContext"`
248248
}
249249

250-
// +kubebuilder:validation:Enum=ca
250+
// +kubebuilder:validation:Enum=ca;none
251251
type ClusterTLSIssuerType string
252252

253+
const (
254+
ClusterTLSIssuerTypeCA ClusterTLSIssuerType = "ca"
255+
ClusterTLSIssuerTypeNone ClusterTLSIssuerType = "none"
256+
)
257+
253258
// +kubebuilder:object:root=true
254259
// +kubebuilder:subresource:status
255260

crds/gateway.catalog.appscode.com_gatewayconfigs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ spec:
103103
issuer:
104104
enum:
105105
- ca
106+
- none
106107
type: string
107108
required:
108109
- ca

0 commit comments

Comments
 (0)