Skip to content

Commit

Permalink
fix(vertical-pod-autoscaler): Fixed cert-manager injection target (#1106
Browse files Browse the repository at this point in the history
)

* fix cert-manager ca injection in vpa mutatingwebhook

Co-authored-by: Steve Hipwell <[email protected]>
  • Loading branch information
PaulFarver and stevehipwell authored Jan 9, 2025
1 parent fc94cea commit fe7c4f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions charts/vertical-pod-autoscaler/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

## [UNRELEASED]

### Fixed

- Fixed incorrect cert-manager ca-injection target in mutatingwebhookconfiguration. ([#1106](https://github.com/stevehipwell/helm-charts/pull/1106)) _@PaulFarver_

## [v1.7.1] - 2024-08-22

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ metadata:
{{- include "vertical-pod-autoscaler.admissionController.labels" . | nindent 4 }}
{{- if .Values.admissionController.certManager.enabled }}
annotations:
cert-manager.io/inject-ca-from: {{ printf "%s/%s" .Release.Namespace (include "vertical-pod-autoscaler.admissionController.webhookCertSecret" .) }}
cert-manager.io/inject-ca-from: {{ printf "%s/%s" .Release.Namespace (include "vertical-pod-autoscaler.admissionController.fullname" .) }}
{{- end }}
webhooks:
- name: vpa.k8s.io
Expand Down

0 comments on commit fe7c4f5

Please sign in to comment.