Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Aug 14, 2024
1 parent 6b457c9 commit ab0cb9c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmd/buildtools/adminconsole.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ var updateAdminConsoleAddonCommand = &cli.Command{
upstream := "registry.replicated.com/library/admin-console"
newmeta := release.AddonMetadata{
Version: latest,
Location: fmt.Sprintf("oci://proxy.replicated.com/anonymous/%s", upstream),
Location: fmt.Sprintf("oci://{{ .ReplicatedProxyDomain }}/anonymous/%s", upstream),
Images: make(map[string]release.AddonImage),
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/buildtools/embeddedclusteroperator.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var updateOperatorAddonCommand = &cli.Command{
nextChartVersion = strings.TrimPrefix(nextChartVersion, "v")

upstream := "registry.replicated.com/library/embedded-cluster-operator"
withproto := fmt.Sprintf("oci://proxy.replicated.com/anonymous/%s", upstream)
withproto := fmt.Sprintf("oci://{{ .ReplicatedProxyDomain }}/anonymous/%s", upstream)

logrus.Infof("updating embedded cluster operator images")

Expand Down
2 changes: 1 addition & 1 deletion cmd/buildtools/openebs.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ var updateOpenEBSAddonCommand = &cli.Command{
}

upstream := fmt.Sprintf("%s/openebs", os.Getenv("CHARTS_DESTINATION"))
withproto := fmt.Sprintf("oci://proxy.replicated.com/anonymous/%s", upstream)
withproto := fmt.Sprintf("oci://{{ .ReplicatedProxyDomain }}/anonymous/%s", upstream)

logrus.Infof("updating openebs images")

Expand Down
2 changes: 1 addition & 1 deletion cmd/buildtools/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ var updateRegistryAddonCommand = &cli.Command{
upstream := fmt.Sprintf("%s/docker-registry", os.Getenv("CHARTS_DESTINATION"))
newmeta := release.AddonMetadata{
Version: latest,
Location: fmt.Sprintf("oci://proxy.replicated.com/anonymous/%s", upstream),
Location: fmt.Sprintf("oci://{{ .ReplicatedProxyDomain }}/anonymous/%s", upstream),
Images: make(map[string]release.AddonImage),
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/buildtools/seaweedfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ var updateSeaweedFSAddonCommand = &cli.Command{
}

upstream := fmt.Sprintf("%s/seaweedfs", os.Getenv("CHARTS_DESTINATION"))
withproto := fmt.Sprintf("oci://proxy.replicated.com/anonymous/%s", upstream)
withproto := fmt.Sprintf("oci://{{ .ReplicatedProxyDomain }}/anonymous/%s", upstream)

logrus.Infof("updating seaweedfs images")

Expand Down
2 changes: 1 addition & 1 deletion cmd/buildtools/velero.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ var updateVeleroAddonCommand = &cli.Command{
}

upstream := fmt.Sprintf("%s/velero", os.Getenv("CHARTS_DESTINATION"))
withproto := fmt.Sprintf("oci://proxy.replicated.com/anonymous/%s", upstream)
withproto := fmt.Sprintf("oci://{{ .ReplicatedProxyDomain }}/anonymous/%s", upstream)

veleroVersion, err := findVeleroVersionFromChart(c.Context, withproto, nextChartVersion)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/addons/adminconsole/adminconsole.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (a *AdminConsole) GenerateHelmConfig(onlyDefaults bool) ([]eckinds.Chart, [

chartName := Metadata.Location
if AdminConsoleChartRepoOverride != "" {
chartName = fmt.Sprintf("oci://proxy.replicated.com/anonymous/%s", AdminConsoleChartRepoOverride)
chartName = fmt.Sprintf("oci://{{ .ReplicatedProxyDomain }}/anonymous/%s", AdminConsoleChartRepoOverride)
}

chartConfig := eckinds.Chart{
Expand Down

0 comments on commit ab0cb9c

Please sign in to comment.