Release Notes

July 2024

2024-07-08

Self-Hosted version number: v1.1342.0

This is a maintenance release with some UI improvements, bugfixes and security updates.

Security

  • Upgraded nginx

  • Upgraded workflow runner to use the latest versions of the Garden CLI.

  • Updated node-vault

Note

Garden 0.12.x officially reached End Of Life and it's no longer supported.

June 2024

2024-06-07

Self-Hosted version number: v1.1304.0

Hello users! It has been a while since the last release so be ready for quite some updates!

Notable changes include:

New Features

  • A new revamped Stackgraph UI.

  • New usage stats on the Commands page, with action run time compared to monthly averages.

  • New Usage page, to get insights on how many actions you run and how much time you saved through caching, available under your Organization menu.

Improvements

  • Improvements of the Stackgraph rendering logic.

  • UI improvements in modals and tooltips.

  • Display CLI version on command detail page.

  • Automatically reload Stackgraph on config changes.

  • Show Preview Environments for all user in org.

  • Better searchable dropdowns.

  • New action kinds filter.

  • Performance improvements when loading Commands and Command Detail pages.

Fixes

  • Fixed pagination in GitHub project import.

  • Fixed bug leading to wrong action status.

  • Removed logs button from cached actions.

  • Fix event processing to ensure event emitting order is respected.

  • Fix duplicate logs in Action logs page.

On top of that, we improved many more UI details, fixed lots more bugs and updated first and third-party dependencies as per our security best practices and compliance standards.

