Skip to content

Commit

Permalink
Merge pull request #201 from ghormoon/cert-manager-letsencrypt-ingres…
Browse files Browse the repository at this point in the history
…sclass

[cert-manager-letsencrypt] Allow to override ingress class for HTTP solver
  • Loading branch information
keyvaann authored Jun 12, 2024
2 parents 5cec381 + 881a1db commit c3cd50f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/cert-manager-letsencrypt/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "1.0"
description: A Helm chart for a cert-manager ClusterIssuer for letsencrypt. Requires the cert-manager release to be activated.
name: cert-manager-letsencrypt
version: 0.1.1
version: 0.1.2
sources: ["https://github.com/RADAR-base/radar-helm-charts/tree/main/charts/cert-manager-letsencrypt"]
deprecated: false
type: application
Expand Down
4 changes: 3 additions & 1 deletion charts/cert-manager-letsencrypt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# cert-manager-letsencrypt
[![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/cert-manager-letsencrypt)](https://artifacthub.io/packages/helm/radar-base/cert-manager-letsencrypt)

![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0](https://img.shields.io/badge/AppVersion-1.0-informational?style=flat-square)
![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0](https://img.shields.io/badge/AppVersion-1.0-informational?style=flat-square)

A Helm chart for a cert-manager ClusterIssuer for letsencrypt. Requires the cert-manager release to be activated.

Expand Down Expand Up @@ -34,3 +34,5 @@ A Helm chart for a cert-manager ClusterIssuer for letsencrypt. Requires the cert
| httpIssuer.enabled | bool | `true` | Enable the letsencrypt HTTP issuer |
| httpIssuer.environment | string | `"production"` | Environment to use. Either staging or production |
| httpIssuer.privateSecretRef | string | `"letsencrypt-prod"` | Secret to store letsencrypt certificate data in |
| httpIssuer.ingressMatchMethod | string | `"class"` | How to match ingress that's supposed to be used. Can be class, ingressClassName, name |
| httpIssuer.ingressMatchValue | string | `"nginx"` | Ingress class/name to use |
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ spec:
solvers:
- http01:
ingress:
class: nginx
{{ .Values.httpIssuer.ingressMatchMethod }}: {{ .Values.httpIssuer.ingressMatchValue }}
{{- end -}}
4 changes: 4 additions & 0 deletions charts/cert-manager-letsencrypt/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ httpIssuer:
environment: production
# -- Secret to store letsencrypt certificate data in
privateSecretRef: letsencrypt-prod
# -- How to match ingress that's supposed to be used. Can be class, ingressClassName, name
ingressMatchMethod: class
# -- Ingress class/name to use
ingressMatchValue: nginx

0 comments on commit c3cd50f

Please sign in to comment.