Skip to content

Commit

Permalink
perf: specifically set issuer ref group name
Browse files Browse the repository at this point in the history
  • Loading branch information
kamontat committed Sep 10, 2024
1 parent b24c3c3 commit 627bd11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/kong/templates/certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,22 @@ spec:
{{- end }}
{{ if .clusterIssuer -}}
issuerRef:
group: cert-manager.io
name: {{ .clusterIssuer }}
kind: ClusterIssuer
{{ else if .issuer -}}
issuerRef:
group: cert-manager.io
name: {{ .issuer }}
kind: Issuer
{{ else if .globalClusterIssuer -}}
issuerRef:
group: cert-manager.io
name: {{ .globalClusterIssuer}}
kind: ClusterIssuer
{{ else if .globalIssuer -}}
issuerRef:
group: cert-manager.io
name: {{ .globalIssuer }}
kind: Issuer
{{- end -}}
Expand Down

0 comments on commit 627bd11

Please sign in to comment.