Skip to content

Commit 33f323f

Browse files
Add conditional install for CA and Prod ClusterIssuer (#60)
Adds conditional installation for the CA and production ClusterIssuers. By default, both are installed as before. Co-authored-by: Lucas Koehler <[email protected]>
1 parent ac662ea commit 33f323f

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

charts/theia-cloud-base/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.11.0-next.1
18+
version: 0.11.0-next.2
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
{{- if .Values.issuerca.enable }}
12
apiVersion: cert-manager.io/v1
23
kind: ClusterIssuer
34
metadata:
45
name: {{ .Values.issuerca.name }}
56
spec:
67
selfSigned: {}
7-
8+
{{- end }}

charts/theia-cloud-base/templates/clusterissuer-production.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.issuerprod.enable }}
12
apiVersion: cert-manager.io/v1
23
kind: ClusterIssuer
34
metadata:
@@ -12,4 +13,5 @@ spec:
1213
- http01:
1314
ingress:
1415
class: nginx
16+
{{- end }}
1517

charts/theia-cloud-base/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
issuerca:
2+
enable: true
23
# -- name for the issuer preparing a self signed CA certificate
34
name: theia-cloud-ca-certificate-signer
45

56
issuerprod:
7+
enable: true
68
# -- name for the let's encrypt production cluster issuer
79
name: letsencrypt-prod
810

0 commit comments

Comments
 (0)