mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
* feat(health): support for iam.aws.crossplane.io resources Signed-off-by: Jellyfrog <[email protected]> * feat(health): support for bucket s3.aws.crossplane.io resource Signed-off-by: Jellyfrog <[email protected]> --------- Signed-off-by: Jellyfrog <[email protected]>
46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
apiVersion: iam.aws.crossplane.io/v1beta1
|
|
kind: Policy
|
|
metadata:
|
|
name: example
|
|
spec:
|
|
deletionPolicy: Delete
|
|
forProvider:
|
|
description: example
|
|
document: |
|
|
{
|
|
"Version": "2012-10-17",
|
|
"Statement": [
|
|
{
|
|
"Effect": "Allow",
|
|
"Action": ["s3:ListBucket"],
|
|
"Resource": ["arn:aws:s3:::examples"]
|
|
}
|
|
]
|
|
}
|
|
name: examples-s3-hello-s3
|
|
tags:
|
|
- key: crossplane-name
|
|
value: example
|
|
- key: crossplane-providerconfig
|
|
value: provider-aws
|
|
- key: crossplane-kind
|
|
value: policy.iam.aws.crossplane.io
|
|
providerConfigRef:
|
|
name: provider-aws
|
|
status:
|
|
atProvider:
|
|
arn: arn:aws:iam::123:policy/examples-s3-hello-s3
|
|
attachmentCount: 1
|
|
defaultVersionId: v2
|
|
isAttachable: true
|
|
policyId: 123
|
|
conditions:
|
|
- lastTransitionTime: "2024-07-11T08:18:16Z"
|
|
reason: Available
|
|
status: "True"
|
|
type: Ready
|
|
- lastTransitionTime: "2024-07-11T08:18:07Z"
|
|
reason: ReconcileSuccess
|
|
status: "True"
|
|
type: Synced
|