docs: update comment to reflect usage of namespace

Update the comment for the namespace option to reflect its real usage for both
secret and configmap.
This commit is contained in:
Mauren Berti
2023-10-09 17:04:24 -04:00
parent 11aa57e67f
commit 6ef9773c02

View File

@@ -5,7 +5,7 @@ package types
// GeneratorArgs contains arguments common to ConfigMap and Secret generators. // GeneratorArgs contains arguments common to ConfigMap and Secret generators.
type GeneratorArgs struct { type GeneratorArgs struct {
// Namespace for the configmap, optional // Namespace for the resource, optional
Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
// Name - actually the partial name - of the generated resource. // Name - actually the partial name - of the generated resource.