Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/theia-cloud-crds/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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: 1.2.0-next.0
version: 1.2.0-next.1

# 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
Expand Down
130 changes: 129 additions & 1 deletion charts/theia-cloud-crds/templates/appdefinition-spec-resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,138 @@ spec:
- ad
scope: Namespaced
versions:
- name: v1beta10
- name: v1beta11
served: true
storage: true
# subresources describes the subresources for custom resources.
subresources:
# status enables the status subresource.
status: {}
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
x-kubernetes-validations:
- rule: "self.minInstances <= self.maxInstances"
message: "minInstances should be less or equal than maxInstances."
properties:
name:
type: string
pattern: "^[a-z0-9A-Z-_]+$"
image:
type: string
imagePullPolicy:
type: string
enum: ["Always", "IfNotPresent", "Never"]
pullSecret:
type: string
uid:
type: integer
port:
type: integer
minimum: 0
maximum: 65535
ingressname:
type: string
ingressHostnamePrefixes:
type: array
items:
type: string
minInstances:
type: integer
maxInstances:
type: integer
timeout:
type: integer
requestsMemory:
type: string
requestsCpu:
type: string
limitsMemory:
type: string
limitsCpu:
type: string
downlinkLimit:
type: integer
uplinkLimit:
type: integer
mountPath:
type: string
monitor:
type: object
properties:
port:
type: integer
activityTracker:
type: object
properties:
timeoutAfter:
type: integer
notifyAfter:
type: integer
options:
type: object
additionalProperties:
x-kubernetes-int-or-string: true
sidecars:
type: array
items:
type: object
required:
- name
- image
- port
properties:
name:
type: string
pattern: "^[a-z0-9A-Z-_]+$"
image:
type: string
port:
type: integer
minimum: 1
maximum: 65535
languages:
type: array
items:
type: string
cpuLimit:
type: string
memoryLimit:
type: string
cpuRequest:
type: string
memoryRequest:
type: string
mountWorkspace:
type: boolean
required:
- name
- image
- uid
- port
- ingressname
- minInstances
- maxInstances
- requestsCpu
- requestsMemory
- limitsMemory
- limitsCpu
status:
type: object
properties:
operatorStatus:
type: string
operatorMessage:
type: string
required:
- spec
- name: v1beta10
served: true
storage: false
# subresources describes the subresources for custom resources.
subresources:
# status enables the status subresource.
status: {}
Expand Down
Loading