diff --git a/charts/kubefed/Chart.yaml b/charts/kubefed/Chart.yaml index 8154f2aa50..568468c4a8 100644 --- a/charts/kubefed/Chart.yaml +++ b/charts/kubefed/Chart.yaml @@ -1,11 +1,11 @@ apiVersion: v2 description: KubeFed helm chart name: kubefed -version: 0.0.4 +version: 0.0.5 kubeVersion: ">= 1.16.0-0" dependencies: - name: controllermanager - version: 0.0.4 + version: 0.0.5 repository: "https://localhost/" # Required but unused. condition: controllermanager.enabled diff --git a/charts/kubefed/charts/controllermanager/Chart.yaml b/charts/kubefed/charts/controllermanager/Chart.yaml index e74b79d213..8f9ef554ff 100644 --- a/charts/kubefed/charts/controllermanager/Chart.yaml +++ b/charts/kubefed/charts/controllermanager/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v2 appVersion: "0.8.1" description: A Helm chart for KubeFed Controller Manager name: controllermanager -version: 0.0.4 +version: 0.0.5 diff --git a/charts/kubefed/charts/controllermanager/templates/webhook.yaml b/charts/kubefed/charts/controllermanager/templates/webhook.yaml index 23730536e7..ce28e97341 100644 --- a/charts/kubefed/charts/controllermanager/templates/webhook.yaml +++ b/charts/kubefed/charts/controllermanager/templates/webhook.yaml @@ -123,6 +123,10 @@ metadata: {{- else }} name: mutation.core.kubefed.io {{- end }} + annotations: + {{- if .Values.certManager.enabled }} + cert-manager.io/inject-ca-from: {{ printf "%s/%s%s" .Release.Namespace .Release.Name "-root-certificate" | quote }} + {{- end }} webhooks: - name: kubefedconfigs.core.kubefed.io admissionReviewVersions: