Skip to content

Commit

Permalink
Add CRDs for ORAN Focom Operator Usecase (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
efiacor authored Feb 18, 2025
1 parent d8755bb commit 854faaf
Show file tree
Hide file tree
Showing 3 changed files with 219 additions and 0 deletions.
85 changes: 85 additions & 0 deletions config/crd/bases/focom.nephio.org_focomprovisioningrequests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
name: focomprovisioningrequests.focom.nephio.org
spec:
group: focom.nephio.org
names:
kind: FocomProvisioningRequest
listKind: FocomProvisioningRequestList
plural: focomprovisioningrequests
singular: focomprovisioningrequest
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: FocomProvisioningRequest is the Schema for the focomprovisioningrequests
API
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: FocomProvisioningRequestSpec defines the desired state of
FocomProvisioningRequest
properties:
description:
type: string
name:
type: string
oCloudId:
type: string
oCloudNamespace:
type: string
templateName:
type: string
templateParameters:
type: object
x-kubernetes-preserve-unknown-fields: true
templateVersion:
type: string
required:
- oCloudId
- oCloudNamespace
- templateName
- templateParameters
- templateVersion
type: object
status:
description: FocomProvisioningRequestStatus defines the observed state
of FocomProvisioningRequest
properties:
lastUpdated:
format: date-time
type: string
message:
type: string
phase:
type: string
remoteName:
description: The name of the remote resource in the target cluster
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
72 changes: 72 additions & 0 deletions config/crd/bases/focom.nephio.org_oclouds.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
name: oclouds.focom.nephio.org
spec:
group: focom.nephio.org
names:
kind: OCloud
listKind: OCloudList
plural: oclouds
singular: ocloud
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: OCloud is the Schema for the oclouds API
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: OCloudSpec defines the desired state of OCloud
properties:
o2imsSecret:
description: O2imsSecret references a Secret containing endpoint &
credentials
properties:
secretRef:
description: SecretRef points to the Secret with O2IMS credentials
properties:
name:
description: Name of the Secret
type: string
namespace:
description: Namespace of the Secret
type: string
required:
- name
- namespace
type: object
required:
- secretRef
type: object
required:
- o2imsSecret
type: object
status:
description: OCloudStatus defines the observed state of OCloud
type: object
type: object
served: true
storage: true
subresources:
status: {}
62 changes: 62 additions & 0 deletions config/crd/bases/provisioning.oran.org_templateinfoes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
name: templateinfoes.provisioning.oran.org
spec:
group: provisioning.oran.org
names:
kind: TemplateInfo
listKind: TemplateInfoList
plural: templateinfoes
singular: templateinfo
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: TemplateInfo is the Schema for the templateinfoes API
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: TemplateInfoSpec defines the desired state of TemplateInfo
properties:
templateName:
type: string
templateParameterSchema:
description: This is a string containing a JSON or YAML-based schema
for template parameters
type: string
templateVersion:
type: string
required:
- templateName
- templateParameterSchema
- templateVersion
type: object
status:
description: TemplateInfoStatus defines the observed state of TemplateInfo
type: object
type: object
served: true
storage: true
subresources:
status: {}

0 comments on commit 854faaf

Please sign in to comment.