Skip to content

Commit d5bc145

Browse files
committed
Pin operator images to harbor.noderings.com.
1 parent 90b4398 commit d5bc145

7 files changed

Lines changed: 21 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project are documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.0.3] - 2026-08-28
9+
10+
### Changed
11+
12+
- Pin operator image registry to harbor.noderings.com
13+
814
## [1.0.2] - 2026-08-27
915

1016
### Changed

‎internal/config/constants.go‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,13 @@ const (
8080
// DefaultVNCGatewayImageTagProxmox is the stock Harbor tag. Proxmox readiness
8181
// and /v1/vnc/ws need this digest — do not retag a local-rfb build over it.
8282
DefaultVNCGatewayImageTagProxmox = "main"
83+
// DefaultHarborRegistry is the container registry host for operator images
84+
// and charts. harbor.nrings.io is retired; do not use it.
85+
DefaultHarborRegistry = "harbor.noderings.com"
8386
// DefaultVNCGatewayImageTagRFB is the local-rfb / current-gateway tag used by
8487
// VirtFusion and SolusVM (ready without Proxmox instances). Harbor publishes
85-
// :main only; the CLI loads a local build as :rfb onto the agent.
88+
// both :main (Proxmox) and :rfb (VF/SVM). The CLI still loads a local build
89+
// as :rfb onto the agent when Docker/source is available.
8690
DefaultVNCGatewayImageTagRFB = "rfb"
8791
// LocalRFBVNCGatewayImage is the docker tag for a locally built RFB gateway.
8892
LocalRFBVNCGatewayImage = "vnc-gateway:local-rfb"

‎internal/config/constants_vnc_test.go‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ package config
22

33
import "testing"
44

5+
func TestDefaultHarborRegistryIsNoderings(t *testing.T) {
6+
if DefaultHarborRegistry != "harbor.noderings.com" {
7+
t.Fatalf("DefaultHarborRegistry=%s want harbor.noderings.com (nrings.io is retired)", DefaultHarborRegistry)
8+
}
9+
}
10+
511
func TestResolveVNCGatewayImageTagDefaults(t *testing.T) {
612
t.Setenv(EnvVNCGatewayImageTag, "")
713
t.Setenv(EnvProxmoxVNCGatewayImageTag, "")

‎internal/install/proxmox_operator.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ func (p *ProxmoxOperatorInstaller) Install(ctx context.Context) error {
221221
"--set-string", fmt.Sprintf("%s=%s", helmVNCGatewayNamespace, p.config.VNCGatewayNamespace),
222222
"--set", helmVNCAllowRemoteClients,
223223
"--set", helmDisableCRDSubchart,
224+
"--set-string", fmt.Sprintf("image.registry=%s", getenvDefault("OPERATOR_IMAGE_REGISTRY", config.DefaultHarborRegistry)),
224225
}
225226
if requireMimirToken {
226227
args = append(args,

‎internal/install/solusvm_operator.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ func (p *SolusVMOperatorInstaller) Install(ctx context.Context) error {
181181
"--set-string", fmt.Sprintf("%s=%s", helmVNCGatewayNamespace, p.config.VNCGatewayNamespace),
182182
"--set", helmVNCAllowRemoteClients,
183183
"--set", helmDisableCRDSubchart,
184+
"--set-string", fmt.Sprintf("image.registry=%s", getenvDefault("OPERATOR_IMAGE_REGISTRY", config.DefaultHarborRegistry)),
184185
}
185186
if requireMimirToken {
186187
args = append(args,

‎internal/install/virtfusion_operator.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ func (p *VirtFusionOperatorInstaller) Install(ctx context.Context) error {
182182
"--set-string", fmt.Sprintf("%s=%s", helmVNCGatewayNamespace, p.config.VNCGatewayNamespace),
183183
"--set", helmVNCAllowRemoteClients,
184184
"--set", helmDisableCRDSubchart,
185+
"--set-string", fmt.Sprintf("image.registry=%s", getenvDefault("OPERATOR_IMAGE_REGISTRY", config.DefaultHarborRegistry)),
185186
}
186187
if requireMimirToken {
187188
args = append(args,

‎internal/install/vnc_gateway_image.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func EnsureRFBVNCGatewayImage(ctx context.Context, repository, tag string, logge
7878
return nil
7979
}
8080
if err := importDockerImageToContainerd(ctx, ref, logger); err != nil {
81-
return fmt.Errorf("import %s into containerd: %w (Harbor has no :rfb; load vnc-gateway:local-rfb onto this agent)", ref, err)
81+
return fmt.Errorf("import %s into containerd: %w (or pull harbor.noderings.com/noderings/vnc-gateway:rfb)", ref, err)
8282
}
8383
logger.Infof("Loaded local-rfb vnc-gateway as %s", ref)
8484
return nil

0 commit comments

Comments
 (0)