Skip to content

Commit 96c8233

Browse files
authored
ack-apigateway-controller artifacts for version 1.1.0 (redhat-openshift-ecosystem#6364)
Signed-off-by: ack-bot <[email protected]> Co-authored-by: ack-bot <[email protected]>
1 parent 4730e5b commit 96c8233

16 files changed

+2684
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM scratch
2+
3+
# Core bundle labels.
4+
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
5+
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
6+
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
7+
LABEL operators.operatorframework.io.bundle.package.v1=ack-apigateway-controller
8+
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
9+
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
10+
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.28.0
11+
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
12+
LABEL operators.operatorframework.io.metrics.project_layout=unknown
13+
14+
# Labels for testing.
15+
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
16+
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
17+
18+
# Copy files to locations specified by labels.
19+
COPY bundle/manifests /manifests/
20+
COPY bundle/metadata /metadata/
21+
COPY bundle/tests/scorecard /tests/scorecard/

operators/ack-apigateway-controller/1.1.0/manifests/ack-apigateway-controller.clusterserviceversion.yaml

Lines changed: 363 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
creationTimestamp: null
5+
name: ack-apigateway-metrics-service
6+
spec:
7+
ports:
8+
- name: metricsport
9+
port: 8080
10+
protocol: TCP
11+
targetPort: http
12+
selector:
13+
app.kubernetes.io/name: ack-apigateway-controller
14+
type: NodePort
15+
status:
16+
loadBalancer: {}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: Role
3+
metadata:
4+
creationTimestamp: null
5+
name: ack-apigateway-reader
6+
rules:
7+
- apiGroups:
8+
- apigateway.services.k8s.aws
9+
resources:
10+
- apiintegrationresponses
11+
- apikeys
12+
- apimethodresponses
13+
- integrations
14+
- methods
15+
- resources
16+
- restapis
17+
- stages
18+
- vpclinks
19+
verbs:
20+
- get
21+
- list
22+
- watch
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: Role
3+
metadata:
4+
creationTimestamp: null
5+
name: ack-apigateway-writer
6+
rules:
7+
- apiGroups:
8+
- apigateway.services.k8s.aws
9+
resources:
10+
- apiintegrationresponses
11+
- apikeys
12+
- apimethodresponses
13+
- integrations
14+
- methods
15+
- resources
16+
- restapis
17+
- stages
18+
- vpclinks
19+
verbs:
20+
- create
21+
- delete
22+
- get
23+
- list
24+
- patch
25+
- update
26+
- watch
27+
- apiGroups:
28+
- apigateway.services.k8s.aws
29+
resources:
30+
- apiintegrationresponses
31+
- apikeys
32+
- apimethodresponses
33+
- integrations
34+
- methods
35+
- resources
36+
- restapis
37+
- stages
38+
- vpclinks
39+
verbs:
40+
- get
41+
- patch
42+
- update
Lines changed: 219 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,219 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.16.2
6+
creationTimestamp: null
7+
name: apiintegrationresponses.apigateway.services.k8s.aws
8+
spec:
9+
group: apigateway.services.k8s.aws
10+
names:
11+
kind: APIIntegrationResponse
12+
listKind: APIIntegrationResponseList
13+
plural: apiintegrationresponses
14+
singular: apiintegrationresponse
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: APIIntegrationResponse is the Schema for the APIIntegrationResponses
21+
API
22+
properties:
23+
apiVersion:
24+
description: |-
25+
APIVersion defines the versioned schema of this representation of an object.
26+
Servers should convert recognized schemas to the latest internal value, and
27+
may reject unrecognized values.
28+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
29+
type: string
30+
kind:
31+
description: |-
32+
Kind is a string value representing the REST resource this object represents.
33+
Servers may infer this from the endpoint the client submits requests to.
34+
Cannot be updated.
35+
In CamelCase.
36+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
37+
type: string
38+
metadata:
39+
type: object
40+
spec:
41+
description: ApiIntegrationResponseSpec defines the desired state of ApiIntegrationResponse.
42+
properties:
43+
contentHandling:
44+
description: |-
45+
Specifies how to handle response payload content type conversions. Supported
46+
values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:
47+
48+
If this property is not defined, the response payload will be passed through
49+
from the integration response to the method response without modification.
50+
type: string
51+
httpMethod:
52+
description: Specifies a put integration response request's HTTP method.
53+
type: string
54+
x-kubernetes-validations:
55+
- message: Value is immutable once set
56+
rule: self == oldSelf
57+
resourceID:
58+
description: Specifies a put integration response request's resource
59+
identifier.
60+
type: string
61+
x-kubernetes-validations:
62+
- message: Value is immutable once set
63+
rule: self == oldSelf
64+
resourceRef:
65+
description: "AWSResourceReferenceWrapper provides a wrapper around
66+
*AWSResourceReference\ntype to provide more user friendly syntax
67+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
68+
\ name: my-api"
69+
properties:
70+
from:
71+
description: |-
72+
AWSResourceReference provides all the values necessary to reference another
73+
k8s resource for finding the identifier(Id/ARN/Name)
74+
properties:
75+
name:
76+
type: string
77+
namespace:
78+
type: string
79+
type: object
80+
type: object
81+
responseParameters:
82+
additionalProperties:
83+
type: string
84+
description: |-
85+
A key-value map specifying response parameters that are passed to the method
86+
response from the back end. The key is a method response header parameter
87+
name and the mapped value is an integration response header value, a static
88+
value enclosed within a pair of single quotes, or a JSON expression from
89+
the integration response body. The mapping key must match the pattern of
90+
method.response.header.{name}, where name is a valid and unique header name.
91+
The mapped non-static value must match the pattern of integration.response.header.{name}
92+
or integration.response.body.{JSON-expression}, where name must be a valid
93+
and unique response header name and JSON-expression a valid JSON expression
94+
without the $ prefix.
95+
type: object
96+
responseTemplates:
97+
additionalProperties:
98+
type: string
99+
description: Specifies a put integration response's templates.
100+
type: object
101+
restAPIID:
102+
description: The string identifier of the associated RestApi.
103+
type: string
104+
x-kubernetes-validations:
105+
- message: Value is immutable once set
106+
rule: self == oldSelf
107+
restAPIRef:
108+
description: "AWSResourceReferenceWrapper provides a wrapper around
109+
*AWSResourceReference\ntype to provide more user friendly syntax
110+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
111+
\ name: my-api"
112+
properties:
113+
from:
114+
description: |-
115+
AWSResourceReference provides all the values necessary to reference another
116+
k8s resource for finding the identifier(Id/ARN/Name)
117+
properties:
118+
name:
119+
type: string
120+
namespace:
121+
type: string
122+
type: object
123+
type: object
124+
selectionPattern:
125+
description: Specifies the selection pattern of a put integration
126+
response.
127+
type: string
128+
statusCode:
129+
description: |-
130+
Specifies the status code that is used to map the integration response to
131+
an existing MethodResponse.
132+
type: string
133+
x-kubernetes-validations:
134+
- message: Value is immutable once set
135+
rule: self == oldSelf
136+
required:
137+
- httpMethod
138+
- statusCode
139+
type: object
140+
status:
141+
description: APIIntegrationResponseStatus defines the observed state of
142+
APIIntegrationResponse
143+
properties:
144+
ackResourceMetadata:
145+
description: |-
146+
All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
147+
that is used to contain resource sync state, account ownership,
148+
constructed ARN for the resource
149+
properties:
150+
arn:
151+
description: |-
152+
ARN is the Amazon Resource Name for the resource. This is a
153+
globally-unique identifier and is set only by the ACK service controller
154+
once the controller has orchestrated the creation of the resource OR
155+
when it has verified that an "adopted" resource (a resource where the
156+
ARN annotation was set by the Kubernetes user on the CR) exists and
157+
matches the supplied CR's Spec field values.
158+
https://github.com/aws/aws-controllers-k8s/issues/270
159+
type: string
160+
ownerAccountID:
161+
description: |-
162+
OwnerAccountID is the AWS Account ID of the account that owns the
163+
backend AWS service API resource.
164+
type: string
165+
region:
166+
description: Region is the AWS region in which the resource exists
167+
or will exist.
168+
type: string
169+
required:
170+
- ownerAccountID
171+
- region
172+
type: object
173+
conditions:
174+
description: |-
175+
All CRs managed by ACK have a common `Status.Conditions` member that
176+
contains a collection of `ackv1alpha1.Condition` objects that describe
177+
the various terminal states of the CR and its backend AWS service API
178+
resource
179+
items:
180+
description: |-
181+
Condition is the common struct used by all CRDs managed by ACK service
182+
controllers to indicate terminal states of the CR and its backend AWS
183+
service API resource
184+
properties:
185+
lastTransitionTime:
186+
description: Last time the condition transitioned from one status
187+
to another.
188+
format: date-time
189+
type: string
190+
message:
191+
description: A human readable message indicating details about
192+
the transition.
193+
type: string
194+
reason:
195+
description: The reason for the condition's last transition.
196+
type: string
197+
status:
198+
description: Status of the condition, one of True, False, Unknown.
199+
type: string
200+
type:
201+
description: Type is the type of the Condition
202+
type: string
203+
required:
204+
- status
205+
- type
206+
type: object
207+
type: array
208+
type: object
209+
type: object
210+
served: true
211+
storage: true
212+
subresources:
213+
status: {}
214+
status:
215+
acceptedNames:
216+
kind: ""
217+
plural: ""
218+
conditions: null
219+
storedVersions: null

0 commit comments

Comments
 (0)