diff --git a/storage-limbosolutions-com/deploy/helm/values.yaml b/storage-limbosolutions-com/deploy/helm/values.yaml index d070347..00ecf15 100644 --- a/storage-limbosolutions-com/deploy/helm/values.yaml +++ b/storage-limbosolutions-com/deploy/helm/values.yaml @@ -7,81 +7,16 @@ tlsSecret: "" imagePullPolicy: "Always" driverName: storage-limbosolutions-com-csi-driver -controller: - hostNetwork: true - dnsPolicy: ClusterFirstWithHostNet - # tolerations: - # - key: "dedicated" - # operator: "Equal" - # value: "reserved" - # effect: "NoSchedule" - # affinity: - # nodeAffinity: - # requiredDuringSchedulingIgnoredDuringExecution: - # nodeSelectorTerms: - # - matchExpressions: - # - key: kubernetes.io/hostname - # operator: "In" - # values: - # - worker-node + mountService: - # Must be enabled for the CSI driver node component to mount volumes enabled: true - # o ultimo chart values tem um bug que o latest não é verdadeira ultima versão - # a versão que está puxar com latest tem um bug que o path para o volume náo é respeitado e usa o handle como nome da coleção - image: chrislusf/seaweedfs-mount:v1.4.4 - - # tolerations: - # - key: "dedicated" - # operator: "Equal" - # value: "reserved" - # effect: "NoSchedule" - - resources: {} - livenessProbe: - failureThreshold: - initialDelaySeconds: 10 - timeoutSeconds: 3 - periodSeconds: 60 - -# DataLocality (inspired by Longhorn) allows instructing the storage-driver which volume-locations will be used or preferred in Pods to read & write. -# e.g. Allows Pods to write preferrably to its local dataCenter volume-servers -# Requires Volume-Servers to be correctly labelled and matching Topology-Info to be passed into seaweedfs-csi-driver node -# Example-Value: "write_preferlocaldc" -dataLocality: "none" - -node: - hostNetwork: true - dnsPolicy: ClusterFirstWithHostNet - enabled: true - updateStrategy: - type: RollingUpdate - rollingUpdate: - maxUnavailable: 25% - affinity: {} - tolerations: #dedicated=reserved:NoSchedule - - key: "dedicated" - operator: "Equal" - value: "reserved" - effect: "NoSchedule" - - livenessProbe: - failureThreshold: - initialDelaySeconds: 10 - timeoutSeconds: 3 - periodSeconds: 60 - -# o ultimo chart values tem um bug que o latest não é verdadeira ultima versão -# a versão que está puxar com latest tem um bug que o path para o volume náo é respeitado e usa o handle como nome da coleção + image: chrislusf/seaweedfs-mount + # problems with latest version of mounter on helm version 0.2.15 + tag: v1.4.4 seaweedfsCsiPlugin: - image: chrislusf/seaweedfs-csi-driver:v1.4.4 - #image: chrislusf/seaweedfs-csi-driver:latest - securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true - + image: chrislusf/seaweedfs-csi-driver + # problems with latest version of mounter on helm version 0.2.15 + tag: v1.4.4 diff --git a/storage-limbosolutions-com/ops-scripts/apply.sh b/storage-limbosolutions-com/ops-scripts/apply.sh index 4bd9f6d..8710637 100755 --- a/storage-limbosolutions-com/ops-scripts/apply.sh +++ b/storage-limbosolutions-com/ops-scripts/apply.sh @@ -6,7 +6,7 @@ kubectl kustomize ./storage-limbosolutions-com/deploy/infra | kubectl apply -f - helm repo add seaweedfs-csi-driver https://seaweedfs.github.io/seaweedfs-csi-driver/helm helm repo update seaweedfs-csi-driver -helm upgrade --install \ +helm upgrade --install --version 0.2.15 \ --values=./storage-limbosolutions-com/deploy/helm/values.yaml \ --values=./storage-limbosolutions-com/deploy/helm/values.private.yaml \ storage-limbosolutions-com-seaweedfs-csi-driver seaweedfs-csi-driver/seaweedfs-csi-driver --namespace storage-limbosolutions-com \ No newline at end of file