| gio | cb34ad2 | 2024-07-11 08:01:13 +0400 | [diff] [blame] | 1 | input: { |
| 2 | name: string |
| 3 | domain: string |
| 4 | } |
| 5 | |
| 6 | images: {} |
| 7 | |
| 8 | name: "Network" |
| 9 | namespace: "ingress-custom" |
| 10 | readme: "Configure custom public domain" |
| 11 | description: readme |
| 12 | icon: "<svg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 48 48'><g fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='4'><path d='M4 34h8v8H4zM8 6h32v12H8zm16 28V18'/><path d='M8 34v-8h32v8m-4 0h8v8h-8zm-16 0h8v8h-8zm-6-22h2'/></g></svg>" |
| 13 | |
| 14 | charts: { |
| 15 | "certificate-issuer-public": { |
| 16 | kind: "GitRepository" |
| 17 | address: "https://github.com/giolekva/pcloud.git" |
| 18 | branch: "main" |
| 19 | path: "charts/certificate-issuer-public" |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | helm: { |
| 24 | "certificate-issuer-public": { |
| 25 | chart: charts["certificate-issuer-public"] |
| 26 | dependsOn: [{ |
| 27 | name: "ingress-nginx" |
| 28 | namespace: "\(global.namespacePrefix)ingress-private" |
| 29 | }] |
| 30 | values: { |
| 31 | issuer: { |
| 32 | name: input.name |
| 33 | server: "https://acme-v02.api.letsencrypt.org/directory" |
| 34 | // server: "https://acme-staging-v02.api.letsencrypt.org/directory" |
| 35 | domain: input.domain |
| 36 | contactEmail: global.contactEmail |
| 37 | ingressClass: ingressPublic |
| 38 | } |
| 39 | } |
| 40 | } |
| 41 | } |