34354ced by Adam Heath

Adjust cert-manager so the root crt/key can be passed in.

1 parent a12c90c9
...@@ -10,18 +10,41 @@ environments: ...@@ -10,18 +10,41 @@ environments:
10 enabled: true 10 enabled: true
11 email: name@example.com 11 email: name@example.com
12 tls_key: replace-me 12 tls_key: replace-me
13 root-ca:
14 crt: null
15 key: null
16 version:
17 raw: 1.1.0
13 18
14 repositories: 19 repositories:
15 - name: jetstack 20 - name: jetstack
16 url: https://charts.jetstack.io 21 url: https://charts.jetstack.io
22 - name: bedag
23 url: https://bedag.github.io/helm-charts/
17 24
18 --- 25 ---
19 releases: 26 releases:
20 - name: cert-manager 27 - name: cert-manager
21 chart: jetstack/cert-manager 28 chart: jetstack/cert-manager
22 namespace: cert-manager 29 namespace: cert-manager
30 dependencies:
31 - chart: bedag/raw
32 alias: root-ca
33 version: {{ $.Values.version.raw }}
23 values: 34 values:
24 - installCRDs: true 35 - installCRDs: true
36 - root-ca:
37 resources:
38 - apiVersion: v1
39 kind: Secret
40 metadata:
41 name: root-ca
42 namespace: cert-manager
43 data:
44 tls.crt: {{ .Values | get "root-ca.crt" }}
45 tls.key: {{ .Values | get "root-ca.key" }}
46 ca.crt: {{ .Values | get "root-ca.crt" }}
47 ca.key: {{ .Values | get "root-ca.key" }}
25 48
26 - name: cluster-issuer 49 - name: cluster-issuer
27 chart: charts/cluster-issuer 50 chart: charts/cluster-issuer
......