Skip to content

Commit 76d729f

Browse files
authored
Adding Helm Chart (#3)
* Ran `./scripts/build-controller-release.sh ec2 v0.0.1` in code-gen * Committing this now so release-tests will pass, but the repo is NOT release ready so there will be no tag to follow
1 parent dcd55e0 commit 76d729f

12 files changed

+832
-0
lines changed

helm/Chart.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: v1
2+
name: ec2-chart
3+
description: A Helm chart for the ACK service controller for ec2
4+
version: v0.0.1
5+
appVersion: v0.0.1
6+
home: https://github.com/aws-controllers-k8s/ec2-controller
7+
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
8+
sources:
9+
- https://github.com/aws-controllers-k8s/ec2-controller
10+
maintainers:
11+
- name: ACK Admins
12+
url: https://github.com/orgs/aws-controllers-k8s/teams/ack-admin
13+
- name: ec2 Admins
14+
url: https://github.com/orgs/aws-controllers-k8s/teams/ec2-maintainer
15+
keywords:
16+
- aws
17+
- kubernetes
18+
- ec2
Lines changed: 240 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,240 @@
1+
2+
---
3+
apiVersion: apiextensions.k8s.io/v1
4+
kind: CustomResourceDefinition
5+
metadata:
6+
annotations:
7+
controller-gen.kubebuilder.io/version: v0.6.1
8+
creationTimestamp: null
9+
name: vpcs.ec2.services.k8s.aws
10+
spec:
11+
group: ec2.services.k8s.aws
12+
names:
13+
kind: VPC
14+
listKind: VPCList
15+
plural: vpcs
16+
singular: vpc
17+
scope: Namespaced
18+
versions:
19+
- name: v1alpha1
20+
schema:
21+
openAPIV3Schema:
22+
description: VPC is the Schema for the VPCS API
23+
properties:
24+
apiVersion:
25+
description: 'APIVersion defines the versioned schema of this representation
26+
of an object. Servers should convert recognized schemas to the latest
27+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
28+
type: string
29+
kind:
30+
description: 'Kind is a string value representing the REST resource this
31+
object represents. Servers may infer this from the endpoint the client
32+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
33+
type: string
34+
metadata:
35+
type: object
36+
spec:
37+
description: "VpcSpec defines the desired state of Vpc. \n Describes a
38+
VPC."
39+
properties:
40+
amazonProvidedIPv6CIDRBlock:
41+
description: Requests an Amazon-provided IPv6 CIDR block with a /56
42+
prefix length for the VPC. You cannot specify the range of IP addresses,
43+
or the size of the CIDR block.
44+
type: boolean
45+
cidrBlock:
46+
description: The IPv4 network range for the VPC, in CIDR notation.
47+
For example, 10.0.0.0/16. We modify the specified CIDR block to
48+
its canonical form; for example, if you specify 100.68.0.18/18,
49+
we modify it to 100.68.0.0/18.
50+
type: string
51+
instanceTenancy:
52+
description: "The tenancy options for instances launched into the
53+
VPC. For default, instances are launched with shared tenancy by
54+
default. You can launch instances with any tenancy into a shared
55+
tenancy VPC. For dedicated, instances are launched as dedicated
56+
tenancy instances by default. You can only launch instances with
57+
a tenancy of dedicated or host into a dedicated tenancy VPC. \n
58+
Important: The host value cannot be used with this parameter. Use
59+
the default or dedicated values only. \n Default: default"
60+
type: string
61+
ipv6CIDRBlock:
62+
description: "The IPv6 CIDR block from the IPv6 address pool. You
63+
must also specify Ipv6Pool in the request. \n To let Amazon choose
64+
the IPv6 CIDR block for you, omit this parameter."
65+
type: string
66+
ipv6CIDRBlockNetworkBorderGroup:
67+
description: "The name of the location from which we advertise the
68+
IPV6 CIDR block. Use this parameter to limit the address to this
69+
location. \n You must set AmazonProvidedIpv6CidrBlock to true to
70+
use this parameter."
71+
type: string
72+
ipv6Pool:
73+
description: The ID of an IPv6 address pool from which to allocate
74+
the IPv6 CIDR block.
75+
type: string
76+
tagSpecifications:
77+
description: The tags to assign to the VPC.
78+
items:
79+
description: The tags to apply to a resource when the resource is
80+
being created.
81+
properties:
82+
resourceType:
83+
type: string
84+
tags:
85+
items:
86+
description: Describes a tag.
87+
properties:
88+
key:
89+
type: string
90+
value:
91+
type: string
92+
type: object
93+
type: array
94+
type: object
95+
type: array
96+
required:
97+
- cidrBlock
98+
type: object
99+
status:
100+
description: VPCStatus defines the observed state of VPC
101+
properties:
102+
ackResourceMetadata:
103+
description: All CRs managed by ACK have a common `Status.ACKResourceMetadata`
104+
member that is used to contain resource sync state, account ownership,
105+
constructed ARN for the resource
106+
properties:
107+
arn:
108+
description: 'ARN is the Amazon Resource Name for the resource.
109+
This is a globally-unique identifier and is set only by the
110+
ACK service controller once the controller has orchestrated
111+
the creation of the resource OR when it has verified that an
112+
"adopted" resource (a resource where the ARN annotation was
113+
set by the Kubernetes user on the CR) exists and matches the
114+
supplied CR''s Spec field values. TODO(vijat@): Find a better
115+
strategy for resources that do not have ARN in CreateOutputResponse
116+
https://github.com/aws/aws-controllers-k8s/issues/270'
117+
type: string
118+
ownerAccountID:
119+
description: OwnerAccountID is the AWS Account ID of the account
120+
that owns the backend AWS service API resource.
121+
type: string
122+
required:
123+
- ownerAccountID
124+
type: object
125+
cidrBlockAssociationSet:
126+
description: Information about the IPv4 CIDR blocks associated with
127+
the VPC.
128+
items:
129+
description: Describes an IPv4 CIDR block associated with a VPC.
130+
properties:
131+
associationID:
132+
type: string
133+
cidrBlock:
134+
type: string
135+
cidrBlockState:
136+
description: Describes the state of a CIDR block.
137+
properties:
138+
state:
139+
type: string
140+
statusMessage:
141+
type: string
142+
type: object
143+
type: object
144+
type: array
145+
conditions:
146+
description: All CRS managed by ACK have a common `Status.Conditions`
147+
member that contains a collection of `ackv1alpha1.Condition` objects
148+
that describe the various terminal states of the CR and its backend
149+
AWS service API resource
150+
items:
151+
description: Condition is the common struct used by all CRDs managed
152+
by ACK service controllers to indicate terminal states of the
153+
CR and its backend AWS service API resource
154+
properties:
155+
lastTransitionTime:
156+
description: Last time the condition transitioned from one status
157+
to another.
158+
format: date-time
159+
type: string
160+
message:
161+
description: A human readable message indicating details about
162+
the transition.
163+
type: string
164+
reason:
165+
description: The reason for the condition's last transition.
166+
type: string
167+
status:
168+
description: Status of the condition, one of True, False, Unknown.
169+
type: string
170+
type:
171+
description: Type is the type of the Condition
172+
type: string
173+
required:
174+
- status
175+
- type
176+
type: object
177+
type: array
178+
dhcpOptionsID:
179+
description: The ID of the set of DHCP options you've associated with
180+
the VPC.
181+
type: string
182+
ipv6CIDRBlockAssociationSet:
183+
description: Information about the IPv6 CIDR blocks associated with
184+
the VPC.
185+
items:
186+
description: Describes an IPv6 CIDR block associated with a VPC.
187+
properties:
188+
associationID:
189+
type: string
190+
ipv6CIDRBlock:
191+
type: string
192+
ipv6CIDRBlockState:
193+
description: Describes the state of a CIDR block.
194+
properties:
195+
state:
196+
type: string
197+
statusMessage:
198+
type: string
199+
type: object
200+
ipv6Pool:
201+
type: string
202+
networkBorderGroup:
203+
type: string
204+
type: object
205+
type: array
206+
isDefault:
207+
description: Indicates whether the VPC is the default VPC.
208+
type: boolean
209+
ownerID:
210+
description: The ID of the AWS account that owns the VPC.
211+
type: string
212+
state:
213+
description: The current state of the VPC.
214+
type: string
215+
tags:
216+
description: Any tags assigned to the VPC.
217+
items:
218+
description: Describes a tag.
219+
properties:
220+
key:
221+
type: string
222+
value:
223+
type: string
224+
type: object
225+
type: array
226+
vpcID:
227+
description: The ID of the VPC.
228+
type: string
229+
type: object
230+
type: object
231+
served: true
232+
storage: true
233+
subresources:
234+
status: {}
235+
status:
236+
acceptedNames:
237+
kind: ""
238+
plural: ""
239+
conditions: []
240+
storedVersions: []

0 commit comments

Comments
 (0)