Skip to content

Commit

Permalink
fix: specifically set issuer ref group name (#1128)
Browse files Browse the repository at this point in the history
* perf: specifically set issuer ref group name

* Update CHANGELOG.md
  • Loading branch information
kamontat authored Oct 1, 2024
1 parent 9d12430 commit 3def0d5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/kong/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

### Changes

* Explicitly cert-manager group on Certificate. [#1128](https://github.com/Kong/charts/pull/1128)

## 2.42.0

### Fixes
Expand Down
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 3def0d5

Please sign in to comment.