| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 1 | input: { |
| 2 | apiConfigMap: { |
| 3 | name: string |
| 4 | namespace: string |
| 5 | } |
| 6 | } |
| 7 | |
| Giorgi Lekveishvili | 08af67a | 2024-01-18 08:53:05 +0400 | [diff] [blame] | 8 | namespace: "ingress-private" |
| 9 | |
| Giorgi Lekveishvili | e009a5d | 2024-01-05 14:10:11 +0400 | [diff] [blame] | 10 | images: {} |
| 11 | |
| 12 | charts: { |
| 13 | "certificate-issuer-private": { |
| 14 | chart: "charts/certificate-issuer-private" |
| 15 | sourceRef: { |
| 16 | kind: "GitRepository" |
| 17 | name: "pcloud" |
| 18 | namespace: global.id |
| 19 | } |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | helm: { |
| 24 | "certificate-issuer-private": { |
| 25 | chart: charts["certificate-issuer-private"] |
| 26 | dependsOnExternal: [{ |
| 27 | name: "ingress-nginx" |
| 28 | namespace: "\(global.namespacePrefix)ingress-private" |
| 29 | }] |
| 30 | values: { |
| 31 | issuer: { |
| 32 | name: _issuerPrivate |
| 33 | server: "https://acme-v02.api.letsencrypt.org/directory" |
| 34 | // server: "https://acme-staging-v02.api.letsencrypt.org/directory" |
| 35 | domain: global.privateDomain |
| 36 | contactEmail: global.contactEmail |
| 37 | } |
| 38 | apiConfigMap: { |
| 39 | name: input.apiConfigMap.name |
| 40 | namespace: input.apiConfigMap.namespace |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | } |