Skip to content

Commit b672274

Browse files
authored
Merge pull request #3914 from yetisage/rollout-operator/self-signed-cert-fullnameoverride
[rollout-operator] Handle fullnameOverride in webhooks self-signed-cert
2 parents 24bcd88 + 5b72742 commit b672274

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

charts/rollout-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: rollout-operator
33
description: "Grafana rollout-operator"
44
type: application
5-
version: 0.33.1
5+
version: 0.33.2
66
appVersion: v0.29.0
77
home: https://github.com/grafana/rollout-operator
88
kubeVersion: ^1.10.0-0

charts/rollout-operator/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Helm chart for deploying [Grafana rollout-operator](https://github.com/grafana/r
44

55
# rollout-operator
66

7-
![Version: 0.33.1](https://img.shields.io/badge/Version-0.33.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.29.0](https://img.shields.io/badge/AppVersion-v0.29.0-informational?style=flat-square)
7+
![Version: 0.33.2](https://img.shields.io/badge/Version-0.33.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.29.0](https://img.shields.io/badge/AppVersion-v0.29.0-informational?style=flat-square)
88

99
Grafana rollout-operator
1010

charts/rollout-operator/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ spec:
5454
{{- if .Values.webhooks.enabled }}
5555
- -server-tls.enabled=true
5656
- -server-tls.self-signed-cert.secret-name={{ .Values.webhooks.selfSignedCertSecretName }}
57+
{{- if .Values.fullnameOverride }}
58+
- -server-tls.self-signed-cert.dns-name={{ include "rollout-operator.fullname" .}}.{{ .Release.Namespace }}.svc
59+
{{- end }}
5760
{{- end }}
5861
{{- range .Values.extraArgs }}
5962
- {{ . }}

0 commit comments

Comments
 (0)