-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gatekeeper S3 Example API Upgrade (#209)
* management policies addition * management policies removal from K8-provider * load balancer controller addition * updating policy to access global and local index * Update dynamodb-write.yaml license * upgrade deprecated api * PR review fix * gatekeeper example api upgrade * gatekeeper s3 exampleyaml update
- Loading branch information
Showing
6 changed files
with
33 additions
and
57 deletions.
There are no files selected for viewing
24 changes: 8 additions & 16 deletions
24
examples/gatekeeper/duplicate-s3/samples/allowed-bucket.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,18 @@ | ||
apiVersion: s3.aws.crossplane.io/v1beta1 | ||
apiVersion: s3.aws.upbound.io/v1beta1 | ||
kind: Bucket | ||
metadata: | ||
annotations: | ||
crossplane.io/external-create-pending: "2023-06-15T21:17:04Z" | ||
crossplane.io/external-create-succeeded: "2023-06-15T21:17:05Z" | ||
crossplane.io/external-name: my-bucket-456-$ACCOUNT_ID | ||
upbound.io/external-create-pending: "2023-06-15T21:17:04Z" | ||
upbound.io/external-create-succeeded: "2023-06-15T21:17:05Z" | ||
upbound.io/external-name: my-bucket-456-$ACCOUNT_ID | ||
labels: | ||
crossplane.io/claim-name: standard-object-storage | ||
crossplane.io/claim-namespace: default | ||
crossplane.io/composite: standard-object-storage-xwghv | ||
upbound.io/claim-name: standard-object-storage | ||
upbound.io/claim-namespace: default | ||
upbound.io/composite: standard-object-storage-xwghv | ||
name: standard-object-storage-new | ||
spec: | ||
deletionPolicy: Delete | ||
forProvider: | ||
locationConstraint: us-west-2 | ||
objectOwnership: BucketOwnerEnforced | ||
paymentConfiguration: | ||
payer: BucketOwner | ||
publicAccessBlockConfiguration: | ||
blockPublicAcls: true | ||
blockPublicPolicy: true | ||
ignorePublicAcls: true | ||
restrictPublicBuckets: true | ||
region: us-west-2 | ||
providerConfigRef: | ||
name: aws-provider-config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 8 additions & 16 deletions
24
examples/gatekeeper/duplicate-s3/samples/existing-buckets.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,18 @@ | ||
apiVersion: s3.aws.crossplane.io/v1beta1 | ||
apiVersion: s3.aws.upbound.io/v1beta1 | ||
kind: Bucket | ||
metadata: | ||
annotations: | ||
crossplane.io/external-create-pending: "2023-06-15T21:17:04Z" | ||
crossplane.io/external-create-succeeded: "2023-06-15T21:17:05Z" | ||
crossplane.io/external-name: my-bucket-123-$ACCOUNT_ID | ||
upbound.io/external-create-pending: "2023-06-15T21:17:04Z" | ||
upbound.io/external-create-succeeded: "2023-06-15T21:17:05Z" | ||
upbound.io/external-name: my-bucket-123-$ACCOUNT_ID | ||
labels: | ||
crossplane.io/claim-name: standard-object-storage | ||
crossplane.io/claim-namespace: default | ||
crossplane.io/composite: standard-object-storage-xwghv | ||
upbound.io/claim-name: standard-object-storage | ||
upbound.io/claim-namespace: default | ||
upbound.io/composite: standard-object-storage-xwghv | ||
name: standard-object-storage-exist | ||
spec: | ||
deletionPolicy: Delete | ||
forProvider: | ||
locationConstraint: us-west-2 | ||
objectOwnership: BucketOwnerEnforced | ||
paymentConfiguration: | ||
payer: BucketOwner | ||
publicAccessBlockConfiguration: | ||
blockPublicAcls: true | ||
blockPublicPolicy: true | ||
ignorePublicAcls: true | ||
restrictPublicBuckets: true | ||
region: us-west-2 | ||
providerConfigRef: | ||
name: aws-provider-config |
24 changes: 8 additions & 16 deletions
24
examples/gatekeeper/duplicate-s3/samples/not-allowed-bucket.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,18 @@ | ||
apiVersion: s3.aws.crossplane.io/v1beta1 | ||
apiVersion: s3.aws.upbound.io/v1beta1 | ||
kind: Bucket | ||
metadata: | ||
annotations: | ||
crossplane.io/external-create-pending: "2023-06-15T21:17:04Z" | ||
crossplane.io/external-create-succeeded: "2023-06-15T21:17:05Z" | ||
crossplane.io/external-name: my-bucket-123-$ACCOUNT_ID | ||
upbound.io/external-create-pending: "2023-06-15T21:17:04Z" | ||
upbound.io/external-create-succeeded: "2023-06-15T21:17:05Z" | ||
upbound.io/external-name: my-bucket-123-$ACCOUNT_ID | ||
labels: | ||
crossplane.io/claim-name: standard-object-storage | ||
crossplane.io/claim-namespace: default | ||
crossplane.io/composite: standard-object-storage-xwghv | ||
upbound.io/claim-name: standard-object-storage | ||
upbound.io/claim-namespace: default | ||
upbound.io/composite: standard-object-storage-xwghv | ||
name: standard-object-storage-new | ||
spec: | ||
deletionPolicy: Delete | ||
forProvider: | ||
locationConstraint: us-west-2 | ||
objectOwnership: BucketOwnerEnforced | ||
paymentConfiguration: | ||
payer: BucketOwner | ||
publicAccessBlockConfiguration: | ||
blockPublicAcls: true | ||
blockPublicPolicy: true | ||
ignorePublicAcls: true | ||
restrictPublicBuckets: true | ||
region: us-west-2 | ||
providerConfigRef: | ||
name: aws-provider-config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters