Skip to content

Commit

Permalink
fix: Deployment name in HPAs scaleTargeRef spec
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
losil committed Jun 24, 2024
1 parent 3ed349b commit 30e8704
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helm/oauth2-proxy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
2 changes: 1 addition & 1 deletion helm/oauth2-proxy/templates/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 30e8704

Please sign in to comment.