Skip to content

Commit

Permalink
Add eks-anywhere CRDs to crd catalog (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbahat authored Feb 12, 2023
1 parent e106cd5 commit df4fee6
Show file tree
Hide file tree
Showing 50 changed files with 13,949 additions and 0 deletions.
38 changes: 38 additions & 0 deletions anywhere.eks.amazonaws.com/awsdatacenterconfig_v1alpha1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"description": "AWSDatacenterConfig is the Schema for the AWSDatacenterConfigs API.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "AWSDatacenterConfigSpec defines the desired state of AWSDatacenterConfig.",
"properties": {
"amiID": {
"type": "string"
},
"region": {
"type": "string"
}
},
"required": [
"amiID",
"region"
],
"type": "object",
"additionalProperties": false
},
"status": {
"description": "AWSDatacenterConfigStatus defines the observed state of AWSDatacenterConfig.",
"type": "object"
}
},
"type": "object"
}
100 changes: 100 additions & 0 deletions anywhere.eks.amazonaws.com/awsiamconfig_v1alpha1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
{
"description": "AWSIamConfig is the Schema for the awsiamconfigs API.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "AWSIamConfigSpec defines the desired state of AWSIamConfig.",
"properties": {
"awsRegion": {
"description": "AWSRegion defines a region in an AWS partition",
"type": "string"
},
"backendMode": {
"description": "BackendMode defines multiple backends for aws-iam-authenticator server The server searches for mappings in order",
"items": {
"type": "string"
},
"type": "array"
},
"mapRoles": {
"items": {
"description": "MapRoles defines IAM role to a username and set of groups mapping using EKSConfigMap BackendMode.",
"properties": {
"groups": {
"items": {
"type": "string"
},
"type": "array"
},
"roleARN": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"roleARN",
"username"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"mapUsers": {
"items": {
"description": "MapUsers defines IAM role to a username and set of groups mapping using EKSConfigMap BackendMode.",
"properties": {
"groups": {
"items": {
"type": "string"
},
"type": "array"
},
"userARN": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"userARN",
"username"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"partition": {
"default": "aws",
"description": "Partition defines the AWS partition on which the IAM roles exist",
"type": "string"
}
},
"required": [
"awsRegion",
"backendMode"
],
"type": "object",
"additionalProperties": false
},
"status": {
"description": "AWSIamConfigStatus defines the observed state of AWSIamConfig.",
"type": "object"
}
},
"type": "object"
}
Loading

0 comments on commit df4fee6

Please sign in to comment.