Skip to main content
Version: v1.4.x

Airgapped Appliance Upgrade (1.4.0–1.4.2 to 1.x)

Summary​

On an airgapped PaletteAI appliance (PaletteAI VerteX or enterprise airgap install), upgrading from 1.4.0, 1.4.1, or 1.4.2 toward any newer PaletteAI 1.x release (for example 1.4.3 or 1.5.0) will fail during chart reconciliation due to an admission webhook race condition. Failures also involve public registry image pulls and the hue-secrets-webhook-register post-upgrade hook.

warning

The steps on this page are operational workarounds until a release includes the fix. Apply them on the appliance cluster before you retry the upgrade workflow.

Affected Products and Versions​

ProductBase versionTarget versionEnvironment
PaletteAI appliance (VerteX or enterprise)1.4.0, 1.4.1, or 1.4.2Any newer 1.x (for example 1.4.3, 1.4.4, or 1.5.0)Airgapped (Zot / in-cluster registry)

Symptoms​

SymptomLikely cause
Management-plane pack or chart install blocked by hue-secrets-admissionWebhook runs for system principals on 1.4.0–1.4.2 chart defaults
mural-system pods in ImagePullBackOff against public registriesMissing launchpad.spectrocloud.com/engine-image-swap on workload pods
HelmRelease/mural upgrade fails; hook job hue-secrets-webhook-register in Init:ImagePullBackOffPost-upgrade hook image still points at public ECR until HelmRelease values match 1.4.2+ chart defaults

Prerequisites​

  • Cluster admin access with a kubeconfig that can reach the appliance API (for example /etc/kubernetes/admin.conf on the leader node).
  • The upgrade bundle and chart roll-forward target for your newer 1.x release (for example 1.4.3) are already staged or you plan to run your usual upgrade workflow after these steps.

Workaround​

Apply the following steps in order on the appliance cluster.

1. Limit hue-secrets-admission to tenant-scoped callers​

This patch adds matchConditions so the webhook applies only when the caller is in a pai:tenant: group. System components such as management-plane packs can proceed while the cluster is on 1.4.0–1.4.2 chart defaults.

kubectl patch validatingwebhookconfiguration hue-secrets-admission --type=json --patch='[
{"op":"add","path":"/webhooks/0/matchConditions","value":[
{"name":"tenant-scoped-callers","expression":"request.userInfo.groups.exists(g, g.startsWith(\"pai:tenant:\"))"}
]}
]'

2. Enable image swap on mural-system Deployments​

Label every Deployment pod template in mural-system so Stylus rewrites images to the local registry (Zot).

kubectl --namespace mural-system get deploy --output name | while read -r dep; do
kubectl --namespace mural-system patch "$dep" --type merge --patch '{
"spec": {
"template": {
"metadata": {
"labels": {
"launchpad.spectrocloud.com/engine-image-swap": "true"
}
}
}
}
}'
done

Wait for rollouts to finish, then confirm pods are Running:

kubectl get pods --namespace mural-system

If add-on workloads in other namespaces (for example open-cluster-management-agent-addon) still pull from the public internet, apply the same patch pattern to Deployments in those namespaces.

3. Set the secrets webhook register hook image on HelmRelease/mural​

PaletteAI 1.4.2 and later chart defaults ship the bundled spectro-kubectl image for this hook. On airgapped nodes, patch the live HelmRelease values before you retry the mural upgrade to your target 1.x release (for example 1.4.3).

The hook Job pod does not carry the launchpad.spectrocloud.com/engine-image-swap label from step 2, because the chart sets the Job pod labels. The image still pulls on an airgapped appliance because the spectro-kubectl image is included in the 1.4.2 and later content bundles, so the appliance can serve it from its local registry. If the hook pod stays in ImagePullBackOff after this patch, confirm that the image is present in the local registry before you retry the upgrade.

kubectl patch helmrelease mural --namespace mural-system --type merge --patch '{
"spec": {
"values": {
"hue": {
"admissionWebhooks": {
"secretsWebhookRegister": {
"image": "us-docker.pkg.dev/palette-images-fips/third-party/spectro-kubectl:1.37.1-spectro-4.9.x"
}
}
}
}
}
}'

Delete any failed hook job, then reconcile:

kubectl delete job hue-secrets-webhook-register --namespace mural-system --ignore-not-found
flux reconcile helmrelease mural --namespace mural-system

For the chart diff that introduced this image, see the Hue section in PaletteAI 1.4.2 Release Notes.

Validation​

Confirm the cluster is ready for you to rerun the upgrade or charts-only workflow:

kubectl --namespace mural-system get helmrelease mural mural-crds --output custom-columns='NAME:.metadata.name,CHART:.status.history[0].chartVersion,READY:.status.conditions[?(@.type=="Ready")].status'
kubectl get pods --namespace mural-system

Both HelmReleases should report Ready=True, and mural-system pods should be Running or Completed.

Status​

Open — workaround available.

Next Steps​

  1. Retry your PaletteAI appliance upgrade workflow (content bundle and/or chart roll-forward to your target 1.x release, for example 1.4.3).
  2. Return to Known Issues for other active issues.
  3. Review PaletteAI 1.4.2 Release Notes for permanent chart changes that supersede these workarounds in newer installs.