Skip to content

Commit d6b04f0

Browse files
add crds to operator chart
1 parent bb2c835 commit d6b04f0

11 files changed

+2652
-1
lines changed

charts/plural-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: plural-operator
33
description: A Helm chart for deploying the v1 plural operator, which is primarily responsible for managing our oauth proxy injector admission controller.
44
type: application
5-
version: 0.1.0
5+
version: 0.1.1
66
appVersion: "1.16.0"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.9.2
6+
creationTimestamp: null
7+
name: configurationoverlays.platform.plural.sh
8+
spec:
9+
group: platform.plural.sh
10+
names:
11+
kind: ConfigurationOverlay
12+
listKind: ConfigurationOverlayList
13+
plural: configurationoverlays
14+
singular: configurationoverlay
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: ConfigurationOverlay is the Schema for the configurationoverlays
21+
API
22+
properties:
23+
apiVersion:
24+
description: 'APIVersion defines the versioned schema of this representation
25+
of an object. Servers should convert recognized schemas to the latest
26+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
27+
type: string
28+
kind:
29+
description: 'Kind is a string value representing the REST resource this
30+
object represents. Servers may infer this from the endpoint the client
31+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
32+
type: string
33+
metadata:
34+
type: object
35+
spec:
36+
description: ConfigurationOverlaySpec defines the desired state of ConfigurationOverlay
37+
properties:
38+
documentation:
39+
description: documentation for the specific field
40+
type: string
41+
folder:
42+
description: Top level folder this overlay should live in, default
43+
is "general"
44+
type: string
45+
inputType:
46+
description: the datatype for the value given to the input field
47+
enum:
48+
- string
49+
- enum
50+
- int
51+
- list
52+
- bool
53+
type: string
54+
inputValues:
55+
description: the values for enum input types
56+
items:
57+
type: string
58+
type: array
59+
name:
60+
description: Name of the configuration input field
61+
type: string
62+
subfolder:
63+
description: Subfolder this overlay lives in, default is "all"
64+
type: string
65+
type:
66+
description: type of configuration value
67+
enum:
68+
- helm
69+
- terraform
70+
type: string
71+
updates:
72+
description: configuration path to update against
73+
items:
74+
description: OverlayUpdate defines an update to perform for this
75+
update
76+
properties:
77+
path:
78+
description: the path to update with
79+
items:
80+
type: string
81+
type: array
82+
required:
83+
- path
84+
type: object
85+
type: array
86+
required:
87+
- documentation
88+
- name
89+
- updates
90+
type: object
91+
status:
92+
description: ConfigurationOverlayStatus defines the observed state of
93+
ConfigurationOverlay
94+
type: object
95+
type: object
96+
served: true
97+
storage: true
98+
subresources:
99+
status: {}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.9.2
6+
creationTimestamp: null
7+
name: defaultstorageclasses.platform.plural.sh
8+
spec:
9+
group: platform.plural.sh
10+
names:
11+
kind: DefaultStorageClass
12+
listKind: DefaultStorageClassList
13+
plural: defaultstorageclasses
14+
singular: defaultstorageclass
15+
scope: Cluster
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: DefaultStorageClass is the Schema for the defaultstorageclasses
21+
API
22+
properties:
23+
apiVersion:
24+
description: 'APIVersion defines the versioned schema of this representation
25+
of an object. Servers should convert recognized schemas to the latest
26+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
27+
type: string
28+
kind:
29+
description: 'Kind is a string value representing the REST resource this
30+
object represents. Servers may infer this from the endpoint the client
31+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
32+
type: string
33+
metadata:
34+
properties:
35+
name:
36+
pattern: ^default$
37+
type: string
38+
type: object
39+
spec:
40+
description: DefaultStorageClassSpec defines the desired state of DefaultStorageClass
41+
properties:
42+
name:
43+
type: string
44+
type: object
45+
status:
46+
description: DefaultStorageClassStatus defines the observed state of DefaultStorageClass
47+
type: object
48+
type: object
49+
served: true
50+
storage: true
51+
subresources:
52+
status: {}
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.9.2
6+
creationTimestamp: null
7+
name: licenses.platform.plural.sh
8+
spec:
9+
group: platform.plural.sh
10+
names:
11+
kind: License
12+
listKind: LicenseList
13+
plural: licenses
14+
singular: license
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: License is the Schema for the licenses API
21+
properties:
22+
apiVersion:
23+
description: 'APIVersion defines the versioned schema of this representation
24+
of an object. Servers should convert recognized schemas to the latest
25+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
26+
type: string
27+
kind:
28+
description: 'Kind is a string value representing the REST resource this
29+
object represents. Servers may infer this from the endpoint the client
30+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
31+
type: string
32+
metadata:
33+
type: object
34+
spec:
35+
description: LicenseSpec defines the desired state of License
36+
properties:
37+
secretRef:
38+
description: the reference to a secret containing your license key
39+
properties:
40+
key:
41+
description: The key of the secret to select from. Must be a
42+
valid secret key.
43+
type: string
44+
name:
45+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
46+
TODO: Add other useful fields. apiVersion, kind, uid?'
47+
type: string
48+
optional:
49+
description: Specify whether the Secret or its key must be defined
50+
type: boolean
51+
required:
52+
- key
53+
type: object
54+
x-kubernetes-map-type: atomic
55+
required:
56+
- secretRef
57+
type: object
58+
status:
59+
description: LicenseStatus defines the observed state of License
60+
properties:
61+
policy:
62+
description: the policy this license adheres to
63+
properties:
64+
features:
65+
description: the features allowed for this plan
66+
items:
67+
description: LicenseFeature defines a feature allowed by this
68+
license
69+
properties:
70+
description:
71+
description: description of the feature
72+
type: string
73+
name:
74+
description: the name of the feature
75+
type: string
76+
required:
77+
- description
78+
- name
79+
type: object
80+
type: array
81+
free:
82+
description: whether this is on a free plan
83+
type: boolean
84+
limits:
85+
additionalProperties:
86+
format: int64
87+
type: integer
88+
description: limits attached to this plan
89+
type: object
90+
plan:
91+
description: the plan you're on
92+
type: string
93+
required:
94+
- free
95+
type: object
96+
secrets:
97+
additionalProperties:
98+
type: string
99+
description: additional secrets attached to this license
100+
type: object
101+
required:
102+
- policy
103+
type: object
104+
type: object
105+
served: true
106+
storage: true
107+
subresources:
108+
status: {}
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.9.2
6+
creationTimestamp: null
7+
name: registrycredentials.platform.plural.sh
8+
spec:
9+
group: platform.plural.sh
10+
names:
11+
kind: RegistryCredential
12+
listKind: RegistryCredentialList
13+
plural: registrycredentials
14+
singular: registrycredential
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
properties:
21+
apiVersion:
22+
description: 'APIVersion defines the versioned schema of this representation
23+
of an object. Servers should convert recognized schemas to the latest
24+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
25+
type: string
26+
kind:
27+
description: 'Kind is a string value representing the REST resource this
28+
object represents. Servers may infer this from the endpoint the client
29+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30+
type: string
31+
metadata:
32+
type: object
33+
spec:
34+
description: RegistryCredentialSpec is a specification of registry credentials
35+
properties:
36+
email:
37+
description: Registry user email address
38+
type: string
39+
password:
40+
description: The password Secret to select from
41+
properties:
42+
key:
43+
description: Key for Secret data
44+
type: string
45+
name:
46+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
47+
TODO: Add other useful fields. apiVersion, kind, uid?'
48+
type: string
49+
required:
50+
- key
51+
type: object
52+
x-kubernetes-map-type: atomic
53+
server:
54+
description: Registry FQDN
55+
type: string
56+
username:
57+
description: Registry username
58+
type: string
59+
required:
60+
- email
61+
- password
62+
- server
63+
- username
64+
type: object
65+
status:
66+
description: RegistryCredentialStatus defines the observed state of RegistryCredential
67+
type: object
68+
required:
69+
- spec
70+
type: object
71+
served: true
72+
storage: true
73+
subresources:
74+
status: {}

0 commit comments

Comments
 (0)