How to externally upgrade your Edge site
With External upgrade mode, a new version of your Edge site is applied through your own tooling, outside of Edge's Automatic or Manual upgrade flow. How you upgrade depends on how you installed your Edge site.
Air-gapped Edge sites (Zarf)
If you have an Air-gapped Edge site, you can download a new Zarf package to upgrade your site. You can also review the Software Bill of Materials, (SBOM) which outlines what is included in the upgrade, before upgrading your Edge sites. For more information about ZARF SBOMs, go to the ZARF SBOMs documentation.
Steps
- From the Downloads page, click the latest Collibra Zarf package. Note If you do not see Collibra CPSH extended capabilities please reach out to your Collibra account team.
- From the Collibra Zarf package page, click and download the Edge Zarf package.
- Set up your kubeconfig or kubecontext so that it points to the same Kubernetes cluster as your existing Air-gapped Edge site.
- If you don't plan to install Technical lineage Collibra Platform Self-Hosted, apply these priority classes with
kubectl apply -f cpsh-priority-classes.yaml /cpsh-platform-zarf-package/resources/cpsh-priority-classes.yaml:CopyapiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
name: platform
value: 10000000
description: "Platform supporting services level"
---
apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
name: application
value: 100000
description: "Application level"
---
apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
name: job
value: 1000
description: "Job level" -
If you are using an Openshift cluster, deploy Security Context Constraints (SCC) which provide Edge service accounts with the required permissions.
How to create and install security constraints…
- Create the SCC file, for example, edge-scc-minimal.yaml, and paste the following information into it:
Copy
apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
metadata:
name: edge-scc-documented
allowHostDirVolumePlugin: false
allowHostIPC: false
allowHostNetwork: false
allowHostPID: false
allowHostPorts: false
allowPrivilegeEscalation: false
allowPrivilegedContainer: false
allowedCapabilities: []
allowedUnsafeSysctls: []
defaultAddCapabilities: []
fsGroup:
type: MustRunAs
priority: null
readOnlyRootFilesystem: true
requiredDropCapabilities: []
runAsUser:
type: MustRunAs
uid: 1000
seLinuxContext:
type: MustRunAs
seLinuxOptions:
level: "s0"
role: "system_r"
type: "container_t"
user: "system_u"
seccompProfiles:
- 'runtime/default'
supplementalGroups:
type: MustRunAs
# who can use it
users: []
groups: [system:authenticated] - Create the SCC-role file, for example, edge-scc-role-minimal.yaml, and paste the following information into it:
Copy
# File: edge-scc-role-minimal.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: edge-scc-minimal
rules:
- apiGroups:
- security.openshift.io
resourceNames:
- edge-scc-minimal
resources:
- securitycontextconstraints
verbs:
- use
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: edge-scc-minimal
subjects:
- kind: Group
name: system:serviceaccounts
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: Role
name: edge-scc-minimal
apiGroup: rbac.authorization.k8s.io - Deploy both the SCC and SCC-role files:
Copy
kubectl apply -f edge-scc-minimal.yaml
kubectl apply -f edge-scc-role-minimal.yaml -n <my-namespace>
- Create the SCC file, for example, edge-scc-minimal.yaml, and paste the following information into it:
- Using the Zarf CLI:
- Copy and paste the following command in the Zarf CLI:Copy
zarf package deploy <PATH TO ZST PACKAGE> \
--set PLATFORM_ID=<DGC URL> \
--set PLATFORM_USER=<DGC ADMIN NAME> \
--set PLATFORM_PASSWORD=<DGC ADMIN PASSWORD> \
--set SITE_NAME=<SITE_NAME>Note If your Edge site was installed on a custom namespace, use the same namespace in this command that you used when you installed it. Add both--namespaceand--set EDGE_NAMESPACE, and make sure the two values match. If you installed your Edge site in the defaultcollibra-edgenamespace, you don't need either flag. - Enter the relevant details for each installation flag. For example, enter your Collibra Platform Self-Hosted URL for
<DGC URL>.Show me the Zarf flags…Flag Description zarf package deploy <PATH TO ZST PACKAGE>The path Edge site Zarf package you downloaded. --set PLATFORM_ID=<DGC URL>The URL of your Collibra Platform Self-Hosted. --set PLATFORM_USER=<DGC ADMIN NAME>The username of your Collibra admin. --set PLATFORM_PASSWORD=<DGC ADMIN PASSWORD>The password of your Collibra admin. --set SITE_NAME=<SITE_NAME>The name of your existing Edge site.
Warning The site name must exactly match the existing Edge site you want to upgrade. If it doesn't match, a second Edge site is created without your connections or capabilities, and your original Edge site is unhealthy.--namespace <NAMESPACE>If your Edge site was installed on a custom namespace, add this flag and enter the namespace it was originally installed in. If you installed your Edge site in the default collibra-edgenamespace, you don't need this flag.--set EDGE_NAMESPACE=<NAMESPACE>Required when you use the --namespaceflag. Enter the same namespace as the--namespaceflag. If you installed your Edge site in the defaultcollibra-edgenamespace, you don't need this flag.--set OPENSHIFT_ENABLED=trueAdd this flag if you are deploying your Air-gapped Edge site on an OpenShift cluster. This enables the required Security Context Constraints (SCC) and OpenShift-specific configuration for the Edge site pods. --set FORCED_AUTH=<OAUTH or BASIC>Optional. By default, Edge checks whether your Collibra Platform Self-Hosted supports OAuth and migrates your site accordingly. Add this flag to override this behavior:
OAUTH: Upgrade your site to OAuth authentication.BASIC: Keep your site on basic authentication. If your site already uses OAuth, it is changed back to basic authentication.
Any other value stops the deployment with an error and leaves your existing credentials unchanged.
- Run command to upgrade the Edge site. Your Air-gapped Edge site is upgraded.Note When you upgrade to the 2026.10 or newer Zarf package, Edge automatically migrates a site that uses basic authentication to OAuth, if your Collibra Platform Self-Hosted supports OAuth. This is a one-time credential change. If Edge can't retrieve the OAuth credentials, the migration is abandoned and your site keeps its working basic authentication credentials.Note If an Air-gapped Edge site fails to upgrade on your Kubernetes cluster, you can use one of the following commands as a disaster-recovery step:
- Remove the failed Edge site from your Kubernetes cluster and Edge by running the following command:Copy
zarf package remove cpsh-edge --confirm - Remove the failed Edge site from your Kubernetes cluster, but keep the Edge site in Edge by running the following command:CopyWhen you try to install or reinstall the failed Air-gapped Edge site installation, you can use the same name to reuse the Edge site in Edge.
ZARF_VAR_KEEP_CPSH_EDGE_SITE=true \
zarf package remove cpsh-edge --confirm
- Remove the failed Edge site from your Kubernetes cluster and Edge by running the following command:
- Copy and paste the following command in the Zarf CLI:
- Log in to Edge to add connections and capabilities to your Air-gapped Edge site.
Troubleshooting
If the --namespace flag doesn't match how your Edge site was installed, Zarf can't find the existing installation. Zarf writes the namespace override into the name of the state secret it keeps for the package, so an upgrade that omits the flag can't find an installation that used it, and vice versa.
To see how your Edge site was installed, run the following command:
kubectl get secret -n zarf -o name | grep -E 'zarf-package-cpsh-edge(-override-.+)?$'
If the name has no -override- suffix, the site was installed without --namespace. If it ends with -override-<NAMESPACE>, the site was installed with --namespace <NAMESPACE>.
Upgrade your Edge sites via a CD tool (Argo CD example)
If you installed your Edge site using a CD tool, you manage every step of the installation yourself, including upgrades.
The following is an example of how to upgrade your Edge site with Argo CD by running helm and kubectl commands directly against your cluster. If a continuous delivery (CD) tool manages your release, update the version it targets instead, as shown in step 3.
Prerequisites
- You manage your Edge site on a CD tool.
- You are familiar with Argo CD and Helm, if not, please contact Consulting or Professional services for assistance.
Steps
- Find the version you want to upgrade to. Query the Edge REST API for the versions available to your site:Copy
GET /rest/edge/v1/sites/{siteId}/versionsNote Replace{siteId}with your Edge site ID, and authenticate with your Collibra credentials. For the full request and response reference, go to List available upgrade versions for a site in the Collibra Developer Portal. - Change the chart version that the Argo CD Application targets. Replace
<new-exact-version>with the exact chart version string. Automated sync applies the change.Copykubectl patch application collibra-edge -n argocd --type merge \
-p '{"spec":{"source":{"targetRevision":"<new-exact-version>"}}}'To roll back, run the following command. Replace
<HISTORY_ID>with the history ID of the version to roll back to.Copyargocd app rollback collibra-edge <HISTORY_ID>Note Argo CD doesn't resolve pre-production builds from a version range, so use the exact version string.
What's next?
- Review the Compatibility between Edge sites and Collibra Platform Self-Hosted to know when you need to either reinstall your Edge site for an upgraded version of k3 or upgrade to the latest Edge supported version of your managed Kubernetes.
- Optionally, set up a private docker registry to easily incorporate Edge into your existing security procedures and perform your own security scans before upgrading to a new version of Edge site.