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

Commit

Permalink
EVEREST-107 Use 8080 port by default
Browse files Browse the repository at this point in the history
  • Loading branch information
gen1us2k committed Aug 10, 2023
1 parent 2d12a8f commit ceffcd3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion commands/delete/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func NewClusterCmd(l *zap.SugaredLogger) *cobra.Command {
}

func initClusterFlags(cmd *cobra.Command) {
cmd.Flags().String("everest.endpoint", "http://127.0.0.1:8081", "Everest endpoint URL")
cmd.Flags().String("everest.endpoint", "http://127.0.0.1:8080", "Everest endpoint URL")
cmd.Flags().StringP("kubeconfig", "k", "~/.kube/config", "Path to a kubeconfig")
cmd.Flags().String("name", "", "Kubernetes cluster name in Everest")
cmd.Flags().BoolP("force", "f", false, "Force removal in case there are database clusters running")
Expand Down
2 changes: 1 addition & 1 deletion commands/delete/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func NewMySQLCmd(l *zap.SugaredLogger) *cobra.Command {
func initMySQLFlags(cmd *cobra.Command) {
cmd.Flags().String("name", "", "Cluster name")
cmd.MarkFlagRequired("name") //nolint:errcheck,gosec
cmd.Flags().String("everest.endpoint", "http://127.0.0.1:8081", "Everest endpoint URL")
cmd.Flags().String("everest.endpoint", "http://127.0.0.1:8080", "Everest endpoint URL")
cmd.Flags().String("kubernetes-id", "", "Kubernetes cluster ID in Everest")
cmd.MarkFlagRequired("kubernetes-id") //nolint:errcheck,gosec

Expand Down
2 changes: 1 addition & 1 deletion commands/install/operators.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func NewOperatorsCmd(l *zap.SugaredLogger) *cobra.Command {
}

func initOperatorsFlags(cmd *cobra.Command) {
cmd.Flags().String("everest.endpoint", "http://127.0.0.1:8081", "Everest endpoint URL")
cmd.Flags().String("everest.endpoint", "http://127.0.0.1:8080", "Everest endpoint URL")
cmd.Flags().StringP("kubeconfig", "k", "~/.kube/config", "Path to a kubeconfig")
cmd.Flags().StringP("name", "n", "", "Kubernetes cluster name")
cmd.Flags().String("namespace", "percona-everest", "Namespace into which Percona Everest components are deployed to")
Expand Down
2 changes: 1 addition & 1 deletion commands/list/database_engines.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func NewDatabaseEnginesCmd(l *zap.SugaredLogger) *cobra.Command {
}

func initDatabaseEnginesFlags(cmd *cobra.Command) {
cmd.Flags().String("everest.endpoint", "http://127.0.0.1:8081", "Everest endpoint URL")
cmd.Flags().String("everest.endpoint", "http://127.0.0.1:8080", "Everest endpoint URL")
cmd.Flags().String("kubernetes-id", "", "Kubernetes cluster ID")
cmd.MarkFlagRequired("kubernetes-id") //nolint:errcheck,gosec
}
Expand Down
2 changes: 1 addition & 1 deletion commands/list/versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func NewVersionsCmd(l *zap.SugaredLogger) *cobra.Command {
}

func initVersionsFlags(cmd *cobra.Command) {
cmd.Flags().String("everest.endpoint", "http://127.0.0.1:8081", "Everest endpoint URL")
cmd.Flags().String("everest.endpoint", "http://127.0.0.1:8080", "Everest endpoint URL")
cmd.Flags().String("kubernetes-id", "", "Kubernetes cluster ID")
cmd.MarkFlagRequired("kubernetes-id") //nolint:errcheck,gosec

Expand Down
2 changes: 1 addition & 1 deletion commands/provision/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func NewMySQLCmd(l *zap.SugaredLogger) *cobra.Command {
func initMySQLFlags(cmd *cobra.Command) {
cmd.Flags().String("name", "", "Cluster name")
cmd.MarkFlagRequired("name") //nolint:errcheck,gosec
cmd.Flags().String("everest.endpoint", "http://127.0.0.1:8081", "Everest endpoint URL")
cmd.Flags().String("everest.endpoint", "http://127.0.0.1:8080", "Everest endpoint URL")
cmd.Flags().String("kubernetes-id", "", "Kubernetes cluster ID in Everest")
cmd.MarkFlagRequired("kubernetes-id") //nolint:errcheck,gosec

Expand Down

0 comments on commit ceffcd3

Please sign in to comment.