Browse Source
Add: COSI BucketClass and BucketAccessClass (#5863)
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
pull/5865/head
Andrei Kvapil
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
17 additions and
0 deletions
-
k8s/charts/seaweedfs/templates/cosi-bucket-class.yaml
-
k8s/charts/seaweedfs/values.yaml
|
@ -0,0 +1,16 @@ |
|
|
|
|
|
{{- if and .Values.cosi.enabled .Values.cosi.bucketClassName }} |
|
|
|
|
|
--- |
|
|
|
|
|
kind: BucketClass |
|
|
|
|
|
apiVersion: objectstorage.k8s.io/v1alpha1 |
|
|
|
|
|
metadata: |
|
|
|
|
|
name: {{ .Values.cosi.bucketClassName }} |
|
|
|
|
|
driverName: {{ .Values.cosi.driverName }} |
|
|
|
|
|
deletionPolicy: Delete |
|
|
|
|
|
--- |
|
|
|
|
|
kind: BucketAccessClass |
|
|
|
|
|
apiVersion: objectstorage.k8s.io/v1alpha1 |
|
|
|
|
|
metadata: |
|
|
|
|
|
name: {{ .Values.cosi.bucketClassName }} |
|
|
|
|
|
driverName: {{ .Values.cosi.driverName }} |
|
|
|
|
|
authenticationType: KEY |
|
|
|
|
|
{{- end }} |
|
@ -874,6 +874,7 @@ cosi: |
|
|
enabled: false |
|
|
enabled: false |
|
|
image: "ghcr.io/seaweedfs/seaweedfs-cosi-driver:v0.1.1" |
|
|
image: "ghcr.io/seaweedfs/seaweedfs-cosi-driver:v0.1.1" |
|
|
driverName: "seaweedfs.objectstorage.k8s.io" |
|
|
driverName: "seaweedfs.objectstorage.k8s.io" |
|
|
|
|
|
bucketClassName: "seaweedfs" |
|
|
endpoint: "" |
|
|
endpoint: "" |
|
|
region: "" |
|
|
region: "" |
|
|
|
|
|
|
|
|