Skip to content

Commit

Permalink
bump(charts): bump robot-operator chart to v0.2.6-alpha.14.8
Browse files Browse the repository at this point in the history
  • Loading branch information
tunahanertekin authored and github-actions[bot] committed Jan 2, 2024
1 parent ae22919 commit 981c8ba
Show file tree
Hide file tree
Showing 9 changed files with 891 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/robot-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.6-alpha.14.7
version: 0.2.6-alpha.14.8
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v0.2.6-alpha.14.7"
appVersion: "v0.2.6-alpha.14.8"
26 changes: 26 additions & 0 deletions charts/robot-operator/templates/manager-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,32 @@ rules:
- get
- patch
- update
- apiGroups:
- robot.roboscale.io
resources:
- notebooks
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- robot.roboscale.io
resources:
- notebooks/finalizers
verbs:
- update
- apiGroups:
- robot.roboscale.io
resources:
- notebooks/status
verbs:
- get
- patch
- update
- apiGroups:
- robot.roboscale.io
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,26 @@ metadata:
labels:
{{- include "robot-operator.labels" . | nindent 4 }}
webhooks:
- admissionReviewVersions:
- v1
clientConfig:
service:
name: '{{ include "robot-operator.fullname" . }}-webhook-service'
namespace: '{{ .Release.Namespace }}'
path: /mutate-robot-roboscale-io-v1alpha1-notebook
failurePolicy: Fail
name: mnotebook.kb.io
rules:
- apiGroups:
- robot.roboscale.io
apiVersions:
- v1alpha1
operations:
- CREATE
- UPDATE
resources:
- notebooks
sideEffects: None
- admissionReviewVersions:
- v1
clientConfig:
Expand Down
474 changes: 474 additions & 0 deletions charts/robot-operator/templates/notebook-crd.yaml

Large diffs are not rendered by default.

