Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Common
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Charts
Common
Commits
02db87aa
Commit
02db87aa
authored
1 month ago
by
Andri Joos
Browse files
Options
Downloads
Plain Diff
Merge branch 'issuer'
parents
baa51676
a0b7a11b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#7711
passed with stages
Stage:
Stage:
in 40 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
common/templates/_acme_issuer.tpl
+25
-0
25 additions, 0 deletions
common/templates/_acme_issuer.tpl
example/templates/acme_issuer.yaml
+3
-0
3 additions, 0 deletions
example/templates/acme_issuer.yaml
example/values.yaml
+12
-0
12 additions, 0 deletions
example/values.yaml
with
40 additions
and
0 deletions
common/templates/_acme_issuer.tpl
0 → 100644
+
25
−
0
View file @
02db87aa
{{
-
define
"common.acme-issuer"
-
}}
apiVersion: {{ .Values.apiVersion | default "cert-manager.io/v1" }}
kind: {{ .Values.type | default "Issuer" }}
metadata:
name: {{ .Values.name | default "acme-issuer" }}
{{- with .Values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "common.variables.labels" . | nindent 4 }}
spec:
acme:
server: {{ .Values.server | default "https://acme-v02.api.letsencrypt.org/directory" }}
email: {{ .Values.email }}
{{- with .Values.secretName }}
privateKeySecretRef:
name: {{ . }}
{{- end }}
{{- with .Values.solvers }}
solvers:
{{- . | toYaml | nindent 6 }}
{{- end }}
---
{{- end }}
This diff is collapsed.
Click to expand it.
example/templates/acme_issuer.yaml
0 → 100644
+
3
−
0
View file @
02db87aa
{{
- if .Values.acme
}}
{{
include "common.acme-issuer" (dict "Values" .Values.acme "Chart" .Chart "Release" .Release)
}}
{{
- end
}}
This diff is collapsed.
Click to expand it.
example/values.yaml
+
12
−
0
View file @
02db87aa
...
...
@@ -56,3 +56,15 @@ volumes:
-
ReadWriteMany
storageClassName
:
manual
volumeName
:
example
acme
:
name
:
acme-issuer
apiVersion
:
cert-manager.io/v1
type
:
Issuer
# Either Issuer or ClusterIssuer
server
:
https://acme-staging-v02.api.letsencrypt.org/directory
email
:
your-email@example.com
secretName
:
example-tls
solvers
:
http01
:
ingress
:
class
:
traefik
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment