| Giorgi Lekveishvili | 672af5d | 2023-07-12 11:57:51 +0400 | [diff] [blame] | 1 | apiVersion: helm.toolkit.fluxcd.io/v2beta1 |
| 2 | kind: HelmRelease |
| 3 | metadata: |
| 4 | name: soft-serve |
| 5 | namespace: {{ .Release.Namespace }} |
| 6 | spec: |
| 7 | chart: |
| 8 | spec: |
| 9 | chart: charts/soft-serve |
| 10 | sourceRef: |
| 11 | kind: GitRepository |
| 12 | name: pcloud |
| Giorgi Lekveishvili | 724885f | 2023-11-29 16:18:42 +0400 | [diff] [blame^] | 13 | namespace: {{ or .Values.ChartRepositoryNamespace .Global.Id }} |
| Giorgi Lekveishvili | 672af5d | 2023-07-12 11:57:51 +0400 | [diff] [blame] | 14 | interval: 1m0s |
| 15 | values: |
| Giorgi Lekveishvili | 724885f | 2023-11-29 16:18:42 +0400 | [diff] [blame^] | 16 | {{- if .Values.ServiceType }} |
| 17 | serviceType: {{ .Values.ServiceType }} |
| 18 | {{- end }} |
| Giorgi Lekveishvili | 672af5d | 2023-07-12 11:57:51 +0400 | [diff] [blame] | 19 | reservedIP: "" |
| 20 | addressPool: {{ .Global.Id }} |
| 21 | adminKey: {{ .Values.AdminKey }} |
| Giorgi Lekveishvili | 724885f | 2023-11-29 16:18:42 +0400 | [diff] [blame^] | 22 | {{- if and .Values.PrivateKey .Values.PublicKey }} |
| 23 | privateKey: | |
| 24 | {{ .Values.PrivateKey | indent 6 }} |
| 25 | publicKey: {{ .Values.PublicKey }} |
| 26 | {{- end }} |
| Giorgi Lekveishvili | 672af5d | 2023-07-12 11:57:51 +0400 | [diff] [blame] | 27 | {{- if .Values.Network }} |
| 28 | ingress: |
| Giorgi Lekveishvili | 724885f | 2023-11-29 16:18:42 +0400 | [diff] [blame^] | 29 | enabled: {{ .Values.Ingress.Enabled }} |
| Giorgi Lekveishvili | 672af5d | 2023-07-12 11:57:51 +0400 | [diff] [blame] | 30 | ingressClassName: {{ .Values.Network.IngressClass }} |
| 31 | certificateIssuer: {{ .Values.Network.CertificateIssuer }} |
| 32 | domain: {{ .Values.Subdomain }}.{{ .Values.Network.Domain }} |
| 33 | {{- if .Values.SourcePort }} |
| 34 | sourcePort: {{ .Values.SourcePort }} |
| 35 | {{- end }} |
| 36 | {{- end }} |