Skip to content

Commit 854faaf

Browse files
authored
Add CRDs for ORAN Focom Operator Usecase (#67)
nephio-project/nephio#762
1 parent d8755bb commit 854faaf

File tree

3 files changed

+219
-0
lines changed

3 files changed

+219
-0
lines changed
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.16.1
7+
name: focomprovisioningrequests.focom.nephio.org
8+
spec:
9+
group: focom.nephio.org
10+
names:
11+
kind: FocomProvisioningRequest
12+
listKind: FocomProvisioningRequestList
13+
plural: focomprovisioningrequests
14+
singular: focomprovisioningrequest
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: FocomProvisioningRequest is the Schema for the focomprovisioningrequests
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: FocomProvisioningRequestSpec defines the desired state of
42+
FocomProvisioningRequest
43+
properties:
44+
description:
45+
type: string
46+
name:
47+
type: string
48+
oCloudId:
49+
type: string
50+
oCloudNamespace:
51+
type: string
52+
templateName:
53+
type: string
54+
templateParameters:
55+
type: object
56+
x-kubernetes-preserve-unknown-fields: true
57+
templateVersion:
58+
type: string
59+
required:
60+
- oCloudId
61+
- oCloudNamespace
62+
- templateName
63+
- templateParameters
64+
- templateVersion
65+
type: object
66+
status:
67+
description: FocomProvisioningRequestStatus defines the observed state
68+
of FocomProvisioningRequest
69+
properties:
70+
lastUpdated:
71+
format: date-time
72+
type: string
73+
message:
74+
type: string
75+
phase:
76+
type: string
77+
remoteName:
78+
description: The name of the remote resource in the target cluster
79+
type: string
80+
type: object
81+
type: object
82+
served: true
83+
storage: true
84+
subresources:
85+
status: {}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.16.1
7+
name: oclouds.focom.nephio.org
8+
spec:
9+
group: focom.nephio.org
10+
names:
11+
kind: OCloud
12+
listKind: OCloudList
13+
plural: oclouds
14+
singular: ocloud
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: OCloud is the Schema for the oclouds API
21+
properties:
22+
apiVersion:
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28+
type: string
29+
kind:
30+
description: |-
31+
Kind is a string value representing the REST resource this object represents.
32+
Servers may infer this from the endpoint the client submits requests to.
33+
Cannot be updated.
34+
In CamelCase.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36+
type: string
37+
metadata:
38+
type: object
39+
spec:
40+
description: OCloudSpec defines the desired state of OCloud
41+
properties:
42+
o2imsSecret:
43+
description: O2imsSecret references a Secret containing endpoint &
44+
credentials
45+
properties:
46+
secretRef:
47+
description: SecretRef points to the Secret with O2IMS credentials
48+
properties:
49+
name:
50+
description: Name of the Secret
51+
type: string
52+
namespace:
53+
description: Namespace of the Secret
54+
type: string
55+
required:
56+
- name
57+
- namespace
58+
type: object
59+
required:
60+
- secretRef
61+
type: object
62+
required:
63+
- o2imsSecret
64+
type: object
65+
status:
66+
description: OCloudStatus defines the observed state of OCloud
67+
type: object
68+
type: object
69+
served: true
70+
storage: true
71+
subresources:
72+
status: {}
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.16.1
7+
name: templateinfoes.provisioning.oran.org
8+
spec:
9+
group: provisioning.oran.org
10+
names:
11+
kind: TemplateInfo
12+
listKind: TemplateInfoList
13+
plural: templateinfoes
14+
singular: templateinfo
15+
scope: Namespaced
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: TemplateInfo is the Schema for the templateinfoes API
21+
properties:
22+
apiVersion:
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28+
type: string
29+
kind:
30+
description: |-
31+
Kind is a string value representing the REST resource this object represents.
32+
Servers may infer this from the endpoint the client submits requests to.
33+
Cannot be updated.
34+
In CamelCase.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36+
type: string
37+
metadata:
38+
type: object
39+
spec:
40+
description: TemplateInfoSpec defines the desired state of TemplateInfo
41+
properties:
42+
templateName:
43+
type: string
44+
templateParameterSchema:
45+
description: This is a string containing a JSON or YAML-based schema
46+
for template parameters
47+
type: string
48+
templateVersion:
49+
type: string
50+
required:
51+
- templateName
52+
- templateParameterSchema
53+
- templateVersion
54+
type: object
55+
status:
56+
description: TemplateInfoStatus defines the observed state of TemplateInfo
57+
type: object
58+
type: object
59+
served: true
60+
storage: true
61+
subresources:
62+
status: {}

0 commit comments

Comments
 (0)