Portainer - 2.20.2

Security

2.20.2

See Upgrading Portainer instructions.

Overview of Changes

Introducing the new Portainer CE 2.20.2 release. This is an STS (Short-Term Support) release.

As you gear up for the transition to Portainer CE 2.20.2, our latest STS (Short-Term Support) installment, ensuring a smooth upgrade is key. We urge you to back up your configurations via the Portainer UI beforehand. This backup acts as your safety net, ensuring you can gracefully revert to the prior version or state if the new frontier proves too wild. Additionally, pore over the release notes for catching any compatibility issues, understanding deprecated functionalities, and identifying essential tweaks to your current setup. Your diligence will pave the way for a seamless update.

A Short-Term Support release can be considered as "bleeding-edge" as it will contain the latest features and functionality we've developed. The STS releases (including this one) will go through a significant amount of pre-release testing, but there may be changes that could cause regressions and features that might see further iterations. As such, if stability is a crucial concern for your setup we wouldn't recommend deploying STS releases on production environments.

Read more in our "Portainer 2.20 STS" blog

Resolved CVEs

Edge

  • Resolved an issue with the edge post initiation migration runner to ensure it runs migrations at the appropriate time, when connection between an edge environment and Portainer server has been established. portainer/portainer#11733

Docker

  • Resolved an issue that caused errors when users attempted to connect to their Docker environment via API using HTTPS portainer/portainer#11721
  • Provided info text in the UI to clearly explain environment variables stack.env file usage when deploying Docker stacks via Git vs. other methods. portainer/portainer#11732

Kubernetes

  • Ensured confirmed support of vanilla Kubernetes 1.30 clusters. portainer/portainer#11730
  • Resolved an issue with Kubernetes environments that have a significant number of services where the Dashboard services panel never completed loading and the loading spinner was indefinitely displayed. portainer/portainer#11734

Portainer

  • Fixed an issue introduced in 2.20.0 where a user logged in using external SSO could no longer create a Portainer API access token. portainer/portainer#11731
  • Fixed an issue where redeploying a git-based deployment failed due to the target path already existing portainer/portainer#11722
  • Resolved an issue where pending actions to be run on environments would still be considered for deleted environments (although not actually run). portainer/portainer#11735
  • Resolved issue where containers that exited with code 0 were incorrectly marked as failed deployments portainer/portainer#11724
  • Introduced an additional option to automatically detect the authentication style for OAuth portainer/portainer#11725

API Changes

Modified endpoints

  • PUT /settings Update Portainer settings

    Parameters

    ```
    Added: body.OAuthSettings.AuthStyle

    ```

    Return Type

    ```
    Added: OAuthSettings.AuthStyle

    ```

  • GET /settings Retrieve Portainer settings

    Return Type

    ```
    Added: OAuthSettings.AuthStyle

    ```

  • PUT /settings/default_registry Update Portainer default registry settings

    Return Type

    ```
    Added: OAuthSettings.AuthStyle

    ```

  • POST /users/{id}/tokens Generate an API key for a user

    Return Type

    ```
    Added: apiKey
    Added: rawAPIKey

    ```


Details

date
April 30, 2024, 9:47 p.m.
name
Release 2.20.2
type
Patch
👇
Register or login to:
  • 🔍View and search all Portainer releases.
  • 🛠️Create and share lists to track your tools.
  • 🚨Setup notifications for major, security, feature or patch updates.
  • 🚀Much more coming soon!
Continue with GitHub
Continue with Google
or