Misc

  • We now deploy a Redis Deployment, which is used as a queue for scheduling jobs like workflow runners, AEC runners, etc. No action is required on your side.

  • You might notice some urls are more lengthy. We now scope different resources by their own id, e.g. (https://instance.garden.io/projects/c3a57c5e-21eb-4373-9f5a-0h27h9e526e5/live?view=logs). If you have external tools that point to hardcoded urls, you might need to update those references.

Garden 0.12.x EOL

โ€œAll good things must come to an endโ€, so we announced the 30th of June, 2024 as the End Of Life date for Garden 0.12.x. Please read our announcement for more details.

Happy Gardening, The Garden Team.

July 2023

2023-07-31

Self-Hosted version number: v1.844.0

This is a maintenance release that enables self-hosted installations of Garden Enterprise to be compatible with Kubernetes versions greater than v1.25.

2023-07-26

Self-Hosted version number: v1.839.0

New features

  • Short links: Allow the use of short links to the commands page in recent versions of the Garden CLI. This helps reduce the likelyhood of broken links due to line breaks in the terminal, e.g. when the URL does not fit in the size of the terminal.

  • Users page redesign: Users are now being displayed in a table, making it possible to reorder users based on the name, account type or roles, which makes it easier to manage a large number of users.

  • Cleanup runs page: Dedicate a main menu entry to the Automatic Environment Cleanup feature, to make it more discoverable.

Other improvements

  • Do not suggest environments that have no auth script configured when creating preview environments. See also the documentation about authenticating to your providers

  • Live page: Also display commands that have been triggered in the terminal dev console and more improvements to the Live Page feature.

  • Improve how internal errors are being displayed in the UI

  • Re-enable live updates to the Action Graph view in the commands page.

  • Improvements to the "dark mode" color theme.

  • Use Garden CLI versions 0.12.63 (for projects with apiVersion: garden.io/v0) and 0.13.9 (for projects with apiVersion: garden.io/v1) in Triggered Workflows and One-Click Preview Environments.

Bug fixes

  • Access tokens could not be copied or accessed in the UI after creation.

  • Scrolling to the bottom did not work anymore in Logs modals.

  • In some cases, the cleanup run detail modal displayed logs from another cleanup run.

  • Sometimes previously configured authentication scripts in the environment settings did not show up.

  • When streaming service logs in the Live Page, log lines were displayed multiple times in some cases.

  • Configuring additional trusted CA certificates in the Replicated UI did not have an effect in Triggered Workflows and One-Click Preview Environments.

  • Several other minor fixes in the UI.

June 2023

2023-06-21

Self-Hosted version number: 1.740.0

New features

  • Display sync and deploy statuses on the live page. This makes it easier to see which syncs are failing when using code syncing.

Bug fixes

  • This release fixes a bug where ingress links were not always displayed in preview environments.

  • This release resolves an issue where links to branches, pull requests and commits were not reflecting self-hosted GitHub or GitLab instances.

Other improvements

2023-06-07

Self-Hosted version number: 1.652.2

This is a maintenance release that solves a number of small issues and also contains the latest Garden bug fixes.

New Features

  • Added ability for self-hosted customers to specify trusted CA certificates in the Replicated UI, in case the SSL certificate used for the Garden web interface is not generally trusted and/or self-signed.

Other improvements

  • Use Garden CLI versions 0.12.57 (for projects with apiVersion: garden.io/v0) and 0.13.1 (for projects with apiVersion: garden.io/v1) in triggered workflows and 1-click preview environments

  • Change default log level for self-hosted customers from warning to info

May 2023

2023-05-24

Self-Hosted version number: 1.652.1

Bug fixes

  • This release resolves an error in the deployment of the previous release if the "Automatically Install Ingress Controller" has not been selected in the Replicated configuration.

Other improvements

  • Use Garden CLI versions 0.12.56 (for projects with apiVersion: garden.io/v0) and 0.13.0 (for projects with apiVersion: garden.io/v1) in triggered workflows and 1-click preview environments

2023-05-16

Self-Hosted version number: 1.652.0

IMPORTANT NOTE: Manual actions required if you are a Replicated / self-hosted user before installing the update:

  1. Create a database backup and make sure that database restore works before installing the update.

  2. The database update requires a downtime. Please run the following command before installing the update: kubectl scale deploy api --namespace garden-enterprise --replicas 0

  3. Install the update. You can monitor the progress of the migrations by running kubectl logs --namespace garden-enterprise -f deploy/api -c migrations-runner Once the update is complete, your Garden Cloud instance will become available for you automatically. There is no need to scale back up manually.

This release is required for compatibility with Garden Version 0.13 (Codename Bonsai). Please ensure you upgrade Garden Cloud to this version for a seamless experience with Garden 0.13.

New Features

  • Improved Secrets UI Rendering: Secrets UI now renders as a table, allowing users to view and manage secrets in a more organized and intuitive manner.

  • Improved Filtering UI: Filtering has been improved across all filterable views, making it easier for users to apply multiple filter conditions simultaneously.

  • Improved Command UI: Command actions are now grouped by default into categories like โ€œBuildโ€, โ€œDeployโ€, โ€œRunโ€, and โ€œTestโ€.

  • Improved Stack Streams UI: Stack Streams now supports the formatting of JSON log lines and log filtering.

  • Dark Mode UI option: Dark mode can be enabled in the user settings, reducing eye strain in low-light environments.

  • Cloud Workflow Push triggers: Workflows can now be triggered automatically through push events, enabling seamless integration and continuous deployment workflows.

  • Improved Empty States in UI: The empty states of the UI have been enhanced to provide clearer guidance and instructions for users when using features for the first time.

Bug Fixes and Improvements

  • Improved Reliability of Workflows: Enhancements have been made to increase the overall reliability and stability of workflows, ensuring smoother execution and reducing potential disruptions.

  • Runs on Node Version 18: Garden Cloud now runs on Node Version 18, taking advantage of the latest improvements, features, and performance enhancements offered by the updated Node.js runtime.

  • Updated Nginx Helm Chart to 4.4.0: The Nginx Helm chart used in Garden Cloud has been updated to version 4.4.0, ensuring compatibility with the latest features, bug fixes, and security enhancements provided by the Nginx project.

  • Various other bug fixes and performance improvements have been implemented to enhance the overall stability and usability of Garden Cloud.

BREAKING CHANGES

  • All database IDs are now UUIDs, which impacts Garden Cloud URLs. Old URLs (e.g., in internal documentation) using legacy integer IDs will stop working.

January 2023

2023-01-06

Self-Hosted version number: 1.248.0

This release introduces a required migration for improving the database schema.

2023-01-06

Self-Hosted version number: 1.247.0

This release introduces some fixes and improvements:

  • Required migration for improving the database schema.

  • Disable proxy buffering in nginx

  • Performance improvements

  • Enable filtering on status on 'Command History' page

  • Improvements in the Command and Workflow pages

2023-01-06

Self-Hosted version number: 1.230.0

This release introduces a required migration for improving the database schema.

November 2022

2022-10-10

Self-Hosted version number: 1.225.0

This release introduces several changes:

  • Improved design system and UI components.

  • Updated Runner image to run Garden 0.12.46.

  • Improved database schema.

and many more bugfixes and improvements.

October 2022

Self-Hosted version number: 1.213.0

IMPORTANT NOTE: This release is marked as required. If you are a Replicated user you will need to deploy this version before updating to the next version. If you are using the Replicated auto-update functionality, we highly recommend to disabled it for the time being, since the current version of Replicated (1.88.0 as of 27th of October 2022) contains a bug that make the installer skip required versions when using auto-update.

UI refresh

This release contains a much needed refresh to our UI: we adopted a new typeface, a new color scheme and a new design for status indicators. Additionally, we fixed many UI quirks and bugs on the features we released in September. This is an ongoing process, so stay tuned for more changes in the next releases.

Additional Improvements and fixes

  • We fixed some bugs and inconsistencies around the Insights functionality,

  • We improved the Command History tab, adding more useful fields in the table.

Plus more various improvements to the Workflow Run page and others.

September 2022

Self-Hosted version number: 1.161.0

New Features

Insights

Garden Insights provides analytics for build, test, deploy and tasks executed by Garden. The main metrics used are timings and outcomes over a 30 day time window. In order to make the data more actionable, we include a trend indicator and detailed view with timeseries for each action. For example, it might help to identify when the mean build time of a service has increased by 40% or the failures of the integration test suite has doubled compared to the previous 30 days.

You can find more information in the Insights feature page.

Commands and Workflows pages

After receiving a lot of feedback from our users on the Namespace page, we decided to rework the Cloud UI to better represent what type of data we are showing. This led us to remove the Namespaces page and replace it with the new Commands page, which you can find in the sidebar on the left and it's the first page shown when selecting a project.

This page displays the result of the last Garden command run, and contains all the features that were present in the old Namespace page: List View and Graph view of your modules, buttons for the command palette and Stack Streams. Additionally, you can now select an older Garden command run or visit the overview of the commands history as well as filter commands run by specific users.

The old Workflow tab which used to live under Namespaces is now its own top-level page. Here you are able to select workflows by user as well as environments, giving you a quick entry-point for debugging workflow runs across your entire system.

Other changes

  • We now support IRSA for Vault authentication when using AWS, please refer to the updated documentation page.

  • We also included several improvements, bug fixes and UI changes.

August 2022

Self-Hosted version number: 1.75.0

New Features

  • Using One-Click Preview Environments, you can now effortlessly create preview environments for any branch in the Garden Cloud UI. This allows any user (technical or otherwise) to spin up a preview environment from any branch. The Automatic Environment Cleanup functionality can then be used to clean up the preview environments.

  • We gave the UI a refresh. This includes both visual and functional updates, geared for easier and more enjoyable everyday usage. You now have a better overview of the different functionality Garden Cloud provides and you can jump to the page you want to visit using keyboard shortcuts. We are always trying to improve how you, our users, interact with our product and we'd love to hear your feedback.

  • Using the Command Palette you can now trigger any action from within Garden Cloud, without having to start a new process in the terminal. While running Garden in watch mode, press โŒ˜P if you're on Mac (or ^P if you're on another platform) and you'll see a screen that lets you type an action and run it by pressing enter.

  • You can now view old stack logs in your namespace by selecting them from a dropdown in the logs modal.

