-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mikkel Oscar Lyderik Larsen <[email protected]>
- Loading branch information
1 parent
bb9b680
commit 8f6c276
Showing
24 changed files
with
509 additions
and
212 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,59 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: awsiamroles.zalando.org | ||
spec: | ||
group: zalando.org | ||
version: v1 | ||
scope: Namespaced | ||
names: | ||
kind: AWSIAMRole | ||
singular: awsiamrole | ||
plural: awsiamroles | ||
categories: | ||
- all | ||
additionalPrinterColumns: | ||
- name: RoleARN | ||
type: string | ||
description: Full RoleARN | ||
JSONPath: .status.roleARN | ||
- name: Expiration | ||
type: string | ||
description: Expiration time of the current credentials provisioned for the role | ||
JSONPath: .status.expiration | ||
subresources: | ||
# status enables the status subresource. | ||
status: {} | ||
# validation depends on Kubernetes >= v1.11.0 | ||
validation: | ||
openAPIV3Schema: | ||
properties: | ||
spec: | ||
properties: | ||
roleReference: | ||
description: | | ||
Reference to an AWS IAM role which can either be a role name | ||
or a full IAM role ARN. | ||
type: string | ||
minLength: 3 | ||
roleSessionDuration: | ||
description: | | ||
Specify the role session duration in seconds. Defaults to 3600 | ||
seconds (1 hour). This value must be less than or equal to the | ||
`MaxSessionDuration` value of the IAM role. | ||
type: integer | ||
minimum: 900 # 15 minutes | ||
maximum: 43200 # 12 hours | ||
status: | ||
properties: | ||
observedGeneration: | ||
type: integer | ||
roleARN: | ||
type: string | ||
expiration: | ||
type: string | ||
required: | ||
- spec | ||
versions: | ||
- name: v1 | ||
served: true | ||
storage: true | ||
additionalPrinterColumns: | ||
- name: RoleARN | ||
type: string | ||
description: Full RoleARN | ||
jsonPath: .status.roleARN | ||
- name: Expiration | ||
type: string | ||
description: Expiration time of the current credentials provisioned for the role | ||
jsonPath: .status.expiration | ||
subresources: | ||
# status enables the status subresource. | ||
status: {} | ||
# validation depends on Kubernetes >= v1.11.0 | ||
schema: | ||
openAPIV3Schema: | ||
properties: | ||
spec: | ||
properties: | ||
roleReference: | ||
description: | | ||
Reference to an AWS IAM role which can either be a role name | ||
or a full IAM role ARN. | ||
type: string | ||
minLength: 3 | ||
roleSessionDuration: | ||
description: | | ||
Specify the role session duration in seconds. Defaults to 3600 | ||
seconds (1 hour). This value must be less than or equal to the | ||
`MaxSessionDuration` value of the IAM role. | ||
type: integer | ||
minimum: 900 # 15 minutes | ||
maximum: 43200 # 12 hours | ||
status: | ||
properties: | ||
observedGeneration: | ||
type: integer | ||
roleARN: | ||
type: string | ||
expiration: | ||
type: string | ||
required: | ||
- spec |
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
Oops, something went wrong.