From 265d560606bfcb5eae4a2001491e21e3b2ee3871 Mon Sep 17 00:00:00 2001 From: Ilya Pelevin Date: Fri, 18 Sep 2026 18:03:21 +0200 Subject: [PATCH 1/2] feat: add annotations to the Deployment --- charts/gatekeeper/README.md | 1 + charts/gatekeeper/templates/deployment.yaml | 4 ++++ charts/gatekeeper/values.yaml | 3 +++ 3 files changed, 8 insertions(+) diff --git a/charts/gatekeeper/README.md b/charts/gatekeeper/README.md index 6cf9658..86196d6 100644 --- a/charts/gatekeeper/README.md +++ b/charts/gatekeeper/README.md @@ -62,6 +62,7 @@ For the complete list of all available configuration options, please read the | config.listen | string | `"0.0.0.0:3000"` | the interface definition you wish the proxy to listen, all interfaces is specified as `:`, unix sockets as `unix://` or `unix://` | | config.listen-admin | string | `"0.0.0.0:4000"` | port on which metrics and health endpoints will be available, if not specified it will be on above specified port | | containerSecurityContext | object | See [values.yaml](values.yaml) | Enables container-level security attributes and common container settings | +| deploymentAnnotations | object | `{}` | Annotations for the deployment | | extraArgs | list | `[]` | Additional command line arguments to pass to the container | | extraEnvVars | list | `[]` | Any extra environment variables you would like to pass on to the pod | | extraVolumeMounts | list | `[]` | Array to add extra mounts | diff --git a/charts/gatekeeper/templates/deployment.yaml b/charts/gatekeeper/templates/deployment.yaml index 74fa5dc..88db601 100644 --- a/charts/gatekeeper/templates/deployment.yaml +++ b/charts/gatekeeper/templates/deployment.yaml @@ -5,6 +5,10 @@ metadata: name: {{ include "gatekeeper.fullname" . }} labels: {{- include "gatekeeper.labels" . | nindent 4 }} + {{- with .Values.deploymentAnnotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} diff --git a/charts/gatekeeper/values.yaml b/charts/gatekeeper/values.yaml index 18f3c37..752ec73 100644 --- a/charts/gatekeeper/values.yaml +++ b/charts/gatekeeper/values.yaml @@ -44,6 +44,9 @@ strategy: # -- Enable automounting service account credentials, please be aware that there is more secure way of exposing serviceAccountToken in pods with projected volumes automountServiceAccountToken: false +# -- Annotations for the deployment +deploymentAnnotations: {} + # -- Annotations for pods podAnnotations: {} From 83134009bb74fe2ce4c973d23e2fb04d5ce7e7e4 Mon Sep 17 00:00:00 2001 From: Ilya Pelevin Date: Mon, 21 Sep 2026 08:34:32 +0200 Subject: [PATCH 2/2] chore: bump the chart version --- charts/gatekeeper/Chart.yaml | 2 +- charts/gatekeeper/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/gatekeeper/Chart.yaml b/charts/gatekeeper/Chart.yaml index a4a08bc..bccc80b 100644 --- a/charts/gatekeeper/Chart.yaml +++ b/charts/gatekeeper/Chart.yaml @@ -24,5 +24,5 @@ sources: maintainers: - name: gogatekeeper url: https://gogatekeeper.github.io/ -version: 0.1.65 +version: 0.1.66 appVersion: "5.0.0" diff --git a/charts/gatekeeper/README.md b/charts/gatekeeper/README.md index 86196d6..d95d109 100644 --- a/charts/gatekeeper/README.md +++ b/charts/gatekeeper/README.md @@ -1,6 +1,6 @@ # gatekeeper -![Version: 0.1.65](https://img.shields.io/badge/Version-0.1.65-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.0.0](https://img.shields.io/badge/AppVersion-5.0.0-informational?style=flat-square) +![Version: 0.1.66](https://img.shields.io/badge/Version-0.1.66-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.0.0](https://img.shields.io/badge/AppVersion-5.0.0-informational?style=flat-square) Gatekeeper is a proxy which integrates with OpenID Connect (OIDC) Providers, it supports both access tokens in a browser cookie or bearer tokens.