Other Changes

  • We published examples of authentication scripts for AWS EKS and GCP GKE in the Authenticating to your Providers guide.

  • We included a number of bug fixes around watch mode and Stack Streams as well.

IMPORTANT: Customers that self-host Garden Cloud must update the Admin Console (kotsadm) to 1.76.1 or later before installing the August 2022 update. Please refer to our guide on updating the Admin Console for further information.

We made some changes to our release process. From now on we will release a new version of the self-hosted version of Garden Cloud once a month and update the release notes accordingly.

Version 1.21.0

This release fixes some issues around cli login with GitLab and improves the usernames handling when logging in with VCS providers. We also improved some UI components and added shortcuts for opening the Stack Streams panel.

Version 1.20.0

This release introduces a big revamp to the Stack Streams UI! ๐ŸŽ‰ Additionally, it's now possible to switch between interleaved logs and paned logs and the new UI makes it easier to select the source of your logs.

We also reworked the frontend server setup and it's now possible to deploy multiple replicas: you can find the number of replicas under your General Settings in Replicated configuration (if you self-host Garden Enterprise).

If you are a Cloud user, the default replica number is now 2: please reach out to your Customer Success representative if your setup requires additional replicas.

Additionally we improved the overall system performance and fixed multiple bugs.

Version 1.19.1

