mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 11:25:19 +00:00
Fix govet errors in generators
This commit is contained in:
@@ -124,10 +124,10 @@ func readFile(file string) ([]byte, error) {
|
||||
// ParamNames returns the set of supported input parameters when using the parameter injection generator pattern
|
||||
func (s SecretForTLSGeneratorV1) ParamNames() []generate.GeneratorParam {
|
||||
return []generate.GeneratorParam{
|
||||
{"name", true},
|
||||
{"key", true},
|
||||
{"cert", true},
|
||||
{"append-hash", false},
|
||||
{Name: "name", Required: true},
|
||||
{Name: "key", Required: true},
|
||||
{Name: "cert", Required: true},
|
||||
{Name: "append-hash", Required: false},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user