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

Upgrade the Providers

  1. Update spec.package to the new image tag. Keep packagePullSecrets as 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: Set spec.desiredState: Active on the new revision.
  2. Watch the revisions and providers:

    kubectl get providerrevisions
    kubectl get providers
  3. 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


Did this page help you?