This patch release fixes some performance issues when fetching logs and bumps the workflow-runner version to use Garden Core 0.12.36.

Version 1.19.0

This last release introduces plenty of performance improvements, bug fixes, and three major new features: Stack Streams beta release, pause mode for Automatic Environment Cleanup and SSO via SAML.

Stack Streams

Stack Streams beta is now generally available for all of our users.

With Stack Streams you can stream events, build and service logs, and test/task results in real time when the Garden CLI is running in watch mode.

See also our Stack Streams guide.

Stack Streams is currently in beta and we're actively working on improvements and new features. Let us know what you think of it!

Pause mode for Automatic Environment Cleanup

With the release of Garden 0.12.35, Garden Cloud now supports an additional Cleanup mode when using Automatic Environment Cleanup: Pause mode.

Pause mode will scale down all the target Deployments and StatefulSets replicas to 0, as opposed to deleting all the namespaces in the environment that is being cleaned up.

This new mode is very useful if, for example, your stack is quite big and deploying takes a lot of time or if build times for all your services are long. Restoring a "paused" environment might take less time.

Please refer to the updated Automated Environment Cleanup guide for instructions on how to turn pause mode on.

SSO via SAML

It's now possible to log into Garden Cloud using the SAML protocol. We currently support authentication via Okta and Azure, please refer to the new Authentication via SAML guide for instructions on how to set things up.

Version 1.18.10

This patch release fixes some performance issues related to some migrations.

Version 1.18.9

This patch release fixes some performance issues related to the Garden Cloud events pipeline.

Version 1.18.8

This patch release improves loading speed when visiting the Namespace view.

Version 1.18.7

This patch release fixes malfunctioning pagination on the Secrets, Activity, and Namespaces pages. Additionally, a bug that was causing unnecessary refreshes when visiting the Workflow Runs page has also been resolved.

Version 1.18.6

This patch release fixes a small bug about deploying Garden Enterprise on Kubernetes 1.22.

Version 1.18.5

This release fixes a few bugs and ensures compatibility of Garden Enterprise with Kubernetes >= 1.22:

  • Fix a bug where the Stack Graph was not rendered for triggered workflows.

  • Fix duplicate or incomplete build Logs.

  • Update Garden Enterprise manifests and Helm Charts to support Kubernetes 1.22.

Note: If you are a Garden Enterprise user and have installed the monitoring add-on Prometheus a manual intervention is necessary. The Prometheus Helm Chart was updated to the latest version and the label selectors for the kube-state-metrics deployment changed. Please delete the kube-state-metrics deployment, before upgrading in the kots admin console by running:

kubectl delete deployment prod-charts-kube-state-metrics -n garden-enterprise

The kube-state-metrics deployment will be re-created with the new label selectors, when you deploy Garden Enterprise 1.18.5 via the kots admin console.

Version 1.18.4

The release updates the version of the optional ElasticSearch and Kibana monitoring services to mitigate against the Log4Shell vulnerability. Again. ๐Ÿ™ƒ

Version 1.18.3

This patch release fixes a few minor stability related bugs and updates the workflow runner image to use Garden 0.12.33.

Version 1.18.2

