Skip to content

DOCS-3165: Wait for all operator CRDs on the OpenShift HCP install pages - #3193

Draft
ctauchen wants to merge 3 commits into
tigera:mainfrom
ctauchen:DOCS-3165-crd-wait
Draft

ctauchen wants to merge 3 commits into
tigera:mainfrom
ctauchen:DOCS-3165-crd-wait

Conversation

@ctauchen

Copy link
Copy Markdown
Collaborator

Waits for every operator CRD the 03 manifests need, and for the API server to establish them, before applying the custom resources on the OpenShift HCP install pages.

Jira: https://tigera.atlassian.net/browse/DOCS-3165

Stacked on #3056. Review only the last commit until that PR merges.

Changes:

  • Calico Enterprise pages wait for the installations and apiservers CRDs
  • Calico Open Source pages also wait for the goldmanes and whiskers CRDs
  • Same fix banzai made in tigera/banzai-core#1826

Flags:

  • The standalone OpenShift install page has no CRD wait at all. Not changed here.

Copilot AI lite review requested due to automatic review settings November 10, 2026 12:25
@netlify

netlify Bot commented Nov 10, 2026

Copy link
Copy Markdown

👷 Deploy request for calico-docs-preview-next pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit b15d4fc

@netlify

netlify Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit b15d4fc
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6af30d2b6091faf13e05c5c4
😎 Deploy Preview https://deploy-preview-3193--tigera.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 87 (no change from production)
Accessibility: 98 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Moderate active findings remain across all affected HostedControlPlanes documentation variants because a timed-out CRD wait can still allow subsequent waits and resource application to proceed.

10 open issues
What changed in this PR

Updates OpenShift Hosted Control Planes installation documentation to use the Red Hat hcp workflow and wait for required operator CRDs to be created and established before applying custom resources.

Changes:

  • Adds CRD readiness waits for Calico Enterprise installation and API server resources.
  • Adds CRD readiness waits for Calico Open Source installation, API server, Goldmane, and Whisker resources.
  • Applies the workflow consistently across current and versioned documentation.
File Description
calico/​getting-started/​kubernetes/​openshift/​hostedcontrolplanes.mdx Updates the current Calico Open Source HCP workflow with required CRD readiness waits.
calico-enterprise/​getting-started/​install-on-clusters/​openshift/​hostedcontrolplanes.mdx Updates the current Calico Enterprise HCP workflow with required CRD readiness waits.
calico-enterprise_versioned_docs/​version-3.24-2/​getting-started/​install-on-clusters/​openshift/​hostedcontrolplanes.mdx Updates Calico Enterprise 3.24-2 HCP instructions with required CRD readiness waits.
calico-enterprise_versioned_docs/​version-3.24-1/​getting-started/​install-on-clusters/​openshift/​hostedcontrolplanes.mdx Updates Calico Enterprise 3.24-1 HCP instructions with required CRD readiness waits.
calico-enterprise_versioned_docs/​version-3.23-2/​getting-started/​install-on-clusters/​openshift/​hostedcontrolplanes.mdx Updates Calico Enterprise 3.23-2 HCP instructions with required CRD readiness waits.
calico-enterprise_versioned_docs/​version-3.22-2/​getting-started/​install-on-clusters/​openshift/​hostedcontrolplanes.mdx Updates Calico Enterprise 3.22-2 HCP instructions with required CRD readiness waits.
calico-enterprise_versioned_docs/​version-3.21-2/​getting-started/​install-on-clusters/​openshift/​hostedcontrolplanes.mdx Updates Calico Enterprise 3.21-2 HCP instructions with required CRD readiness waits.
calico_versioned_docs/​version-3.33/​getting-started/​kubernetes/​openshift/​hostedcontrolplanes.mdx Updates Calico Open Source 3.33 HCP instructions with required CRD readiness waits.
calico_versioned_docs/​version-3.32/​getting-started/​kubernetes/​openshift/​hostedcontrolplanes.mdx Updates Calico Open Source 3.32 HCP instructions with required CRD readiness waits.
calico_versioned_docs/​version-3.31/​getting-started/​kubernetes/​openshift/​hostedcontrolplanes.mdx Updates Calico Open Source 3.31 HCP instructions with required CRD readiness waits.

