From 30e87048c5f82be9e1763a1f4d2709c57571ba1b Mon Sep 17 00:00:00 2001 From: Silvan Loser <33911078+losil@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:20:01 +0200 Subject: [PATCH 1/2] fix: Deployment name in HPAs scaleTargeRef spec the Deployment name in helm/oauth2-proxy/templates/deployment.yaml is configured with {{ template "oauth2-proxy.fullname" . }} which can cause Deployment not found issues Signed-off-by: Silvan Loser <33911078+losil@users.noreply.github.com> --- helm/oauth2-proxy/Chart.yaml | 2 +- helm/oauth2-proxy/templates/hpa.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/oauth2-proxy/Chart.yaml b/helm/oauth2-proxy/Chart.yaml index 6acd9b9..8725faa 100644 --- a/helm/oauth2-proxy/Chart.yaml +++ b/helm/oauth2-proxy/Chart.yaml @@ -1,5 +1,5 @@ name: oauth2-proxy -version: 7.7.4 +version: 7.7.5 apiVersion: v2 appVersion: 7.6.0 home: https://oauth2-proxy.github.io/oauth2-proxy/ diff --git a/helm/oauth2-proxy/templates/hpa.yaml b/helm/oauth2-proxy/templates/hpa.yaml index c6b7657..d4fb8e4 100644 --- a/helm/oauth2-proxy/templates/hpa.yaml +++ b/helm/oauth2-proxy/templates/hpa.yaml @@ -15,7 +15,7 @@ spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment - name: {{ template "oauth2-proxy.name" . }} + name: {{ template "oauth2-proxy.fullname" . }} minReplicas: {{ .Values.autoscaling.minReplicas }} maxReplicas: {{ .Values.autoscaling.maxReplicas }} metrics: From 66524b0753b7e85cbff8697c0155e3003aacb152 Mon Sep 17 00:00:00 2001 From: Silvan Loser <33911078+losil@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:29:07 +0200 Subject: [PATCH 2/2] Update the PR information in Chart.yaml Signed-off-by: Silvan Loser <33911078+losil@users.noreply.github.com> --- helm/oauth2-proxy/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/oauth2-proxy/Chart.yaml b/helm/oauth2-proxy/Chart.yaml index 8725faa..84c8d1c 100644 --- a/helm/oauth2-proxy/Chart.yaml +++ b/helm/oauth2-proxy/Chart.yaml @@ -35,7 +35,7 @@ kubeVersion: ">=1.9.0-0" annotations: artifacthub.io/changes: | - kind: fixed - description: Fixed the path in the volume "configaccesslist" + description: Fixed the Deployment name in HPAs scaleTargeRef spec links: - name: Github PR - url: https://github.com/oauth2-proxy/manifests/pull/216 + url: https://github.com/oauth2-proxy/manifests/pull/217