Skip to content

Commit

Permalink
sidecar bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
travisghansen committed Mar 26, 2024
1 parent d7650ca commit b08d58f
Show file tree
Hide file tree
Showing 22 changed files with 628 additions and 436 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 0.14.6

Released 2024-03-26

- bump sidecar versions
- new examples
- support `seLinuxMount` on `CSIDriver` resource

# 0.14.1

Released 2023-07-16
Expand All @@ -9,7 +17,7 @@ Released 2023-07-16
Released 2023-07-16

BREAKING CHANGES: Some default values have changed which should be enabled on
all drivers *except* the `*-local` drivers. In other words, you must explicitly
all drivers _except_ the `*-local` drivers. In other words, you must explicitly
disable the defaults now for `*-local` drivers with the `values.yaml` example
below.

Expand Down
2 changes: 1 addition & 1 deletion stable/democratic-csi/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "1.0"
description: csi storage for container orchestration systems
name: democratic-csi
version: 0.14.5
version: 0.14.6
67 changes: 33 additions & 34 deletions stable/democratic-csi/examples/freenas-iscsi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,40 @@ csiDriver:

# add note here about volume expansion requirements
storageClasses:
- name: freenas-iscsi-csi
defaultClass: false
reclaimPolicy: Delete
volumeBindingMode: Immediate
allowVolumeExpansion: true
parameters:
# for block-based storage can be ext3, ext4, xfs
# for nfs should be nfs
fsType: ext4

# if true, volumes created from other snapshots will be
# zfs send/received instead of zfs cloned
# detachedVolumesFromSnapshots: "false"

# if true, volumes created from other volumes will be
# zfs send/received instead of zfs cloned
# detachedVolumesFromVolumes: "false"
- name: freenas-iscsi-csi
defaultClass: false
reclaimPolicy: Delete
volumeBindingMode: Immediate
allowVolumeExpansion: true
parameters:
# for block-based storage can be ext3, ext4, xfs
# for nfs should be nfs
fsType: ext4

mountOptions: []
secrets:
provisioner-secret:
controller-publish-secret:
node-stage-secret:
# # any arbitrary iscsiadm entries can be add by creating keys starting with node-db.<entry.name>
# # if doing CHAP
# node-db.node.session.auth.authmethod: CHAP
# node-db.node.session.auth.username: foo
# node-db.node.session.auth.password: bar
#
# # if doing mutual CHAP
# node-db.node.session.auth.username_in: baz
# node-db.node.session.auth.password_in: bar
node-publish-secret:
controller-expand-secret:
# if true, volumes created from other snapshots will be
# zfs send/received instead of zfs cloned
# detachedVolumesFromSnapshots: "false"

# if true, volumes created from other volumes will be
# zfs send/received instead of zfs cloned
# detachedVolumesFromVolumes: "false"

mountOptions: []
secrets:
provisioner-secret:
controller-publish-secret:
node-stage-secret:
# # any arbitrary iscsiadm entries can be add by creating keys starting with node-db.<entry.name>
# # if doing CHAP
# node-db.node.session.auth.authmethod: CHAP
# node-db.node.session.auth.username: foo
# node-db.node.session.auth.password: bar
#
# # if doing mutual CHAP
# node-db.node.session.auth.username_in: baz
# node-db.node.session.auth.password_in: bar
node-publish-secret:
controller-expand-secret:

# if your cluster supports snapshots you may enable below
volumeSnapshotClasses: []
Expand All @@ -55,4 +55,3 @@ driver:
# YOU MUST COPY THE DATA HERE INLINE!
driver: freenas-iscsi
#...

53 changes: 27 additions & 26 deletions stable/democratic-csi/examples/freenas-nfs.yaml
Original file line number Diff line number Diff line change
@@ -1,36 +1,37 @@
csiDriver:
# should be globally unique for a given cluster
name: "org.democratic-csi.nfs"
fsGroupPolicy: File

# add note here about volume expansion requirements
storageClasses:
- name: freenas-nfs-csi
defaultClass: false
reclaimPolicy: Delete
volumeBindingMode: Immediate
allowVolumeExpansion: true
parameters:
# for block-based storage can be ext3, ext4, xfs
# for nfs should be nfs
fsType: nfs

# if true, volumes created from other snapshots will be
# zfs send/received instead of zfs cloned
# detachedVolumesFromSnapshots: "false"

# if true, volumes created from other volumes will be
# zfs send/received instead of zfs cloned
# detachedVolumesFromVolumes: "false"
- name: freenas-nfs-csi
defaultClass: false
reclaimPolicy: Delete
volumeBindingMode: Immediate
allowVolumeExpansion: true
parameters:
# for block-based storage can be ext3, ext4, xfs
# for nfs should be nfs
fsType: nfs

mountOptions:
- noatime
- nfsvers=3
secrets:
provisioner-secret:
controller-publish-secret:
node-stage-secret:
node-publish-secret:
controller-expand-secret:
# if true, volumes created from other snapshots will be
# zfs send/received instead of zfs cloned
# detachedVolumesFromSnapshots: "false"

# if true, volumes created from other volumes will be
# zfs send/received instead of zfs cloned
# detachedVolumesFromVolumes: "false"

mountOptions:
- noatime
- nfsvers=3
secrets:
provisioner-secret:
controller-publish-secret:
node-stage-secret:
node-publish-secret:
controller-expand-secret:

# if your cluster supports snapshots you may enable below
volumeSnapshotClasses: []
Expand Down
65 changes: 33 additions & 32 deletions stable/democratic-csi/examples/freenas-smb.yaml
Original file line number Diff line number Diff line change
@@ -1,42 +1,43 @@
csiDriver:
# should be globally unique for a given cluster
name: "org.democratic-csi.smb"
fsGroupPolicy: File