Review effort: Lite

Comment on lines +202 to 204
timeout --foreground 600 bash -c "while ! oc get crd installations.operator.tigera.io apiservers.operator.tigera.io; do sleep 5; done"
oc wait --for=condition=Established --timeout=120s crd/installations.operator.tigera.io crd/apiservers.operator.tigera.io
ls 03* | xargs -n1 oc apply -f
Comment on lines +202 to 204
timeout --foreground 600 bash -c "while ! oc get crd installations.operator.tigera.io apiservers.operator.tigera.io; do sleep 5; done"
oc wait --for=condition=Established --timeout=120s crd/installations.operator.tigera.io crd/apiservers.operator.tigera.io
ls 03* | xargs -n1 oc apply -f
Comment on lines +202 to 204
timeout --foreground 600 bash -c "while ! oc get crd installations.operator.tigera.io apiservers.operator.tigera.io; do sleep 5; done"
oc wait --for=condition=Established --timeout=120s crd/installations.operator.tigera.io crd/apiservers.operator.tigera.io
ls 03* | xargs -n1 oc apply -f
Comment on lines +202 to 204
timeout --foreground 600 bash -c "while ! oc get crd installations.operator.tigera.io apiservers.operator.tigera.io; do sleep 5; done"
oc wait --for=condition=Established --timeout=120s crd/installations.operator.tigera.io crd/apiservers.operator.tigera.io
ls 03* | xargs -n1 oc apply -f
Comment on lines +202 to 204
timeout --foreground 600 bash -c "while ! oc get crd installations.operator.tigera.io apiservers.operator.tigera.io; do sleep 5; done"
oc wait --for=condition=Established --timeout=120s crd/installations.operator.tigera.io crd/apiservers.operator.tigera.io
ls 03* | xargs -n1 oc apply -f
Comment on lines +202 to 204
timeout --foreground 600 bash -c "while ! oc get crd installations.operator.tigera.io apiservers.operator.tigera.io; do sleep 5; done"
oc wait --for=condition=Established --timeout=120s crd/installations.operator.tigera.io crd/apiservers.operator.tigera.io
ls 03* | xargs -n1 oc apply -f
Comment on lines +188 to 190
timeout --foreground 600 bash -c "while ! oc get crd installations.operator.tigera.io apiservers.operator.tigera.io goldmanes.operator.tigera.io whiskers.operator.tigera.io; do sleep 5; done"
oc wait --for=condition=Established --timeout=120s crd/installations.operator.tigera.io crd/apiservers.operator.tigera.io crd/goldmanes.operator.tigera.io crd/whiskers.operator.tigera.io
ls 03* | xargs -n1 oc apply -f
Comment on lines +188 to 190
timeout --foreground 600 bash -c "while ! oc get crd installations.operator.tigera.io apiservers.operator.tigera.io goldmanes.operator.tigera.io whiskers.operator.tigera.io; do sleep 5; done"
oc wait --for=condition=Established --timeout=120s crd/installations.operator.tigera.io crd/apiservers.operator.tigera.io crd/goldmanes.operator.tigera.io crd/whiskers.operator.tigera.io
ls 03* | xargs -n1 oc apply -f
Comment on lines +188 to 190
timeout --foreground 600 bash -c "while ! oc get crd installations.operator.tigera.io apiservers.operator.tigera.io goldmanes.operator.tigera.io whiskers.operator.tigera.io; do sleep 5; done"
oc wait --for=condition=Established --timeout=120s crd/installations.operator.tigera.io crd/apiservers.operator.tigera.io crd/goldmanes.operator.tigera.io crd/whiskers.operator.tigera.io
ls 03* | xargs -n1 oc apply -f
Comment on lines +188 to 190
timeout --foreground 600 bash -c "while ! oc get crd installations.operator.tigera.io apiservers.operator.tigera.io goldmanes.operator.tigera.io whiskers.operator.tigera.io; do sleep 5; done"
oc wait --for=condition=Established --timeout=120s crd/installations.operator.tigera.io crd/apiservers.operator.tigera.io crd/goldmanes.operator.tigera.io crd/whiskers.operator.tigera.io
ls 03* | xargs -n1 oc apply -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants