Skip to content

Commit 1a34216

Browse files
feat(kmsMasterKeyRef): allow Bucket resource to be encrypted with KMS key by reference
1 parent 4576869 commit 1a34216

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,21 @@ spec:
216216
properties:
217217
kmsMasterKeyID:
218218
type: string
219+
kmsMasterKeyRef:
220+
description: "AWSResourceReferenceWrapper provides a wrapper around
221+
*AWSResourceReference\ntype to provide more user friendly syntax
222+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
223+
\ name: my-api"
224+
properties:
225+
from:
226+
description: |-
227+
AWSResourceReference provides all the values necessary to reference another
228+
k8s resource for finding the identifier(Id/ARN/Name)
229+
properties:
230+
name: string
231+
namespace: string
232+
type: object
233+
type: object
219234
sseAlgorithm:
220235
type: string
221236
type: object

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,22 @@ spec:
216216
properties:
217217
kmsMasterKeyID:
218218
type: string
219+
kmsMasterKeyRef:
220+
description: |-
221+
"AWSResourceReferenceWrapper provides a wrapper around
222+
*AWSResourceReference\ntype to provide more user friendly syntax
223+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
224+
\ name: my-api"
225+
properties:
226+
from:
227+
description: |-
228+
AWSResourceReference provides all the values necessary to reference another
229+
k8s resource for finding the identifier(Id/ARN/Name)
230+
properties:
231+
name: string
232+
namespace: string
233+
type: object
234+
type: object
219235
sseAlgorithm:
220236
type: string
221237
type: object

0 commit comments

Comments
 (0)