installer: fully automate initial bootstrap and env creation
diff --git a/core/installer/values-tmpl/csi-driver-smb.yaml b/core/installer/values-tmpl/csi-driver-smb.yaml
new file mode 100644
index 0000000..9a2cf36
--- /dev/null
+++ b/core/installer/values-tmpl/csi-driver-smb.yaml
@@ -0,0 +1,40 @@
+apiVersion: helm.toolkit.fluxcd.io/v2beta1
+kind: HelmRelease
+metadata:
+ name: namespaces-csi-driver-smb
+ namespace: {{ .Global.PCloudEnvName }}
+spec:
+ chart:
+ spec:
+ chart: charts/namespaces
+ sourceRef:
+ kind: GitRepository
+ name: {{ .Global.PCloudEnvName }}
+ namespace: {{ .Global.PCloudEnvName }}
+ interval: 1m0s
+ values:
+ pcloudInstanceId: ""
+ namespacePrefix: {{ .Global.PCloudEnvName }}-
+ namespaces:
+ - csi-driver-smb
+---
+apiVersion: helm.toolkit.fluxcd.io/v2beta1
+kind: HelmRelease
+metadata:
+ name: csi-driver-smb
+ namespace: {{ .Global.PCloudEnvName }}
+spec:
+ targetNamespace: {{ .Global.PCloudEnvName }}-csi-driver-smb
+ dependsOn:
+ - name: namespaces-csi-driver-smb
+ namespace: {{ .Global.PCloudEnvName }}
+ chart:
+ spec:
+ chart: charts/csi-driver-smb
+ sourceRef:
+ kind: GitRepository
+ name: pcloud
+ namespace: {{ .Global.PCloudEnvName }}
+ interval: 1m0s
+ timeout: 20m0s
+ values: