Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into EVEREST-312-repeated-deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
oksana-grishchenko committed Sep 12, 2023
2 parents f2c634c + b99b281 commit c76a435
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
2 changes: 2 additions & 0 deletions commands/install/operators.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c76a435

Please sign in to comment.