Skip to content

Commit

Permalink
Merge pull request #217 from losil/fix/hpa-scaleTargetRef-deployment-…
Browse files Browse the repository at this point in the history
…name

fix: Deployment name in HPAs scaleTargeRef spec
  • Loading branch information
pierluigilenoci committed Jun 25, 2024
2 parents 3ed349b + 66524b0 commit 05d8bf1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions 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 Expand Up @@ -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
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 05d8bf1

Please sign in to comment.