Skip to content

Commit

Permalink
fix: default component download link
Browse files Browse the repository at this point in the history
  • Loading branch information
Skarlso committed Sep 12, 2024
1 parent cc80cd7 commit 30526a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmds/ocm/commands/controllercmds/install/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (o *Command) ForName(name string) *cobra.Command {

func (o *Command) AddFlags(set *pflag.FlagSet) {
set.StringVarP(&o.Version, "version", "v", "latest", "the version of the controller to install")
set.StringVarP(&o.BaseURL, "base-url", "u", "https://ocm.software/ocm-controller/releases", "the base url to the ocm-controller's release page")
set.StringVarP(&o.BaseURL, "base-url", "u", "https://github.com/open-component-model/ocm-controller/releases", "the base url to the ocm-controller's release page")
set.StringVarP(&o.ReleaseAPIURL, "release-api-url", "a", "https://api.github.com/repos/open-component-model/ocm-controller/releases", "the base url to the ocm-controller's API release page")
set.StringVar(&o.CertManagerBaseURL, "cert-manager-base-url", "https://github.com/cert-manager/cert-manager/releases", "the base url to the cert-manager's release page")
set.StringVar(&o.CertManagerReleaseAPIURL, "cert-manager-release-api-url", "https://api.github.com/repos/cert-manager/cert-manager/releases", "the base url to the cert-manager's API release page")
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/ocm_controller_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ocm controller install controller {--version v0.0.1}
### Options

```text
-u, --base-url string the base url to the ocm-controller's release page (default "https://ocm.software/ocm-controller/releases")
-u, --base-url string the base url to the ocm-controller's release page (default "https://github.com/open-component-model/ocm-controller/releases")
--cert-manager-base-url string the base url to the cert-manager's release page (default "https://github.com/cert-manager/cert-manager/releases")
--cert-manager-release-api-url string the base url to the cert-manager's API release page (default "https://api.github.com/repos/cert-manager/cert-manager/releases")
--cert-manager-version string version for cert-manager (default "v1.13.2")
Expand Down

0 comments on commit 30526a1

Please sign in to comment.