diff --git a/charts/trow/CHANGELOG.md b/charts/trow/CHANGELOG.md index a4f5ce96..d194b53a 100644 --- a/charts/trow/CHANGELOG.md +++ b/charts/trow/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v0.8.1 + +Fix `certmanager.k8s.io/inject-ca-from` annotation not correctly referencing the `Certificate`. + ## v0.8.0 * Templates: diff --git a/charts/trow/Chart.yaml b/charts/trow/Chart.yaml index a1e37eaa..469b897b 100644 --- a/charts/trow/Chart.yaml +++ b/charts/trow/Chart.yaml @@ -5,5 +5,5 @@ type: application home: https://trow.io kubeVersion: ">= 1.26.0-0" -version: 0.8.0 +version: 0.8.1 appVersion: 0.6.4 diff --git a/charts/trow/templates/webhooks/mutatingwebhook.yaml b/charts/trow/templates/webhooks/mutatingwebhook.yaml index b26c3a9e..65a9dede 100644 --- a/charts/trow/templates/webhooks/mutatingwebhook.yaml +++ b/charts/trow/templates/webhooks/mutatingwebhook.yaml @@ -8,8 +8,8 @@ metadata: app.kubernetes.io/component: admission-webhook annotations: {{- if .Values.webhooks.tls.certmanager.enabled }} - certmanager.k8s.io/inject-ca-from: {{ printf "%s/%s-webhooks" (.Release.Namespace) (include "trow.fullname" .) | quote }} - cert-manager.io/inject-ca-from: {{ printf "%s/%s-webhooks" (.Release.Namespace) (include "trow.fullname" .) | quote }} + certmanager.k8s.io/inject-ca-from: {{ printf "%s/%s-admission" (.Release.Namespace) (include "trow.fullname" .) | quote }} + cert-manager.io/inject-ca-from: {{ printf "%s/%s-admission" (.Release.Namespace) (include "trow.fullname" .) | quote }} {{- end }} webhooks: - name: mutate.trow.io diff --git a/charts/trow/templates/webhooks/validatingwebhook.yaml b/charts/trow/templates/webhooks/validatingwebhook.yaml index 082f57f0..12c6ff30 100644 --- a/charts/trow/templates/webhooks/validatingwebhook.yaml +++ b/charts/trow/templates/webhooks/validatingwebhook.yaml @@ -8,8 +8,8 @@ metadata: app.kubernetes.io/component: admission-webhook annotations: {{- if .Values.webhooks.tls.certmanager.enabled }} - certmanager.k8s.io/inject-ca-from: {{ printf "%s/%s-webhooks" (.Release.Namespace) (include "trow.fullname" .) | quote }} - cert-manager.io/inject-ca-from: {{ printf "%s/%s-webhooks" (.Release.Namespace) (include "trow.fullname" .) | quote }} + certmanager.k8s.io/inject-ca-from: {{ printf "%s/%s-admission" (.Release.Namespace) (include "trow.fullname" .) | quote }} + cert-manager.io/inject-ca-from: {{ printf "%s/%s-admission" (.Release.Namespace) (include "trow.fullname" .) | quote }} {{- end }} webhooks: - name: validate.trow.io