Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Commit

Permalink
Add SAN to the helm generated cert (#97)
Browse files Browse the repository at this point in the history
Signed-off-by: Dustin Decker <[email protected]>
  • Loading branch information
dustin-decker authored Jan 4, 2021
1 parent 4437b41 commit f667eb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charts/k-rail/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{- $cn := printf "k-rail.%s.svc" .Release.Namespace }}
{{- $ca := genCA "k-rail-admission-ca" 3650 -}}
{{- $cert := genSignedCert $cn nil nil 3650 $ca -}}
{{- $san := printf "k-rail.%s.svc" .Release.Namespace }}
{{- $cert := genSignedCert $cn nil (list $san) 3650 $ca -}}
---
apiVersion: v1
kind: Secret
Expand Down

0 comments on commit f667eb2

Please sign in to comment.