Upgrade the JFrog Crossplane Providers
Move the JFrog Crossplane providers and Crossplane itself to a new version.
Upgrade the JFrog Crossplane providers to a new image tag. Upgrade Crossplane itself when needed.
Prerequisites
- The providers are installed. For more information, see Install the JFrog Crossplane Providers.
Upgrade the Providers
-
Update
spec.packageto the new image tag. KeeppackagePullSecretsas it is.Crossplane creates a new ProviderRevision and updates the CRDs. What happens next depends on
revisionActivationPolicy:revisionActivationPolicy: Automatic: Crossplane switches over to the new revision.Manual: Setspec.desiredState: Activeon the new revision.
-
Watch the revisions and providers:
kubectl get providerrevisions kubectl get providers -
Review the release notes for schema changes. Remove any fields that were deprecated or deleted. Otherwise, the API server rejects your manifests.
To roll back, restore the previous image tag.
Upgrade Crossplane
Run the following command:
helm upgrade crossplane crossplane-stable/crossplane -n crossplane-system --version <new>Replace the following:
<new>: The new Crossplane Helm chart version. Stay on Crossplane 2.0 or later.
Next Steps
- If a provider doesn't become healthy after the upgrade, see Troubleshoot the JFrog Crossplane Providers.
Updated about 1 hour ago
Did this page help you?
