Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
Signed-off-by: Venkata Gunapati <[email protected]>
  • Loading branch information
vgunapati committed Apr 1, 2023
1 parent 3404c93 commit 4dde850
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 25 deletions.
31 changes: 9 additions & 22 deletions config/crd/bases/instancemgr.keikoproj.io_instancegroups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,10 @@ spec:
description: InstanceGroup is the Schema for the instancegroups 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
Expand Down Expand Up @@ -207,27 +203,20 @@ spec:
type: array
taints:
items:
description: The node this Taint is attached to has the
"effect" on any pod that does not tolerate the Taint.
description: The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.
properties:
effect:
description: Required. The effect of the taint on pods
that do not tolerate the taint. Valid effects are
NoSchedule, PreferNoSchedule and NoExecute.
description: Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
type: string
key:
description: Required. The taint key to be applied to
a node.
description: Required. The taint key to be applied to a node.
type: string
timeAdded:
description: TimeAdded represents the time at which
the taint was added. It is only written for NoExecute
taints.
description: TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.
format: date-time
type: string
value:
description: The taint value corresponding to the taint
key.
description: The taint value corresponding to the taint key.
type: string
required:
- effect
Expand Down Expand Up @@ -393,8 +382,7 @@ spec:
provisioner:
type: string
strategy:
description: AwsUpgradeStrategy defines the upgrade strategy of an
AWS Instance Group
description: AwsUpgradeStrategy defines the upgrade strategy of an AWS Instance Group
properties:
crd:
properties:
Expand Down Expand Up @@ -436,8 +424,7 @@ spec:
type: string
conditions:
items:
description: InstanceGroupConditions describes the conditions of
the InstanceGroup
description: InstanceGroupConditions describes the conditions of the InstanceGroup
properties:
status:
type: string
Expand Down
3 changes: 0 additions & 3 deletions controllers/providers/aws/constructors.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ limitations under the License.
package aws

import (
"fmt"

"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/autoscaling"
"github.com/aws/aws-sdk-go/service/ec2"
Expand Down Expand Up @@ -52,7 +50,6 @@ func (w *AwsWorker) GetAutoScalingBasicBlockDevice(name, volType, snapshot strin
if !common.StringEmpty(snapshot) {
device.Ebs.SnapshotId = aws.String(snapshot)
}
fmt.Printf("%+v\n", device)
return device
}

Expand Down

0 comments on commit 4dde850

Please sign in to comment.