This release introduces few stability-related bug fixes:

  • Fix a bug introduced in the last release which caused errors while deleting a project.

  • Improve the scheduling of cleanup runners and fix queries performance.

  • Fix the live-update logic for the StackGraph view when running Garden in dev mode.

  • Update ElasticSearch and Kibana to version 7.16.1 in order to mitigate against Log4Shell (only relevant for Enteprise customers who choose to install the additional monitoring services).

Version 1.18.1

This patch release bumps the workflow runner image to use Garden 0.12.32. Additionally, it fixes few minor UI bugs.

Version 1.18.0

Welcome, StackGraph and Service accounts!

This release introduces two new features: the StackGraph view and Service accounts.

StackGraph view

You can now switch between list and graph views under the Stack tab of your namespace. Especially useful for large projects, this view will help you better understand the dependency structure of your project, and the tasks that are currently being run by Garden.

Service accounts

You can now use service accounts to run workflows and automatic cleanups in specific environments. To create a new service account, add a new team member as usual and tick the "Service account" checkbox. You can assign groups and secrets and create access tokens as for any other user. However, service accounts cannot log into Garden Cloud.

Once the account is created, you can assign it to an environment from the environment Settings modal. All workflows triggered by Git events and automatic cleanups will now run using that account.

Note: in future releases, we will enforce the usage of service accounts for automatic cleanups: meaning you will need to create a service account and assign it to the environment that will be automatically cleaned up.

Additionally, the "Import users" functionality for GitHub users is now generally available and its feature flag has been removed.

Finally, we implemented better error messaging for workflow failures, fixed some bugs, and overall added many small UX improvements.

Version 1.17.1

This version fixes a bug that would make the webpage crash when opening the task logs modal.

Version 1.17.0

This new version introduces a new feature: the Stack view. If your namespace is created or updated by Garden >0.12.27, a new tab called "Stack" will appear on the Namespace page.

This new view allows users to get an overview of their project structure and automatically updates while running Garden, showing the results from the latest command run.

Garden Cloud will now highlight any error encountered during the latest execution (e.g. a failing test) and help users immediately locate the module that is causing the issue.

Additionally, Garden Core now streams all Build, Test, Deploy and Task logs to Garden Cloud where they are available under their respective modules in the Stack view.

Additional improvements include:

  • A less "chatty" GitLab integration: the Merge Request comments created by the GitLab integration are now updated at each run, resulting in less noise.

  • Added ingress links to workflow runs.

  • Return lists of items ordered alphabetically (e.g. users on the Team page).

  • Update color scheme to reflect the updated brand identity.

  • ...and many more bug fixes and UI improvements.

Deprecated:

The old "Tests" and "Services" tabs in the Namespace page are now deprecated and only shown for Namespaces created or updated by a version of Garden older than 0.12.27. Please rely on the new Stack tab for getting Services and Test statuses.

Version 1.16.5

This version contains a fix for a bug that was causing authentication issues when using GitHub Enterprise Server.

Version 1.16.4

This version adds the possibility to specify a custom GitHub Enterprise hostname.

Version 1.16.3

This version contains some fixes for the Automatic Environment Cleanup functionality:

  • It is now possible to save the environment settings with an empty authentication script and schedule, which allows for disabling AEC.

  • A bug that would keep failing Cleanup runners alive is now fixed.

Version 1.16.2

This release contains a few bug fixes and upgrades to downstream dependencies. Notably:

  • A bug which would cause the creation of multiple webhooks when adding a project on GitLab

  • A bug in a dependency which would make secret resolution fail under certain conditions

and more are now fixed.

Additionally, we carried out a few tweaks and refinements on the UI.

Version 1.16.1

A follow-up patch release to 1.16.0 which ensures Jobs respect the Replicated node selector config field for on-prem deployments.

Version 1.16.0

This release contains a number of usability improvements. The biggest one is the new activity feed, which allows you to view activity across your project.

In this first iteration it shows activity related to VCS events and automatic environment clean-up runs.

We'll be adding more activity types in the future, and we'd love to hear your feedback and ideas on what to include there. And, speaking of feedback, this release also adds a "Share feedback" button to the menu on the top right. We're looking forward to hearing from you :)

