installer: create individual soft-serve instances for each env
diff --git a/core/installer/values-tmpl/soft-serve.yaml b/core/installer/values-tmpl/soft-serve.yaml
index 529986b..1c6fa87 100644
--- a/core/installer/values-tmpl/soft-serve.yaml
+++ b/core/installer/values-tmpl/soft-serve.yaml
@@ -10,15 +10,23 @@
sourceRef:
kind: GitRepository
name: pcloud
- namespace: {{ .Global.Id }}
+ namespace: {{ or .Values.ChartRepositoryNamespace .Global.Id }}
interval: 1m0s
values:
+ {{- if .Values.ServiceType }}
+ serviceType: {{ .Values.ServiceType }}
+ {{- end }}
reservedIP: ""
addressPool: {{ .Global.Id }}
adminKey: {{ .Values.AdminKey }}
+ {{- if and .Values.PrivateKey .Values.PublicKey }}
+ privateKey: |
+{{ .Values.PrivateKey | indent 6 }}
+ publicKey: {{ .Values.PublicKey }}
+ {{- end }}
{{- if .Values.Network }}
ingress:
- enabled: true # TODO(giolekva): make it configurable
+ enabled: {{ .Values.Ingress.Enabled }}
ingressClassName: {{ .Values.Network.IngressClass }}
certificateIssuer: {{ .Values.Network.CertificateIssuer }}
domain: {{ .Values.Subdomain }}.{{ .Values.Network.Domain }}