blob: 529986bc6fc29493526470f3ceed50d3e980ac54 [file] [log] [blame]
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: soft-serve
namespace: {{ .Release.Namespace }}
spec:
chart:
spec:
chart: charts/soft-serve
sourceRef:
kind: GitRepository
name: pcloud
namespace: {{ .Global.Id }}
interval: 1m0s
values:
reservedIP: ""
addressPool: {{ .Global.Id }}
adminKey: {{ .Values.AdminKey }}
{{- if .Values.Network }}
ingress:
enabled: true # TODO(giolekva): make it configurable
ingressClassName: {{ .Values.Network.IngressClass }}
certificateIssuer: {{ .Values.Network.CertificateIssuer }}
domain: {{ .Values.Subdomain }}.{{ .Values.Network.Domain }}
{{- if .Values.SourcePort }}
sourcePort: {{ .Values.SourcePort }}
{{- end }}
{{- end }}