Skip to content

Commit

Permalink
docs: added base resource examples (#6)
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <[email protected]>
  • Loading branch information
shanduur-akamai authored Nov 23, 2023
1 parent 7b34cad commit 805f07a
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/example.BucketAccess.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: objectstorage.k8s.io/v1alpha1
kind: BucketAccess
metadata:
name: example-access
namespace: default
spec:
bucketClaimName: example-claim
protocol: S3
bucketAccessClassName: example-accessclass
credentialsSecretName: example-secret
8 changes: 8 additions & 0 deletions examples/example.BucketAccessClass.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: objectstorage.k8s.io/v1alpha1
kind: BucketAccessClass
metadata:
name: example-accessclass
driverName: objectstorage.cosi.linode.com
authenticationType: Key
parameters:
permissions: Full # ReadOnly
8 changes: 8 additions & 0 deletions examples/example.BucketClaim.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: objectstorage.k8s.io/v1alpha1
kind: BucketClaim
metadata:
name: example-claim
namespace: default
spec:
bucketClassName: example-class
protocols: [ 'S3' ]
8 changes: 8 additions & 0 deletions examples/example.BucketClass.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: objectstorage.k8s.io/v1alpha1
kind: BucketClass
metadata:
name: example-class
driverName: objectstorage.cosi.linode.com
deletionPolicy: Delete
parameters:
region: us-east

0 comments on commit 805f07a

Please sign in to comment.