Skip to content

Commit 30e8704

Browse files
committed
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 <[email protected]>
1 parent 3ed349b commit 30e8704

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 7.7.4
2+
version: 7.7.5
33
apiVersion: v2
44
appVersion: 7.6.0
55
home: https://oauth2-proxy.github.io/oauth2-proxy/

helm/oauth2-proxy/templates/hpa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
scaleTargetRef:
1616
apiVersion: apps/v1
1717
kind: Deployment
18-
name: {{ template "oauth2-proxy.name" . }}
18+
name: {{ template "oauth2-proxy.fullname" . }}
1919
minReplicas: {{ .Values.autoscaling.minReplicas }}
2020
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
2121
metrics:

0 commit comments

Comments
 (0)