183 changes: 183 additions & 0 deletions charts/robot-operator/templates/robot-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,59 @@ spec:
description: If `true`, a Cloud IDE will be provisioned inside development
suite.
type: boolean
notebookEnabled:
description: If `true`, a Notebook will be provisioned inside development
suite.
type: boolean
notebookTemplate:
description: Configurational parameters of Notebook. Applied if
`.spec.notebookEnabled` is set to `true`.
properties:
display:
description: Notebook connects an X11 socket if it's set to
`true` and a target Notebook resource is set in labels with
key `robolaunch.io/target-vdi`. Applications that requires
GUI can be executed such as VLC.
type: boolean
ingress:
description: '[*alpha*] Notebook will create an Ingress resource
if `true`.'
type: boolean
privileged:
description: If `true`, containers of Notebook will be privileged
containers. It can be used in physical instances where it's
necessary to access I/O devices on the host machine. Not recommended
to activate this field on cloud instances.
type: boolean
resources:
description: Resource limitations of Notebook.
properties:
cpu:
description: CPU resource limit.
pattern: ^([0-9])+(m)$
type: string
gpuCore:
description: GPU core number that will be allocated.
type: integer
gpuInstance:
default: nvidia.com/gpu
description: GPU instance that will be allocated. eg. nvidia.com/mig-1g.5gb.
Defaults to "nvidia.com/gpu".
type: string
memory:
description: Memory resource limit.
pattern: ^([0-9])+(Mi|Gi)$
type: string
type: object
serviceType:
default: NodePort
description: Service type of Notebook. `ClusterIP` and `NodePort`
is supported.
enum:
- ClusterIP
- NodePort
type: string
type: object
remoteIDEEnabled:
description: If `true`, a relay server for remote Cloud IDE will
be provisioned inside development suite.
Expand Down Expand Up @@ -949,6 +1002,73 @@ spec:
description: '[*alpha*] Indicates if RobotDevSuite is attached
to a Robot and actively provisioned it''s resources.'
type: boolean
notebookStatus:
description: Status of Notebook.
properties:
connections:
additionalProperties:
type: string
description: Address of the robot service that can be
reached from outside.
type: object
resource:
description: Generic status for any owned resource.
properties:
created:
description: Shows if the owned resource is created.
type: boolean
phase:
description: Phase of the owned resource.
type: string
reference:
description: Reference to the owned resource.
properties:
apiVersion:
description: API version of the referent.
type: string
fieldPath:
description: 'If referring to a piece of an object
instead of an entire object, this string should
contain a valid JSON/Go field access statement,
such as desiredState.manifest.containers[2].
For example, if the object reference is to a
container within a pod, this would take on a
value like: "spec.containers{name}" (where "name"
refers to the name of the container that triggered
the event) or if no container name is specified
"spec.containers[2]" (container with index 2
in this pod). This syntax is chosen only to
have some well-defined way of referencing a
part of an object. TODO: this design is not
final and this field is subject to change in
the future.'
type: string
kind:
description: 'Kind of the referent. More info:
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
name:
description: 'Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
type: string
namespace:
description: 'Namespace of the referent. More
info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
type: string
resourceVersion:
description: 'Specific resourceVersion to which
this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
type: string
uid:
description: 'UID of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
type: string
type: object
x-kubernetes-map-type: atomic
required:
- created
type: object
type: object
phase:
description: Phase of RobotDevSuite.
type: string
Expand Down Expand Up @@ -1952,6 +2072,69 @@ spec:
description: '[*alpha*] Indicates if RobotDevSuite is attached
to a Robot and actively provisioned it''s resources.'
type: boolean
notebookStatus:
description: Status of Notebook.
properties:
connections:
additionalProperties:
type: string
description: Address of the robot service that can be reached
from outside.
type: object
resource:
description: Generic status for any owned resource.
properties:
created:
description: Shows if the owned resource is created.
type: boolean
phase:
description: Phase of the owned resource.
type: string
reference:
description: Reference to the owned resource.
properties:
apiVersion:
description: API version of the referent.
type: string
fieldPath:
description: 'If referring to a piece of an object
instead of an entire object, this string should
contain a valid JSON/Go field access statement,
such as desiredState.manifest.containers[2]. For
example, if the object reference is to a container
within a pod, this would take on a value like:
"spec.containers{name}" (where "name" refers to
the name of the container that triggered the event)
or if no container name is specified "spec.containers[2]"
(container with index 2 in this pod). This syntax
is chosen only to have some well-defined way of
referencing a part of an object. TODO: this design
is not final and this field is subject to change
in the future.'
type: string
kind:
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
type: string
namespace:
description: 'Namespace of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
type: string
resourceVersion:
description: 'Specific resourceVersion to which
this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
type: string
uid:
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
type: string
type: object
x-kubernetes-map-type: atomic
required:
- created
type: object
type: object
phase:
description: Phase of RobotDevSuite.
type: string
Expand Down
53 changes: 53 additions & 0 deletions charts/robot-operator/templates/robotartifact-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,59 @@ spec:
description: If `true`, a Cloud IDE will be provisioned inside development
suite.
type: boolean
notebookEnabled:
description: If `true`, a Notebook will be provisioned inside development
suite.
type: boolean
notebookTemplate:
description: Configurational parameters of Notebook. Applied if
`.spec.notebookEnabled` is set to `true`.
properties:
display:
description: Notebook connects an X11 socket if it's set to
`true` and a target Notebook resource is set in labels with
key `robolaunch.io/target-vdi`. Applications that requires
GUI can be executed such as VLC.
type: boolean
ingress:
description: '[*alpha*] Notebook will create an Ingress resource
if `true`.'
type: boolean
privileged:
description: If `true`, containers of Notebook will be privileged
containers. It can be used in physical instances where it's
necessary to access I/O devices on the host machine. Not recommended
to activate this field on cloud instances.
type: boolean
resources:
description: Resource limitations of Notebook.
properties:
cpu:
description: CPU resource limit.
pattern: ^([0-9])+(m)$
type: string
gpuCore:
description: GPU core number that will be allocated.
type: integer
gpuInstance:
default: nvidia.com/gpu
description: GPU instance that will be allocated. eg. nvidia.com/mig-1g.5gb.
Defaults to "nvidia.com/gpu".
type: string
memory:
description: Memory resource limit.
pattern: ^([0-9])+(Mi|Gi)$
type: string
type: object
serviceType:
default: NodePort
description: Service type of Notebook. `ClusterIP` and `NodePort`
is supported.
enum:
- ClusterIP
- NodePort
type: string
type: object
remoteIDEEnabled:
description: If `true`, a relay server for remote Cloud IDE will
be provisioned inside development suite.
Expand Down
Loading

0 comments on commit 981c8ba

Please sign in to comment.