Skip to content

Commit 0862007

Browse files
authored
Add kubernetes-operator chart files (#12)
1 parent 2b042fa commit 0862007

File tree

10 files changed

+628
-0
lines changed

10 files changed

+628
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: v2
2+
name: kubernetes-operator
3+
description: The Formal Kubernetes Operator automatically registers in-cluster services as Formal resources with fully working connection paths.
4+
type: application
5+
version: 0.1.0
Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.20.1
7+
name: formallisteners.joinformal.com
8+
spec:
9+
group: joinformal.com
10+
names:
11+
kind: FormalListener
12+
listKind: FormalListenerList
13+
plural: formallisteners
14+
singular: formallistener
15+
scope: Namespaced
16+
versions:
17+
- name: v1
18+
schema:
19+
openAPIV3Schema:
20+
properties:
21+
apiVersion:
22+
description: |-
23+
APIVersion defines the versioned schema of this representation of an object.
24+
Servers should convert recognized schemas to the latest internal value, and
25+
may reject unrecognized values.
26+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
27+
type: string
28+
kind:
29+
description: |-
30+
Kind is a string value representing the REST resource this object represents.
31+
Servers may infer this from the endpoint the client submits requests to.
32+
Cannot be updated.
33+
In CamelCase.
34+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
35+
type: string
36+
metadata:
37+
type: object
38+
spec:
39+
properties:
40+
connectorId:
41+
type: string
42+
name:
43+
type: string
44+
port:
45+
format: int32
46+
type: integer
47+
rules:
48+
items:
49+
properties:
50+
resourceRef:
51+
type: string
52+
technology:
53+
type: string
54+
type:
55+
type: string
56+
required:
57+
- type
58+
type: object
59+
type: array
60+
required:
61+
- connectorId
62+
- name
63+
- port
64+
type: object
65+
status:
66+
properties:
67+
conditions:
68+
items:
69+
description: Condition contains details for one aspect of the current
70+
state of this API Resource.
71+
properties:
72+
lastTransitionTime:
73+
description: |-
74+
lastTransitionTime is the last time the condition transitioned from one status to another.
75+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
76+
format: date-time
77+
type: string
78+
message:
79+
description: |-
80+
message is a human readable message indicating details about the transition.
81+
This may be an empty string.
82+
maxLength: 32768
83+
type: string
84+
observedGeneration:
85+
description: |-
86+
observedGeneration represents the .metadata.generation that the condition was set based upon.
87+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
88+
with respect to the current state of the instance.
89+
format: int64
90+
minimum: 0
91+
type: integer
92+
reason:
93+
description: |-
94+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
95+
Producers of specific condition types may define expected values and meanings for this field,
96+
and whether the values are considered a guaranteed API.
97+
The value should be a CamelCase string.
98+
This field may not be empty.
99+
maxLength: 1024
100+
minLength: 1
101+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
102+
type: string
103+
status:
104+
description: status of the condition, one of True, False, Unknown.
105+
enum:
106+
- "True"
107+
- "False"
108+
- Unknown
109+
type: string
110+
type:
111+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
112+
maxLength: 316
113+
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
114+
type: string
115+
required:
116+
- lastTransitionTime
117+
- message
118+
- reason
119+
- status
120+
- type
121+
type: object
122+
type: array
123+
listenerId:
124+
type: string
125+
rules:
126+
items:
127+
properties:
128+
id:
129+
type: string
130+
rule:
131+
type: string
132+
type:
133+
type: string
134+
required:
135+
- id
136+
- rule
137+
- type
138+
type: object
139+
type: array
140+
type: object
141+
type: object
142+
served: true
143+
storage: true
144+
subresources:
145+
status: {}
Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.20.1
7+
name: formalnativeusers.joinformal.com
8+
spec:
9+
group: joinformal.com
10+
names:
11+
kind: FormalNativeUser
12+
listKind: FormalNativeUserList
13+
plural: formalnativeusers
14+
singular: formalnativeuser
15+
scope: Namespaced
16+
versions:
17+
- name: v1
18+
schema:
19+
openAPIV3Schema:
20+
properties:
21+
apiVersion:
22+
description: |-
23+
APIVersion defines the versioned schema of this representation of an object.
24+
Servers should convert recognized schemas to the latest internal value, and
25+
may reject unrecognized values.
26+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
27+
type: string
28+
kind:
29+
description: |-
30+
Kind is a string value representing the REST resource this object represents.
31+
Servers may infer this from the endpoint the client submits requests to.
32+
Cannot be updated.
33+
In CamelCase.
34+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
35+
type: string
36+
metadata:
37+
type: object
38+
spec:
39+
properties:
40+
iam:
41+
properties:
42+
cloudProvider:
43+
type: string
44+
role:
45+
type: string
46+
username:
47+
type: string
48+
required:
49+
- cloudProvider
50+
- username
51+
type: object
52+
resourceRef:
53+
type: string
54+
secretRef:
55+
properties:
56+
keys:
57+
additionalProperties:
58+
type: string
59+
type: object
60+
name:
61+
type: string
62+
required:
63+
- keys
64+
- name
65+
type: object
66+
sshKey:
67+
properties:
68+
secretRef:
69+
properties:
70+
key:
71+
type: string
72+
name:
73+
type: string
74+
required:
75+
- key
76+
- name
77+
type: object
78+
username:
79+
type: string
80+
required:
81+
- secretRef
82+
- username
83+
type: object
84+
type:
85+
type: string
86+
useAsDefault:
87+
type: boolean
88+
required:
89+
- resourceRef
90+
- type
91+
type: object
92+
status:
93+
properties:
94+
conditions:
95+
items:
96+
description: Condition contains details for one aspect of the current
97+
state of this API Resource.
98+
properties:
99+
lastTransitionTime:
100+
description: |-
101+
lastTransitionTime is the last time the condition transitioned from one status to another.
102+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
103+
format: date-time
104+
type: string
105+
message:
106+
description: |-
107+
message is a human readable message indicating details about the transition.
108+
This may be an empty string.
109+
maxLength: 32768
110+
type: string
111+
observedGeneration:
112+
description: |-
113+
observedGeneration represents the .metadata.generation that the condition was set based upon.
114+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
115+
with respect to the current state of the instance.
116+
format: int64
117+
minimum: 0
118+
type: integer
119+
reason:
120+
description: |-
121+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
122+
Producers of specific condition types may define expected values and meanings for this field,
123+
and whether the values are considered a guaranteed API.
124+
The value should be a CamelCase string.
125+
This field may not be empty.
126+
maxLength: 1024
127+
minLength: 1
128+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
129+
type: string
130+
status:
131+
description: status of the condition, one of True, False, Unknown.
132+
enum:
133+
- "True"
134+
- "False"
135+
- Unknown
136+
type: string
137+
type:
138+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
139+
maxLength: 316
140+
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
141+
type: string
142+
required:
143+
- lastTransitionTime
144+
- message
145+
- reason
146+
- status
147+
- type
148+
type: object
149+
type: array
150+
nativeUserId:
151+
type: string
152+
type: object
153+
type: object
154+
served: true
155+
storage: true
156+
subresources:
157+
status: {}

0 commit comments

Comments
 (0)