Other notable improvements include:

  • Environments can now be created and deleted from the UI. This can be useful if you need to add a secret to an environment before it's automatically created.

  • Added a search bar and environment filters to Secrets page.

  • The git branch name is now displayed on namespace rows for namespaces in which triggered workflows have run.

  • Added VCS info to triggered workflow runs on Namespace pages.

  • Workflow step names are now displayed in logs modal.

Version 1.15.2

This release improves the stability of workflow runner pods by using Core version 0.12.22 (which improves robustness against timeouts and network errors, and doesn't use NFS for kaniko builds).

We've also fixed a bug when re-adding repos to Garden Enterprise, making sure that duplicate projects don't get created for project configurations at the same relative path in the repo.

Finally, we've made some tweaks and improvements to the web UI.

Enjoy!

Version 1.15.1

This release significantly improves robustness and workflow runner pod logging, which makes Garden Enterprise's workflow runners more reliable and easier to use for challenging workloads.

Garden Enterprise now periodically checks for in-progress workflow runs with missing workflow runner pods, updates their status to "missing" and updates the workflow run's status in GitHub/GitLab.

This is very useful when running workflows that occasionally run into out-of-memory problems, and generally makes the system more robust during periods of high load or when the cluster is experiencing issues.

We now also stream the logs of the workflow to the runner pod log in real time to facilitate debugging. The log level can be customized in the Replicated console.

Additionally, we now keep timed-out workflow runner pods alive for five hours after marking the workflow run as timed out. This is done to facilitate debugging of timed-out workflows.

Note that if you haven't already enabled the Automatic Environment Cleanup feature flag, you'll have to fill in the In-Cluster Auth Token in your Replicated config. This is used to authenticate the CRON jobs used to check for missing/timed out workflow runs (as well as for Automatic Environment Cleanup). If you've already enabled Automatic Environment Cleanup, you'll have already provided this token (so there's no need to change your configuration for this release).

Happy hacking!

Version 1.15.0

This release introduces a major new feature: automatic environment cleanup.

We have also done a major design overhaul of the web UI! ๐ŸŽ‰

Finally, we've added the ability to delete projects. This can be done from the new project Settings tab.

Enjoy!

Automatic environment cleanup (experimental)

With automatic environment cleanup, you can configure Garden Enterprise to automatically delete Kubernetes Namespace resources:

  • When the namespace hasn't been used by a Garden command for longer than a specified number of hours; or

  • At a specified time of day (or at a specified time on a given weekday). This cleanup can optionally be enabled on a per-environment basis, and the cleanup schedule for each environment can be set independently.

Automatic environment cleanup can greatly save on infrastructure costs by making sure that namespaces (and their associated resources) aren't kept around longer than needed.

This functionality is currently flagged as experimental. To enable it, please see our automatic environment cleanup guide.

Version 1.14.4

This release contains a handful of UI fixes and some performance improvements. In particular, we now automatically clean up dangling workflow pods and set their status to timed out.

Beyond that, we've been busy working on the Automatic Environment Clean-up (AEC) functionality along with some substantial UI polishing. We plan on releasing those changes next week.

Here's the full changelog:

Improvements

  • kots: set better values for liveness and readiness probes for kots manifests

  • api: automatically clean up timed-out runs

  • api: speed up workflows query

  • frontend: list usernames in failed imports

  • frontend: expose validation errors

  • frontend: show start time for long durations

  • frontend: avoid refetching user on focus change

Bug Fixes

  • api: ensure namespaces query filters on project

  • frontend: fix potential undefined environment

  • frontend: fix title size regression

Version 1.14.2

This release adds support for custom resource requests for workflow runners. See the workflows guide and the workflow config reference for more details.

As of this release, the workflow runner image includes the Azure CLI tools, which makes it easier to authenticate against Azure AKS clusters.

Version 1.14.0

With this release we make changes to how new users are added to Garden Enterprise. Please see below for more details.

This release contains several usability improvements and introduces a new way to add users to Garden Enterprise. In particular, users are no longer added via their GitHub/GitLab email addresses, but their GitHub/GitLab user names. You will find these on the user profile in the respective VCS provider, but in general you won't need to know the user name if you're using the new bulk user imports functionality.

Beyond that, we've been adding a handful of utility commands to the Garden CLI that allow you to list, create, and delete Garden Enterprise resources such as users and secrets. This can be very useful for performing bulk operations on these resources. We plan to release this with Garden Core in the next few days and will of course keep you posted.

Bulk User Imports (Experimental)

Note that this functionality is currently only available for GitHub users. GitLab users can however still do bulk imports via the CLI (see note above).

This functionality has been requested by many of our users. By enabling this feature in your Replicated config, you can now bulk import users from GitHub and assign them to a group at the push of a button. You can also filter on specific GitHub teams. For example, you can select all the members in your, say, developers team on GitHub, and import them to a corresponding developers group in Garden Enterprise.

This functionality is currently flagged as experimental. To enable it, you need to do the following:

Step 1: Enable the feature in your Replicated Config:

Step 2: Update your GitHub App permissions. You must set the "Organization" level "Members" permission to Read-only and save your changes:

Step 3: Review and accept the changes from the Installed GitHub App page:

We realise that it's inconvenient to have to update the permissions, but we explicitly always follow the principle of least privilege and will continue to do so. That's why we instead allows users to turn this feature on at their own convenience.

Prettier Logs Modal

We now make sure to chain related log entries together to provide better context and add highlighting as applicable.

Filter on Environment and User

You can now filter on both the environment name and user name on the environment pages.

K8s Manifest Changes

As you make the update and compare the two releases, you will notice that most of the manifests will have been renamed. This a necessary evil for us to better manage the different configuration options that we support. However, the resulting Kubernetes resources will materially be the same as before. If you have questions on this, don't hesitate to reach out.

Version 1.13.0

This release contains several improvements and a major new feature: Role Based Access Control (RBAC). We've also started publishing our release notes on this page.

Role Based Access Control

This is by far the star of the release and has been much awaited by many of our users. In short, you can now manage access at a much more granular level than before. In particular, you can control access at the environment level and for instance configure which group of users has access to secrets in which environments. If you're storing user credentials in Garden Enterprise, you can by extension control who gets to deploy into what environment.

You'll find detailed information and examples in our Roles and Permissions guide.

When you update Garden Enterprise, two groups will be created: the Admins group and the Developers group. Everyone in your team that had the Admin role will automatically get assigned to the Admins group, and everyone in your team that had the User role will be assigned to the Developers group.

You can now proceed to create your own custom groups and assign users as needed. Note however that the Admins group is built-in and can't be edited.

Here's an example of one such custom group:

Better GitLab Status Reports

GitLab doesn't support displaying statuses from integrations the way GitHub does with the Checks page. We now work around that limitation by posting Garden Enterprise workflow statuses as comments on the relevant merge request. Each workflow gets it's own comment, and when the status updates, we update the existing comment in place so as not to spam the merge request's comment section.

Here's an example of a GitLab event that matched on the deploy-preview-env and full-test-ci workflows.

And here's an example of the same workflows after they've finished running:

We've also added better support for different GitLab events and now we explicitly handle events that get sent when a PR is closed.

Base Branch Workflow Filters

We support setting a baseBranches filter on workflow configs. This is useful for running workflows on merges to your main branch, or any other base branch for that matter. Here's an example where we run a given workflow every time a pull/merge request is merged (not just closed), and the base branch is main:

kind: Workflow
name: deploy-to-staging
description: Deploy to staging when merging into the main branch
triggers:
  - events: [pull-request-merged]
    baseBranches: [main]
    environment: staging

You can read more about workflow triggers in our Triggered Workflows guide.

Ensure Git Credentials in Workflow Runner

Previously, users had to manually configure git credentials in the workflow runner pods. We now ensure that the access token obtained from GitHub/GitLab for the specific workflow run is accessible to all git commands in the container. This means e.g. that if your workflow run requires a remote source, Garden can clone it without further configuration.

Note that we use the access token for the respective GitHub App / GitLab user. This means that it should have access to all repositories that need cloning. In the case of GitHub, you'll need to install the GitHub App on the relevant repositories. In the case of GitLab, you'll need to grant the associated user account access to the project.

Note that the access token only works for clones over HTTPS. You will need to configure git specifically for clones over SSH.

Last updated