-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f79959d
commit 05c0c9f
Showing
4 changed files
with
24 additions
and
59 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,4 +1,3 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
|
@@ -18,30 +17,18 @@ spec: | |
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .status.id | ||
name: Cluster Id | ||
type: string | ||
- jsonPath: .spec.name | ||
name: Cluster Name | ||
type: string | ||
- jsonPath: .spec.region | ||
name: Region | ||
type: string | ||
- jsonPath: .status.eksCluster.status | ||
name: Status | ||
name: Cluster Status | ||
type: string | ||
- jsonPath: .status.eksCluster.kubernetesVersion | ||
name: Kubernetes Version | ||
type: string | ||
- jsonPath: .status.eksCluster.platformVersion | ||
name: Platform Version | ||
type: string | ||
- jsonPath: .status.lastUpdatedTimestamp | ||
name: Last Updated | ||
type: date | ||
- jsonPath: .status.lastPollInfo.timestamp | ||
name: Last Polled | ||
type: date | ||
- jsonPath: .status.lastPollInfo.status | ||
name: Last Polled Status | ||
type: string | ||
|
@@ -51,23 +38,21 @@ spec: | |
description: AWSAdapterConfig is the Schema for the awsadapterconfigs 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' | ||
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' | ||
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: AWSAdapterConfigSpec defines the desired state of AWSAdapterConfig | ||
properties: | ||
name: | ||
description: EKS cluster's name | ||
type: string | ||
region: | ||
description: EKS cluster's region | ||
type: string | ||
required: | ||
- name | ||
|
@@ -77,7 +62,7 @@ spec: | |
description: AWSAdapterConfigStatus defines the observed state of AWSAdapterConfig | ||
properties: | ||
eksCluster: | ||
description: Contains the EKS cluster's details | ||
description: 'EKS cluster details fetched from AWS For details of individual fields, refer to AWS SDK docs: https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/[email protected]/types#Cluster' | ||
properties: | ||
addons: | ||
items: | ||
|
@@ -88,16 +73,15 @@ spec: | |
certificate: | ||
type: string | ||
compute: | ||
description: Contains node groups and fargate profiles of the | ||
EKS cluster | ||
description: EKSCompute contains node groups and fargate profiles of the EKS cluster | ||
properties: | ||
fargateProfiles: | ||
items: | ||
type: string | ||
type: array | ||
nodeGroups: | ||
items: | ||
description: Contains info of the EKS cluster's node group | ||
description: EKSNodeGroup contains info of the EKS cluster's node group | ||
properties: | ||
amiReleaseVersion: | ||
type: string | ||
|
@@ -112,8 +96,7 @@ spec: | |
type: integer | ||
healthIssues: | ||
items: | ||
description: Contains info of any health issue in | ||
the EKS cluster's node group | ||
description: EKSNodeGroupHealthIssue contains info of any health issue in the EKS cluster's node group | ||
properties: | ||
code: | ||
type: string | ||
|
@@ -134,8 +117,7 @@ spec: | |
type: string | ||
type: object | ||
launchTemplate: | ||
description: Contains launch template info the EKS cluster's | ||
node group | ||
description: EC2LaunchTemplate contains launch template info the EKS cluster's node group | ||
properties: | ||
id: | ||
type: string | ||
|
@@ -151,8 +133,7 @@ spec: | |
nodeRole: | ||
type: string | ||
remoteAccessConfig: | ||
description: Contains remote access configuration of | ||
the EKS cluster's node group | ||
description: EKSNodeGroupRemoteAccessConfig contains remote access configuration of the EKS cluster's node group | ||
properties: | ||
ec2SSHKey: | ||
type: string | ||
|
@@ -162,8 +143,7 @@ spec: | |
type: array | ||
type: object | ||
resources: | ||
description: Contains info of ASG and remote access | ||
SG for node group | ||
description: EKSNodeGroupResources contains info of ASG and remote access SG for node group | ||
properties: | ||
autoScalingGroups: | ||
items: | ||
|
@@ -173,8 +153,7 @@ spec: | |
type: string | ||
type: object | ||
scalingConfig: | ||
description: Contains scaling configuration of the | ||
EKS cluster's node group | ||
description: EKSNodeGroupScalingConfig contains scaling configuration of the EKS cluster's node group | ||
properties: | ||
desiredSize: | ||
format: int32 | ||
|
@@ -198,8 +177,7 @@ spec: | |
type: object | ||
taints: | ||
items: | ||
description: Contains info of taints in the EKS cluster's | ||
node group | ||
description: EKSNodeGroupTaint contains info of taints in the EKS cluster's node group | ||
properties: | ||
effect: | ||
type: string | ||
|
@@ -210,8 +188,7 @@ spec: | |
type: object | ||
type: array | ||
updateConfig: | ||
description: Contains number/percentage of node groups | ||
that can be updated in parallel | ||
description: EKSNodeGroupUpdateConfig contains number/percentage of node groups that can be updated in parallel | ||
properties: | ||
maxUnavailable: | ||
format: int32 | ||
|
@@ -227,7 +204,7 @@ spec: | |
type: string | ||
encryptionConfig: | ||
items: | ||
description: Contains encryption configuration of the EKS cluster | ||
description: EKSEncryptionConfig contains encryption configuration of the EKS cluster | ||
properties: | ||
keyARN: | ||
type: string | ||
|
@@ -248,7 +225,7 @@ spec: | |
kubernetesVersion: | ||
type: string | ||
logging: | ||
description: Contains info of which logs are enabled | ||
description: EKSLogging contains info of which logs are enabled | ||
properties: | ||
apiServer: | ||
type: boolean | ||
|
@@ -264,7 +241,7 @@ spec: | |
name: | ||
type: string | ||
networking: | ||
description: Contains networking configuration of the EKS cluster | ||
description: EKSNetworking contains networking configuration of the EKS cluster | ||
properties: | ||
ipFamily: | ||
type: string | ||
|
@@ -273,7 +250,7 @@ spec: | |
serviceIPv6CIDR: | ||
type: string | ||
vpc: | ||
description: Contains VPC configuration of the EKS cluster | ||
description: EKSVpcConfig contains VPC configuration of the EKS cluster | ||
properties: | ||
clusterSecurityGroupID: | ||
type: string | ||
|
@@ -317,11 +294,10 @@ spec: | |
- status | ||
type: object | ||
lastPollInfo: | ||
description: Contains Timestamp, Status and Failure info of last poll | ||
description: Information on when the adapter last tried to fetch the EKS cluster details | ||
properties: | ||
failure: | ||
description: Contains the Error and relevant Message if got Failure | ||
in last poll | ||
description: PollFailure contains the Error and relevant Message if got Failure in last poll | ||
properties: | ||
error: | ||
type: string | ||
|
@@ -338,9 +314,7 @@ spec: | |
type: string | ||
type: object | ||
lastUpdatedTimestamp: | ||
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state | ||
of cluster Important: Run "make" to regenerate code after modifying | ||
this file' | ||
description: Timestamp when the Status was last updated | ||
format: date-time | ||
type: string | ||
required: | ||
|