Skip to content

Instantly share code, notes, and snippets.

@nrb
Created August 8, 2019 21:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nrb/420229c3da70a5c1be6466f6f0aa4eb3 to your computer and use it in GitHub Desktop.
Save nrb/420229c3da70a5c1be6466f6f0aa4eb3 to your computer and use it in GitHub Desktop.
x1c in /home/nrb/go/src/github.com/heptio/velero (git) master U
% ag \"velero\" --ignore \*_test.go --ignore site/\*
changelogs/CHANGELOG-1.0.md
27:* The "ark" annotations for specifying hooks are no longer supported, and have been replaced with "velero"-based equivalents.
28:* The "ark" annotation for specifying restic backups is no longer supported, and has been replaced with a "velero"-based equivalent.
29:* The "ark" prometheus metrics no longer exist, and have been replaced with "velero"-based equivalents.
pkg/cmd/cli/plugin/add.go
38: veleroDeployment = "velero"
39: veleroContainer = "velero"
pkg/cmd/util/output/restore_describer.go
147: d.DescribeSlice(1, "Velero", result.Velero)
pkg/apis/velero/v1/constants.go
22: DefaultNamespace = "velero"
pkg/metrics/metrics.go
31: metricNamespace = "velero"
pkg/client/config.go
80: return filepath.Join(os.Getenv("HOME"), ".config", "velero", "config.json")
pkg/install/install.go
153: unstructuredDeployment, err := c.Get("velero", metav1.GetOptions{})
pkg/install/resources.go
54: "component": "velero",
93: ObjectMeta: objectMeta(namespace, "velero"),
103: ObjectMeta: objectMeta("", "velero"),
112: Name: "velero",
pkg/install/deployment.go
102: containerLabels["deploy"] = "velero"
105: ObjectMeta: objectMeta(namespace, "velero"),
111: Selector: &metav1.LabelSelector{MatchLabels: map[string]string{"deploy": "velero"}},
119: ServiceAccountName: "velero",
122: Name: "velero",
pkg/install/daemonset.go
62: "component": "velero",
67: ServiceAccountName: "velero",
pkg/builder/backup_builder.go
31:var backup = builder.ForBackup("velero", "backup-1").
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment