Update CalvinDuplicator.go

This commit is contained in:
Jeff Regan
2021-01-15 13:33:46 -08:00
committed by GitHub
parent 94962c8bac
commit 6042aca7a4

View File

@@ -9,10 +9,10 @@ import (
"sigs.k8s.io/yaml"
)
const calvinName = "calvin"
// Look for resources named $Name, and duplicate them N times,
// leaving resources named ${Name}-1, ..., ${Name}-N.
// A silly plugin that duplicates resources with a given name.
// It looks for resources named $Name, and duplicates them N times,
// creating resources named ${Name}-1, ..., ${Name}-N.
// See https://calvinandhobbes.fandom.com/wiki/Duplicator
type plugin struct {
// Name of resource to duplicate.
Name string `json:"name,omitempty" yaml:"name,omitempty"`