Skip to content

Commit

Permalink
Support per-default-domain Issuer #28
Browse files Browse the repository at this point in the history
ref #28
  • Loading branch information
tung2744 authored May 8, 2024
2 parents da327cb + a69fa38 commit a6e285d
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .cr-index/index.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
apiVersion: v1
entries:
authgear:
- apiVersion: v2
appVersion: 0.1.0
created: "2024-05-07T15:17:22.791249+08:00"
description: A Helm chart for Authgear
digest: 7262b4ee5a12b7ec3e70280875570588bcb0bbeb4ce2bd2719f127c9e2114e3b
name: authgear
type: application
urls:
- https://github.com/authgear/helm-charts/releases/download/authgear-10.9.0/authgear-10.9.0.tgz
version: 10.9.0
- apiVersion: v2
appVersion: 0.1.0
created: "2024-05-03T18:46:36.820013+08:00"
Expand Down Expand Up @@ -1011,4 +1021,4 @@ entries:
urls:
- https://github.com/authgear/helm-charts/releases/download/authgear-0.1.0/authgear-0.1.0.tgz
version: 0.1.0
generated: "2024-05-03T18:46:55.90854+08:00"
generated: "2024-05-07T15:17:41.368006+08:00"
Binary file added .cr-release-packages/authgear-10.9.0.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion authgear/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
type: application
name: authgear
description: A Helm chart for Authgear
version: 10.8.0
version: 10.9.0
appVersion: 0.1.0
7 changes: 7 additions & 0 deletions authgear/templates/wildcard-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,19 @@ spec:
dnsNames:
- {{ printf "*.%s" $defaultDomain.domain | quote }}
- {{ $defaultDomain.domain | quote }}
{{- if $defaultDomain.certManager.issuer }}
issuerRef:
name: {{ $defaultDomain.certManager.issuer.name | quote }}
kind: {{ $defaultDomain.certManager.issuer.kind | quote }}
group: {{ $defaultDomain.certManager.issuer.group | quote }}
{{- else }}
issuerRef:
name: {{ $.Values.authgear.certManager.issuer.dns01.name | quote }}
kind: {{ $.Values.authgear.certManager.issuer.dns01.kind | quote }}
group: {{ $.Values.authgear.certManager.issuer.dns01.group | quote }}
{{- end }}
{{- end }}
{{- end }}

{{- end }}

Expand Down
4 changes: 4 additions & 0 deletions authgear/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ authgear:
# enabled: true
# certManager:
# enabled: true
# issuer:
# name: __replace_me__
# kind: Issuer
# group: cert-manager.io
# secretName: ""

smtp:
Expand Down

0 comments on commit a6e285d

Please sign in to comment.