Upgrade Helm
Do not roll back or downgrade without consulting our support team first. Certain scenarios may necessitate restoring the database from a pre-upgrade backup due to the complexity of reversing some database migrations.
Prior to upgrading, ensure you back up your PostgreSQL database. For detailed instructions, refer to the Backup page.
Run preflight checks π¦β
Preflight checks are critical for a successful installation. The following rules apply:
- β Preflight Check Failures: If preflight checks fail, the upgrade must not continue until the targeted environment meets all requirements. Please reach out to our support team if needed.
- β οΈ Preflight Check Warnings: If preflight checks return warnings, the installation can proceed, but it is recommended that you address these warnings to comply with our recommendations.
We strongly advise you to run our preflight script to ensure your existing cluster meets Gitguardian's requirements.
Retrieve the script from our public repository here
Specify an existing Kubernetes namespace using the -n
option. If not specified, the script will run in your default namespace.
./preflights.sh -n <namespace> oci://registry.replicated.com/gitguardian/gitguardian -f local-values.yaml
Upgrading versionβ
Log in to the registry with the following command:
helm registry login registry.replicated.com --username your.name@yourcompany.com
Upgrade the GitGuardian application to the latest version in the Kubernetes cluster and namespace where it's installed:
helm upgrade <release-name> -n <namespace> oci://registry.replicated.com/gitguardian/gitguardian -f local-values.yaml
Replace <release-name>
with the name used during the initial installation (use helm ls
to find it).
If needed, specify the namespace with -n
(default namespace is used if not specified).
This will upgrade your application to the latest version. To upgrade to a specific version, use the --version
flag:
helm upgrade <release-name> -n <namespace> oci://registry.replicated.com/gitguardian/gitguardian --version 2024.x.y -f local-values.yaml
Updating application configurationβ
Modify the application configuration with an updated values file using the helm upgrade
command.
Stick to the same version using the --version
flag:
helm upgrade <release-name> -n <namespace> oci://registry.replicated.com/gitguardian/gitguardian --version 2024.x.y -f local-values.yaml
Replace <release-name>
with the name used during the initial installation (use helm ls
to find it).
If needed, specify the Kubernetes namespace with -n
(default namespace is used if not specified).
Additional notesβ
- Pod update strategy
The goal is to find a balance between service continuity and available resources on the cluster. You can define which update strategy to use during an upgrade / update.
This configuration is possible for celeryWorkers (celeryWorkers.worker.updateStrategy
) and webapps (webapps.app.updateStrategy
).
If not defined, this default strategy applies:
- If less than 3 replicas
type: RollingUpdate
rollingUpdate:
maxUnavailable: 50%
maxSurge: 50%
- Else
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%
Upgrading to 2025.8β
If you are using an air gap deployment: This release introduces a new image.registry
parameter in Helm values to support the Log Collector system. This parameter specifies the location of the GitGuardian images for the Log Collector components (Loki, MinIO, Fluent Bit) and is separate from the main imageRegistry
parameter.
Add the image.registry
to your Helm values file:
global:
imageRegistry: docker.internal/example/path # Location of the GitGuardian images
image:
registry: docker.internal/example/path # Location of the GitGuardian images (same as imageRegistry)
More information on the Air Gap Install page.
Upgrading to 2025.7β
Machine Learning engine is now enabled by default. Ensure your infrastructure meets the ML requirements.
Upgrading to 2025.6β
GitGuardian 2025.6 now requires Kubernetes 1.28 as the minimum supported version. However, Kubernetes 1.28 is no longer receiving active or maintenance support from the Kubernetes project (support ended in October 2024).
We strongly recommend upgrading to Kubernetes 1.32 for optimal security and stability. Kubernetes 1.32 is actively supported until December 2025 and will receive maintenance support until February 2026.
For more information:
Upgrading to 2025.5β
Air gap deployment? We've renamed images in this release. See below and find all image and tag names on the Air Gap Install page.
This change involves renaming the following images:
gitguardian/prm-static-chainguard-fips
togitguardian/prm-static-chainguard
gitguardian/prm-app-fips
togitguardian/prm-app-chainguard
Upgrading to 2025.4β
Please install the PostgreSQL pgvector
extension to enable vector similarity search. This is essential for upcoming features leveraging our internal machine learning engine. Follow the installation instructions to ensure compatibility.
Air gap deployment? We've added new images in this release. The new images are for the log collection system, which includes:
- Fluent Bit (log collector)
- Loki (log aggregation)
- MinIO (object storage for logs)
Find all image and tag names on the Air Gap Install page.
Upgrading to 2025.3β
The 2025.3 release introduces a breaking change in the naming registry URL, including the path and image names. If you are downloading our images in a private registry (refer to our air gap documentation), make sure to update your tooling, as well as the image names and paths in your Helm values file.
Change registry URL
- Old:
proxy.replicated.com/proxy/gitguardian/513715405986.dkr.ecr.us-west-2.amazonaws.com
- New:
proxy.replicated.com/proxy/gitguardian/docker.io
Image path and name changes
/prm/static-chainguard
β/gitguardian/prm-static-chainguard-fips
/prm/app-chainguard
β/gitguardian/prm-app-chainguard-fips
/prm/helm-tooling
β/gitguardian/prm-helm-tooling
/services/nginx-unprivileged
β/nginxinc/nginx-unprivileged
/ml-detector/ml-secret-engine/app-chainguard
β/gitguardian/ml-secret-engine-app-chainguard-fips
Change registry URL
- Old:
registry.replicated.com
- New:
proxy.replicated.com/proxy/gitguardian/docker.io
Image path and name changes
/gitguardian/replicated-sdk
β/replicated/replicated-sdk
Upgrading to 2025.1β
Database Deprecation Notice: PostgreSQL 13 & 14 are no longer supported. Learn why upgrading to PostgreSQL 16 is recommended in our engineering blog.
Upgrade Considerations: This release includes a background migration that may take up to 1 hour post-upgrade. It improves query execution speed and search performance. If upgrading from an older version, multiple upgrades may trigger a retry messageβwait 1 hour before retrying.
Upgrading to 2024.12β
The 2024.12 release introduces the following breaking change:
The front.ingress
parameter has been renamed to ingress
to improve consistency and standardize the ingress object across the Helm chart.
Please find more details on the Helm values page here.
Be sure to update your Helm values file accordingly.