diff --git a/plugins/scheduler-k3s/template.go b/plugins/scheduler-k3s/template.go index 3711f631f..435d414ce 100644 --- a/plugins/scheduler-k3s/template.go +++ b/plugins/scheduler-k3s/template.go @@ -69,7 +69,7 @@ type KedaAuthentication struct { Type string `yaml:"type"` // Secrets is a map of secrets to use for authentication - Secrets map[string]string `yaml:"secrets"` + Secrets map[string]string `yaml:"secrets,omitempty"` } type ProcessValues struct {