> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/cgw/1.7/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/cgw/1.7/releases/1.7.0.md).

# Connectivity Gateway 1.7.0

## Features

### Add support for additional containers

With the new release, you can attach custom containers to the workload. It is possible to specify initial custom containers by setting them to the `additionalInitContainers` parameter, and custom sidecars by adding them to the `additionalContainers` parameter.

### Add support for additional volumes

This release also brings an option to attach additional volumes to the pod `additionalVolumes`. You can use them in additional containers that you can attach or connect to the `rclone` sidecar by updating the `rclone.additionalVolumeMounts` parameter. Thanks to that, you can, for example, attach additional certificates.

### Add support for Secret references in the IPSec configuration

Instead of defining a plain text PSK for IPsec in the CGW value file, you
can instead refer to an existing Secret via `ipsec.strongswan.ipsecSecretRef`
and manage the Secret with proper Secret management tools.

For details and an example, see the [IPsec
tutorial](https://docs.cennso.com/components/cgw/1.7/tutorials/02-setup-vpn-ipsec.md#the-ipsecsecrets-section).

### Introduce CGW Support chart

This release introduces the CGW Support chart responsible for installing Grafana Dashboards and Service Monitors on the cluster. They are separated from the CGW chart, as they should be managed independently from the running workloads.

### Introduce Grafana Dashboard

When you install the newly created CGW Support chart, you can enable the installation of the Grafana Dashboard. It provides you with information about CGW instances and their health.

## Fixes

### Port name doesn't describe its usage

Port name `p9324` was renamed to `bird-exporter` and `p9427` to `ping-exporter`. Thanks to that, the name is descriptive and provides information about its purpose.

## Migration guide

### 1.6 -> 1.7

> **CAUTION:** Updating the CGW chart restarts the currently running CGW
> instance, which disconnects all active sessions.

Follow these steps to upgrade CGW to version 1.7.0:

1. Install the `cgw` Helm chart in version 1.7.0.
2. Install the `cgw-support` Helm chart in version 1.7.0.

If you already configured ServiceMonitor resources for CGW instances <1.7, 
they will not scrape metrics for CGW >=1.7 as the port names have
changed. We recommend setting the `prometheus.service monitor.enabled` parameter for
the CGW Support chart to deploy additional ServiceMonitor resources.

If you have a CGW Dashboard in Grafana and use the `dashboard.enabled` parameter to deploy a
Grafana Dashboard using the CGW Support chart, make sure that the UIDs don't collide.
The chart defines a dashboard named "CGW" using the UID `k2jef0i2j`.
