Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
k8s-helmfiles
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
7f96dad7
authored
2022-08-17 18:33:15 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Allow the ingress class to be changed for letsencrypt.
1 parent
14ef1b3d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
cert-manager/charts/cluster-issuer/letsencrypt.yaml
cert-manager/environments/default-values.yaml
cert-manager/helmfile.yaml
cert-manager/charts/cluster-issuer/letsencrypt.yaml
View file @
7f96dad
...
...
@@ -24,11 +24,11 @@ spec:
privateKeySecretRef
:
# Secret resource that will be used to store the account's private key.
name
:
acme-account-key
# Add a single challenge solver, HTTP01 using
nginx
# Add a single challenge solver, HTTP01 using
istio
solvers
:
-
http01
:
ingress
:
class
:
nginx
class
:
istio
---
apiVersion
:
cert-manager.io/v1
kind
:
ClusterIssuer
...
...
@@ -48,8 +48,8 @@ spec:
privateKeySecretRef
:
# Secret resource that will be used to store the account's private key.
name
:
acme-account-key
# Add a single challenge solver, HTTP01 using
nginx
# Add a single challenge solver, HTTP01 using
istio
solvers
:
-
http01
:
ingress
:
class
:
nginx
class
:
istio
...
...
cert-manager/environments/default-values.yaml
View file @
7f96dad
...
...
@@ -7,6 +7,10 @@ clusterIssuer:
enabled
:
true
email
:
name@example.com
tls_key
:
replace-me
solvers
:
-
http01
:
ingress
:
class
:
istio
root-ca
:
crt
:
null
key
:
null
...
...
cert-manager/helmfile.yaml
View file @
7f96dad
...
...
@@ -66,6 +66,9 @@ releases:
spec
:
acme
:
email
:
{{
.Values.clusterIssuer.letsencrypt.email
}}
{{
- if .Values.clusterIssuer.letsencrypt.solvers
}}
solvers
:
{{
.Values.clusterIssuer.letsencrypt.solvers | toYaml | nindent 14
}}
{{
- end
}}
{{
- else
}}
$patch
:
delete
{{
- end
}}
...
...
@@ -78,6 +81,9 @@ releases:
spec
:
acme
:
email
:
{{
.Values.clusterIssuer.letsencrypt.email
}}
{{
- if .Values.clusterIssuer.letsencrypt.solvers
}}
solvers
:
{{
.Values.clusterIssuer.letsencrypt.solvers | toYaml | nindent 14
}}
{{
- end
}}
{{
- else
}}
$patch
:
delete
{{
- end
}}
...
...
Please
register
or
sign in
to post a comment