We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93284e6 commit 826ea9eCopy full SHA for 826ea9e
cmd/agent/app/options/options.go
@@ -211,9 +211,6 @@ func (o *GrpcProxyAgentOptions) Validate() error {
211
if _, err := labels.Parse(o.ServerLeaseSelector); err != nil {
212
return fmt.Errorf("invalid server count lease selector: %w", err)
213
}
214
- if o.KubeconfigPath == "" {
215
- return fmt.Errorf("kubeconfig path must be provided if server count lease system is enabled")
216
- }
217
218
if o.KubeconfigPath != "" {
219
if _, err := os.Stat(o.KubeconfigPath); os.IsNotExist(err) {
0 commit comments