Skip to content

Commit 1e4b5e9

Browse files
jhadvigclaude
andcommitted
OTA-1956: Skip ConsolePlugin manifests during CVO bootstrap
The ConsolePlugin CRD (console.openshift.io/v1) is not available during HyperShift bootstrap — the console operator has not started yet. The CVO bootstrap init container gets stuck in an infinite retry loop trying to kubectl apply the ConsolePlugin manifest. Add *_consoleplugin.yaml to the wildcard removals alongside the existing *_deployment.yaml and *_servicemonitor.yaml patterns. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 334535c commit 1e4b5e9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • control-plane-operator/controllers/hostedcontrolplane/v2/cvo

control-plane-operator/controllers/hostedcontrolplane/v2/cvo/deployment.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ func preparePayloadScript(platformType hyperv1.PlatformType, oauthEnabled bool,
204204
fmt.Sprintf("cp -R /manifests %s/", payloadDir),
205205
fmt.Sprintf("rm -f %s/manifests/*_deployment.yaml", payloadDir),
206206
fmt.Sprintf("rm -f %s/manifests/*_servicemonitor.yaml", payloadDir),
207+
fmt.Sprintf("rm -f %s/manifests/*_consoleplugin.yaml", payloadDir),
207208
fmt.Sprintf("cp -R /release-manifests %s/", payloadDir),
208209
)
209210

0 commit comments

Comments
 (0)