Skip to content

Commit

Permalink
fix: drop validate for ClusterDomain
Browse files Browse the repository at this point in the history
  • Loading branch information
l1b0k committed Jan 10, 2024
1 parent e587c3c commit fa12465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/controlplane/config_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type Config struct {

HealthzBindAddress string `json:"healthzBindAddress" validate:"required,tcp_addr" mod:"default=0.0.0.0:80"`
MetricsBindAddress string `json:"metricsBindAddress" validate:"required" mod:"default=0"`
ClusterDomain string `json:"clusterDomain" validate:"required,fqdn" mod:"default=cluster.local"`
ClusterDomain string `json:"clusterDomain" validate:"required" mod:"default=cluster.local"`
DisableWebhook bool `json:"disableWebhook"`
WebhookPort int `json:"webhookPort" validate:"gt=0,lte=65535" mod:"default=4443"`
CertDir string `json:"certDir" validate:"required" mod:"default=/var/run/webhook-cert"`
Expand Down

0 comments on commit fa12465

Please sign in to comment.