feat: add spegel to core components (#1225)

* feat: add spegel to core components

Signed-off-by: Devin Buhl <devin@buhl.casa>

* downgrade: csi-smb-driver

Signed-off-by: Devin Buhl <devin@buhl.casa>

* more: change to smb

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl authored and GitHub committed 2024-01-21 19:24:38 -05:00
1 parent 361920fd65
commit ba83e9a3c3
12 files changed
+17 -33

No files matched your search

@@ -8,6 +8,6 @@ resources:
- ./kubelet-csr-approver/ks.yaml
#% endif %#
- ./metrics-server/ks.yaml
#% if bootstrap_distribution in ['k0s', 'talos'] and addon_spegel.enabled %#
#% if bootstrap_distribution in ['k0s', 'talos'] %#
- ./spegel/ks.yaml
#% endif %#
@@ -1,4 +1,4 @@
#% if bootstrap_distribution in ['k0s', 'talos'] and addon_spegel.enabled %#
#% if bootstrap_distribution in ['k0s', 'talos'] %#
---
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
@@ -1,4 +1,4 @@
#% if bootstrap_distribution in ['k0s', 'talos'] and addon_spegel.enabled %#
#% if bootstrap_distribution in ['k0s', 'talos'] %#
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
@@ -1,4 +1,4 @@
#% if bootstrap_distribution in ['k0s', 'talos'] and addon_spegel.enabled %#
#% if bootstrap_distribution in ['k0s', 'talos'] %#
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
@@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: csi-driver-smb
version: v1.14.0
version: v1.13.0
sourceRef:
kind: HelmRepository
name: csi-driver-smb
@@ -9,15 +9,14 @@ provisioner: smb.csi.k8s.io
parameters:
source: "#{ item.source }#"
csi.storage.k8s.io/node-stage-secret-name: "#{ item.secret_name|default(item.name + '-secret') }#"
csi.storage.k8s.io/node-stage-secret-namespace: "#{ item.secret_namespace|default("storage") }#"
onDelete: retain
csi.storage.k8s.io/node-stage-secret-namespace: "#{ item.secret_namespace|default('storage') }#"
reclaimPolicy: Retain
volumeBindingMode: Immediate
mountOptions:
- dir_mode=#{ item.dir_mode|default("0777") }#
- file_mode=#{ item.file_mode|default("0666") }#
- uid=#{ item.uid|default("1000") }#
- gid=#{ item.gid|default("1000") }#
- "dir_mode=#{ item.dir_mode|default('0777') }#"
- "file_mode=#{ item.file_mode|default('0666') }#"
- "uid=#{ item.uid|default('1000') }#"
- "gid=#{ item.gid|default('1000') }#"
- noperm
- mfsymlinks
- cache=strict