From a695d4f9e0703908da9929ecd2376ee0a14cf6f4 Mon Sep 17 00:00:00 2001 From: Kaushal Date: Tue, 7 Jan 2025 13:24:36 +0530 Subject: [PATCH 1/2] Fixed incorrect helm template syntax in README.md Helm uses `{{ }}` for its own templating, which can conflict with the Go templating syntax used in OAuth2 Proxy's templates. This change will make it working. --- helm/oauth2-proxy/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/oauth2-proxy/README.md b/helm/oauth2-proxy/README.md index a601af4..06ba783 100644 --- a/helm/oauth2-proxy/README.md +++ b/helm/oauth2-proxy/README.md @@ -332,7 +332,7 @@ extraObjects:

error

-

{{.StatusCode}}

+

{{`{{ .StatusCode }}`}}

``` @@ -360,4 +360,4 @@ config: ``` ## Route requests to sidecar container -You can route requests to a sidecar container first by setting the `service.targetPort` variable. The possible values for the targetPort field of a Kubernetes Service can be either a port number or the name of a port defined in the pod. By default, the service's `targetPort` value equals to `httpSchema`'s. \ No newline at end of file +You can route requests to a sidecar container first by setting the `service.targetPort` variable. The possible values for the targetPort field of a Kubernetes Service can be either a port number or the name of a port defined in the pod. By default, the service's `targetPort` value equals to `httpSchema`'s. From 2bcc0c1d099a82cf63110f512fa721a3ff5d4ca1 Mon Sep 17 00:00:00 2001 From: Kaushal Date: Tue, 7 Jan 2025 23:16:55 +0530 Subject: [PATCH 2/2] Updated chart version and artifacthub details --- helm/oauth2-proxy/Chart.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/helm/oauth2-proxy/Chart.yaml b/helm/oauth2-proxy/Chart.yaml index 21d01d0..dc8533b 100644 --- a/helm/oauth2-proxy/Chart.yaml +++ b/helm/oauth2-proxy/Chart.yaml @@ -1,5 +1,5 @@ name: oauth2-proxy -version: 7.9.0 +version: 7.9.1 apiVersion: v2 appVersion: 7.7.1 home: https://oauth2-proxy.github.io/oauth2-proxy/ @@ -34,8 +34,8 @@ maintainers: kubeVersion: ">=1.16.0-0" annotations: artifacthub.io/changes: | - - kind: added - description: allow requests to be directed to sidecar first + - kind: fixed + description: fixed incorrect helm template syntax in readme.md links: - name: Github PR - url: https://github.com/oauth2-proxy/manifests/pull/270 + url: https://github.com/oauth2-proxy/manifests/pull/274