Skip to content

Commit 1c2ae9b

Browse files
author
Nicholas Thomson
committed
Update to runtime 0.0.5
1 parent 0a252a1 commit 1c2ae9b

21 files changed

+156
-475
lines changed

apis/v1alpha1/bucket.go

Lines changed: 22 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/s3.services.k8s.aws_buckets.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,25 +37,37 @@ spec:
3737
description: BucketSpec defines the desired state of Bucket
3838
properties:
3939
acl:
40+
description: The canned ACL to apply to the bucket.
4041
type: string
4142
createBucketConfiguration:
43+
description: The configuration information for the bucket.
4244
properties:
4345
locationConstraint:
4446
type: string
4547
type: object
4648
grantFullControl:
49+
description: Allows grantee the read, write, read ACP, and write ACP
50+
permissions on the bucket.
4751
type: string
4852
grantRead:
53+
description: Allows grantee to list the objects in the bucket.
4954
type: string
5055
grantReadACP:
56+
description: Allows grantee to read the bucket ACL.
5157
type: string
5258
grantWrite:
59+
description: Allows grantee to create, overwrite, and delete any object
60+
in the bucket.
5361
type: string
5462
grantWriteACP:
63+
description: Allows grantee to write the ACL for the applicable bucket.
5564
type: string
5665
name:
66+
description: The name of the bucket to create.
5767
type: string
5868
objectLockEnabledForBucket:
69+
description: Specifies whether you want S3 Object Lock to be enabled
70+
for the new bucket.
5971
type: boolean
6072
required:
6173
- name
@@ -120,6 +132,9 @@ spec:
120132
type: object
121133
type: array
122134
location:
135+
description: Specifies the Region where the bucket will be created.
136+
If you are creating a bucket on the US East (N. Virginia) Region
137+
(us-east-1), you do not need to specify the location.
123138
type: string
124139
required:
125140
- ackResourceMetadata

config/iam/recommended-policy-arn

Lines changed: 0 additions & 1 deletion
This file was deleted.

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ module github.com/aws-controllers-k8s/s3-controller
33
go 1.14
44

55
require (
6-
github.com/aws-controllers-k8s/runtime v0.0.4
6+
github.com/aws-controllers-k8s/runtime v0.0.5
77
github.com/aws/aws-sdk-go v1.37.4
88
github.com/go-logr/logr v0.1.0
9-
github.com/google/go-cmp v0.3.1
109
github.com/spf13/pflag v1.0.5
1110
k8s.io/api v0.18.2
1211
k8s.io/apimachinery v0.18.6

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo
2323
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
2424
github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
2525
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
26-
github.com/aws-controllers-k8s/runtime v0.0.4 h1:FXKrez7/x88wprW8a68uM02vGGuz3VPzEJLQ7AZsaxE=
27-
github.com/aws-controllers-k8s/runtime v0.0.4/go.mod h1:xA2F18PJerBHaqrS4de1lpP7skeSMeStkmh+3x5sWvw=
26+
github.com/aws-controllers-k8s/runtime v0.0.5 h1:WdcnMNdgagF2MMPQRbDJ5OEzMMgHraCJqvvFj4Sx/5g=
27+
github.com/aws-controllers-k8s/runtime v0.0.5/go.mod h1:xA2F18PJerBHaqrS4de1lpP7skeSMeStkmh+3x5sWvw=
2828
github.com/aws/aws-sdk-go v1.37.4 h1:tWxrpMK/oRSXVnjUzhGeCWLR00fW0WF4V4sycYPPrJ8=
2929
github.com/aws/aws-sdk-go v1.37.4/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
3030
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=

helm/Chart.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

helm/crds/s3.services.k8s.aws_buckets.yaml

Lines changed: 0 additions & 138 deletions
This file was deleted.

helm/templates/_helpers.tpl

Lines changed: 0 additions & 32 deletions
This file was deleted.

helm/templates/cluster-role-binding.yaml

Lines changed: 0 additions & 12 deletions
This file was deleted.

helm/templates/cluster-role-controller.yaml

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)