Skip to content

Add static/calico-enterprise/3.23/scripts/#2831

Merged
ctauchen merged 1 commit into
tigera:mainfrom
ctauchen:add-ce-3.23-static-scripts
Jul 6, 2026
Merged

Add static/calico-enterprise/3.23/scripts/#2831
ctauchen merged 1 commit into
tigera:mainfrom
ctauchen:add-ce-3.23-static-scripts

Conversation

@ctauchen

@ctauchen ctauchen commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

What

Adds static/calico-enterprise/3.23/scripts/ (switch-active-operator.sh, install-calico-windows.ps1), copied from next/.

Why

The versioned static scripts dir was never created at the 3.23 version cut — only 3.143.22 and next exist under static/calico-enterprise/. But tmpScriptsURL in the 3.23 variables.js points at /calico-enterprise/3.23, so docs.tigera.io/calico-enterprise/3.23/scripts/switch-active-operator.sh 404s on production.

This targets main (not the publication branch) so it deploys to production ahead of the 3.23.1 release — the release build's link check hits the live server, so the asset needs to be live first.

🤖 Generated with Claude Code

The versioned static scripts dir was never created at the 3.23 version
cut (only 3.14-3.22 and next existed), yet tmpScriptsURL points at
/calico-enterprise/3.23, so switch-active-operator.sh 404s on production.
Add the dir (switch-active-operator.sh, install-calico-windows.ps1) so it
deploys ahead of the 3.23.1 release.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 6, 2026 21:02
@ctauchen
ctauchen requested a review from a team as a code owner July 6, 2026 21:02
@netlify

netlify Bot commented Jul 6, 2026

Copy link
Copy Markdown

Deploy Preview for calico-docs-preview-next ready!

Name Link
🔨 Latest commit 81f9f6a
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/6a4c17cf6dbf19000856d67f
😎 Deploy Preview https://deploy-preview-2831--calico-docs-preview-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@netlify

netlify Bot commented Jul 6, 2026

Copy link
Copy Markdown

Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit 81f9f6a
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6a4c17cfa9b735000a72c81f
😎 Deploy Preview https://deploy-preview-2831--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: 95 (🟢 up 7 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

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.

Pull request overview

Adds the missing Calico Enterprise 3.23 versioned static scripts directory so versioned docs that reference /calico-enterprise/3.23/scripts/... no longer 404 in production.

Changes:

  • Add static/calico-enterprise/3.23/scripts/switch-active-operator.sh.
  • Add static/calico-enterprise/3.23/scripts/install-calico-windows.ps1.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
static/calico-enterprise/3.23/scripts/switch-active-operator.sh Introduces the 3.23 copy of the operator-switch helper script to match the expected versioned static URL path.
static/calico-enterprise/3.23/scripts/install-calico-windows.ps1 Introduces the 3.23 copy of the Windows install script to populate the versioned static URL path.

Comment on lines +24 to +27
exit_code=0
kubectl $@ 1> ${OUTPUT_TMP}
exit_code=$?
if [[ "${exit_code}" == "0" || "${exit_code}" == "" ]]; then
EOF
}

if kubectl get ns ${NEW_NAME} 2>&1 > /dev/null ; then
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
Comment on lines +266 to +268
if (-Not $AutoCreateServiceAccountTokenSecret) {
throw "$SecretName service account token secret does not exist."
} else {
@ctauchen
ctauchen merged commit a51cfb7 into tigera:main Jul 6, 2026
11 checks passed
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