From 25faf7c08d4f6e375f8a47339acd3d955a8ad20f Mon Sep 17 00:00:00 2001 From: Michal Kralik Date: Mon, 11 Sep 2023 15:43:13 +0200 Subject: [PATCH 1/2] EVEREST-386: backup name flag (#130) --- commands/install/operators.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/install/operators.go b/commands/install/operators.go index 7e99c4ba..27d3f453 100644 --- a/commands/install/operators.go +++ b/commands/install/operators.go @@ -78,6 +78,7 @@ func initOperatorsFlags(cmd *cobra.Command) { cmd.Flags().String("monitoring.pmm.password", "", "PMM password") cmd.Flags().Bool("backup.enable", false, "Enable backups") + cmd.Flags().String("backup.name", "", "Backup name in Everest") cmd.Flags().String("backup.endpoint", "", "Backup endpoint URL") cmd.Flags().String("backup.region", "", "Backup region") cmd.Flags().String("backup.bucket", "", "Backup bucket") @@ -107,6 +108,7 @@ func initOperatorsViperFlags(cmd *cobra.Command) { viper.BindPFlag("monitoring.pmm.username", cmd.Flags().Lookup("monitoring.pmm.username")) //nolint:errcheck,gosec viper.BindPFlag("monitoring.pmm.password", cmd.Flags().Lookup("monitoring.pmm.password")) //nolint:errcheck,gosec + viper.BindPFlag("backup.name", cmd.Flags().Lookup("backup.name")) //nolint:errcheck,gosec viper.BindPFlag("backup.enable", cmd.Flags().Lookup("backup.enable")) //nolint:errcheck,gosec viper.BindPFlag("backup.endpoint", cmd.Flags().Lookup("backup.endpoint")) //nolint:errcheck,gosec viper.BindPFlag("backup.region", cmd.Flags().Lookup("backup.region")) //nolint:errcheck,gosec From b99b28185e8596fe75925f14f6881b8d09b26ec9 Mon Sep 17 00:00:00 2001 From: Diogo Recharte Date: Tue, 12 Sep 2023 11:30:41 +0100 Subject: [PATCH 2/2] Fix README run instructions path (#132) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dc8fa9bb..a0b4088d 100644 --- a/README.md +++ b/README.md @@ -16,5 +16,5 @@ This tool is a CLI client for Percona Everest and has the following features At the moment it only provisions the clusters, however a technical preview of PMM integration and registering in Percona Everest control plane features are implemented ``` -go run cmd/percona-everest-cli/main.go --monitoring.enabled=false +go run cmd/everest/main.go --monitoring.enabled=false ```