# add note here about volume expansion requirements
storageClasses:
- name: freenas-smb-csi
defaultClass: false
reclaimPolicy: Delete
volumeBindingMode: Immediate
allowVolumeExpansion: true
parameters:
# for block-based storage can be ext3, ext4, xfs
# for nfs should be nfs
# for smb should cifs
fsType: cifs

# if true, volumes created from other snapshots will be
# zfs send/received instead of zfs cloned
# detachedVolumesFromSnapshots: "false"

# if true, volumes created from other volumes will be
# zfs send/received instead of zfs cloned
# detachedVolumesFromVolumes: "false"
- name: freenas-smb-csi
defaultClass: false
reclaimPolicy: Delete
volumeBindingMode: Immediate
allowVolumeExpansion: true
parameters:
# for block-based storage can be ext3, ext4, xfs
# for nfs should be nfs
# for smb should cifs
fsType: cifs

mountOptions:
# can put these here or can be added to the node-stage-secret below
- username=foo
- password=bar
#- dir_mode=0777
#- file_mode=0777
#- guest
secrets:
provisioner-secret:
controller-publish-secret:
node-stage-secret:
# mount_flags: "username=foo,password=bar"
node-publish-secret:
controller-expand-secret:
# if true, volumes created from other snapshots will be
# zfs send/received instead of zfs cloned
# detachedVolumesFromSnapshots: "false"

# if true, volumes created from other volumes will be
# zfs send/received instead of zfs cloned
# detachedVolumesFromVolumes: "false"

mountOptions:
# can put these here or can be added to the node-stage-secret below
- username=foo
- password=bar
#- dir_mode=0777
#- file_mode=0777
#- guest
secrets:
provisioner-secret:
controller-publish-secret:
node-stage-secret:
# mount_flags: "username=foo,password=bar"
node-publish-secret:
controller-expand-secret:

# if your cluster supports snapshots you may enable below
volumeSnapshotClasses: []
Expand Down
60 changes: 30 additions & 30 deletions stable/democratic-csi/examples/local-hostpath.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ csiDriver:
fsGroupPolicy: File

storageClasses:
- name: local-hostpath
defaultClass: false
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
# distributed support is not yet ready for expansion
allowVolumeExpansion: false
parameters:
- name: local-hostpath
defaultClass: false
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
# distributed support is not yet ready for expansion
allowVolumeExpansion: false
parameters:

mountOptions: []
secrets:
provisioner-secret:
controller-publish-secret:
node-stage-secret:
node-publish-secret:
controller-expand-secret:
mountOptions: []
secrets:
provisioner-secret:
controller-publish-secret:
node-stage-secret:
node-publish-secret:
controller-expand-secret:

# if your cluster supports snapshots you may enable below
volumeSnapshotClasses: []
Expand All @@ -34,13 +34,13 @@ controller:
strategy: node
externalProvisioner:
extraArgs:
- --leader-election=false
- --node-deployment=true
- --node-deployment-immediate-binding=false
- --feature-gates=Topology=true
- --strict-topology=true
- --enable-capacity=true
- --capacity-ownerref-level=1
- --leader-election=false
- --node-deployment=true
- --node-deployment-immediate-binding=false
- --feature-gates=Topology=true
- --strict-topology=true
- --enable-capacity=true
- --capacity-ownerref-level=1

externalAttacher:
enabled: false
Expand All @@ -52,21 +52,21 @@ controller:
externalSnapshotter:
enabled: true
extraArgs:
- --leader-election=false
- --node-deployment=true
- --leader-election=false
- --node-deployment=true

node:
driver:
extraVolumeMounts:
- name: local-storage
mountPath: /var/lib/csi-local-hostpath
mountPropagation: Bidirectional
- name: local-storage
mountPath: /var/lib/csi-local-hostpath
mountPropagation: Bidirectional

extraVolumes:
- name: local-storage
hostPath:
path: /var/lib/csi-local-hostpath
type: DirectoryOrCreate
- name: local-storage
hostPath:
path: /var/lib/csi-local-hostpath
type: DirectoryOrCreate

driver:
config:
Expand Down
35 changes: 16 additions & 19 deletions stable/democratic-csi/examples/lustre-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@
csiDriver:
# should be globally unique for a given cluster
name: "org.democratic-csi.lustre-client"
fsGroupPolicy: File

storageClasses:
- name: lustre-client
defaultClass: false
reclaimPolicy: Delete
volumeBindingMode: Immediate
allowVolumeExpansion: false
parameters:
fsType: lustre

mountOptions: []
secrets:
provisioner-secret:
controller-publish-secret:
node-stage-secret:
node-publish-secret:
controller-expand-secret:
- name: lustre-client
defaultClass: false
reclaimPolicy: Delete
volumeBindingMode: Immediate
allowVolumeExpansion: false
parameters:
fsType: lustre

mountOptions: []
secrets:
provisioner-secret:
controller-publish-secret:
node-stage-secret:
node-publish-secret:
controller-expand-secret:

# if your cluster supports snapshots you may enable below
volumeSnapshotClasses: []
#- name: lustre-client
# secrets:
# snapshotter-secret:


driver:
config:
# please see the most up-to-date example of the corresponding config here:
Expand Down Expand Up @@ -58,8 +58,6 @@ controller:

# For Options 3 and 4
#strategy: node


# Option 1
# do this if the nodes do NOT already have the base volume mounted out-of-band from k8s
# driver:
Expand Down Expand Up @@ -98,7 +96,6 @@ controller:
# path: /already/mounted/path/to <shareHost>:<shareBasePath>
# type: Directory


# Options 3 and 4
#node:

Expand Down
Loading

0 comments on commit b08d58f

Please sign in to comment.