diff --git a/charts/explorer/Chart.yaml b/charts/explorer/Chart.yaml index 044163f..2a97b6e 100644 --- a/charts/explorer/Chart.yaml +++ b/charts/explorer/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.3 +version: 0.1.4 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/explorer/templates/03-lets-encrypt-issuers.yaml b/charts/explorer/templates/03-lets-encrypt-issuers.yaml deleted file mode 100644 index 6832888..0000000 --- a/charts/explorer/templates/03-lets-encrypt-issuers.yaml +++ /dev/null @@ -1,35 +0,0 @@ -{{ $issuer := lookup "cert-manager.io/v1" "Issuer" .Release.Namespace "letsencrypt-staging" }} -{{ if not $issuer }} -apiVersion: cert-manager.io/v1 -kind: Issuer -metadata: - name: letsencrypt-staging -spec: - acme: - server: https://acme-staging-v02.api.letsencrypt.org/directory - email: {{ $.Values.acme.email }} - privateKeySecretRef: - name: letsencrypt-staging - solvers: - - http01: - ingress: - class: nginx -{{ end }} ---- -{{ $issuer := lookup "cert-manager.io/v1" "Issuer" .Release.Namespace "letsencrypt-production" }} -{{ if not $issuer }} -apiVersion: cert-manager.io/v1 -kind: Issuer -metadata: - name: letsencrypt-production -spec: - acme: - server: https://acme-v02.api.letsencrypt.org/directory - email: {{ $.Values.acme.email }} - privateKeySecretRef: - name: letsencrypt-production - solvers: - - http01: - ingress: - class: nginx -{{ end }} diff --git a/charts/explorer/templates/04-explorer-ingress.yaml b/charts/explorer/templates/04-explorer-ingress.yaml index 79e37c4..39e4ea8 100644 --- a/charts/explorer/templates/04-explorer-ingress.yaml +++ b/charts/explorer/templates/04-explorer-ingress.yaml @@ -4,7 +4,7 @@ metadata: name: explorer annotations: kubernetes.io/ingress.class: "nginx" - cert-manager.io/issuer: "letsencrypt-{{ .Values.acme.environment }}" + cert-manager.io/cluster-issuer: "letsencrypt-{{ .Values.acme.environment }}" spec: tls: - hosts: diff --git a/charts/explorer/values.yaml b/charts/explorer/values.yaml index 1d4c1da..0240f5e 100644 --- a/charts/explorer/values.yaml +++ b/charts/explorer/values.yaml @@ -4,13 +4,6 @@ host: nowhere.com -ingress: false - -acme: - email: nobody@nowhere.com - # acme issuer type (staging | production) - environment: staging - image: repository: nobody tag: main