Skip to content

Commit

Permalink
Update COSI driver v0.1.1 (seaweedfs#5845)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
  • Loading branch information
kvaps authored Aug 1, 2024
1 parent 3b0130b commit a7e00d9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion k8s/charts/seaweedfs/templates/cosi-cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@ rules:
- "events"
verbs:
- "get"
- "delete"
- "list"
- "watch"
- "update"
- "create"
- "delete"
- "patch"
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
5 changes: 5 additions & 0 deletions k8s/charts/seaweedfs/templates/cosi-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ spec:
imagePullPolicy: {{ default "IfNotPresent" .Values.global.imagePullPolicy }}
args:
- {{ printf "--v=%s" (default "5" .Values.cosi.sidecar.logLevel) }}
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
volumeMounts:
- mountPath: /var/lib/cosi
name: socket
Expand Down
2 changes: 1 addition & 1 deletion k8s/charts/seaweedfs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ s3:
# For more information, visit: https://container-object-storage-interface.github.io/docs/deployment-guide
cosi:
enabled: false
image: "ghcr.io/seaweedfs/seaweedfs-cosi-driver:v0.1.0"
image: "ghcr.io/seaweedfs/seaweedfs-cosi-driver:v0.1.1"
driverName: "seaweedfs.objectstorage.k8s.io"
endpoint: ""
region: ""
Expand Down

0 comments on commit a7e00d9

Please sign in to comment.