-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
- Loading branch information
Showing
7 changed files
with
67 additions
and
96 deletions.
There are no files selected for viewing
28 changes: 12 additions & 16 deletions
28
examples/gatekeeper/region-restrict/samples/sample-table-eu-west-2-pass.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,23 +1,19 @@ | ||
apiVersion: dynamodb.aws.crossplane.io/v1alpha1 | ||
apiVersion: dynamodb.aws.upbound.io/v1beta1 | ||
kind: Table | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: dynamodb/v1beta1/globaltable | ||
name: sample-table | ||
spec: | ||
deletionPolicy: Delete | ||
providerConfigRef: | ||
name: aws-provider-config | ||
forProvider: | ||
attribute: | ||
- name: myAttribute | ||
type: S | ||
hashKey: myAttribute | ||
readCapacity: 1 | ||
writeCapacity: 1 | ||
region: eu-west-2 | ||
attributeDefinitions: | ||
- attributeName: id | ||
attributeType: S | ||
keySchema: | ||
- attributeName: id | ||
keyType: HASH | ||
billingMode: PROVISIONED | ||
provisionedThroughput: | ||
readCapacityUnits: 1 | ||
writeCapacityUnits: 1 | ||
tags: | ||
- key: "owner" | ||
value: "finance" | ||
providerConfigRef: | ||
name: aws-provider-config | ||
owner: finance |
29 changes: 12 additions & 17 deletions
29
examples/gatekeeper/region-restrict/samples/sample-table-us-east-1-fail.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,24 +1,19 @@ | ||
apiVersion: dynamodb.aws.crossplane.io/v1alpha1 | ||
apiVersion: dynamodb.aws.upbound.io/v1beta1 | ||
kind: Table | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: dynamodb/v1beta1/globaltable | ||
name: failing-table | ||
spec: | ||
deletionPolicy: Delete | ||
providerConfigRef: | ||
name: aws-provider-config | ||
forProvider: | ||
attribute: | ||
- name: myAttribute | ||
type: S | ||
hashKey: myAttribute | ||
readCapacity: 1 | ||
writeCapacity: 1 | ||
region: us-east-1 | ||
attributeDefinitions: | ||
- attributeName: id | ||
attributeType: S | ||
keySchema: | ||
- attributeName: id | ||
keyType: HASH | ||
billingMode: PROVISIONED | ||
provisionedThroughput: | ||
readCapacityUnits: 1 | ||
writeCapacityUnits: 1 | ||
tags: | ||
- key: "owner" | ||
value: "finance" | ||
|
||
providerConfigRef: | ||
name: aws-provider-config | ||
owner: finance |
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
28 changes: 12 additions & 16 deletions
28
examples/gatekeeper/required-tags/samples/dummy-table-missing-tag-fail.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,23 +1,19 @@ | ||
apiVersion: dynamodb.aws.crossplane.io/v1alpha1 | ||
apiVersion: dynamodb.aws.upbound.io/v1beta1 | ||
kind: Table | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: dynamodb/v1beta1/globaltable | ||
name: dummy-table | ||
spec: | ||
deletionPolicy: Delete | ||
providerConfigRef: | ||
name: aws-provider-config | ||
forProvider: | ||
attribute: | ||
- name: myAttribute | ||
type: S | ||
hashKey: myAttribute | ||
readCapacity: 1 | ||
writeCapacity: 1 | ||
region: eu-west-2 | ||
attributeDefinitions: | ||
- attributeName: id | ||
attributeType: S | ||
keySchema: | ||
- attributeName: id | ||
keyType: HASH | ||
billingMode: PROVISIONED | ||
provisionedThroughput: | ||
readCapacityUnits: 1 | ||
writeCapacityUnits: 1 | ||
tags: | ||
- key: "aaa" | ||
value: "finance" | ||
providerConfigRef: | ||
name: aws-provider-config | ||
aaa: finance |
27 changes: 12 additions & 15 deletions
27
examples/gatekeeper/required-tags/samples/dummy-table-no-tags-fail.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,20 +1,17 @@ | ||
apiVersion: dynamodb.aws.crossplane.io/v1alpha1 | ||
apiVersion: dynamodb.aws.upbound.io/v1beta1 | ||
kind: Table | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: dynamodb/v1beta1/globaltable | ||
name: dummy-table | ||
spec: | ||
deletionPolicy: Delete | ||
forProvider: | ||
region: eu-west-2 | ||
attributeDefinitions: | ||
- attributeName: id | ||
attributeType: S | ||
keySchema: | ||
- attributeName: id | ||
keyType: HASH | ||
billingMode: PROVISIONED | ||
provisionedThroughput: | ||
readCapacityUnits: 1 | ||
writeCapacityUnits: 1 | ||
providerConfigRef: | ||
name: aws-provider-config | ||
name: aws-provider-config | ||
forProvider: | ||
attribute: | ||
- name: myAttribute | ||
type: S | ||
hashKey: myAttribute | ||
readCapacity: 1 | ||
writeCapacity: 1 | ||
region: eu-west-2 |
28 changes: 12 additions & 16 deletions
28
examples/gatekeeper/required-tags/samples/finance-table-pass.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,23 +1,19 @@ | ||
apiVersion: dynamodb.aws.crossplane.io/v1alpha1 | ||
apiVersion: dynamodb.aws.upbound.io/v1beta1 | ||
kind: Table | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: dynamodb/v1beta1/globaltable | ||
name: finance-table | ||
spec: | ||
deletionPolicy: Delete | ||
providerConfigRef: | ||
name: aws-provider-config | ||
forProvider: | ||
attribute: | ||
- name: myAttribute | ||
type: S | ||
hashKey: myAttribute | ||
readCapacity: 1 | ||
writeCapacity: 1 | ||
region: eu-west-2 | ||
attributeDefinitions: | ||
- attributeName: id | ||
attributeType: S | ||
keySchema: | ||
- attributeName: id | ||
keyType: HASH | ||
billingMode: PROVISIONED | ||
provisionedThroughput: | ||
readCapacityUnits: 1 | ||
writeCapacityUnits: 1 | ||
tags: | ||
- key: "owner" | ||
value: "finance" | ||
providerConfigRef: | ||
name: aws-provider-config | ||
owner: finance |
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