Skip to content

Commit

Permalink
Move custom resource definitions to separate helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
sgraband committed Jul 31, 2023
1 parent 4ccfdec commit 3b4eb5e
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 1 deletion.
23 changes: 23 additions & 0 deletions charts/theia-cloud-crds/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
24 changes: 24 additions & 0 deletions charts/theia-cloud-crds/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: v2
name: theia-cloud-crds
description: A Helm chart for Kubernetes

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
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.1.0

# 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: "1.16.0"
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
singular: appdefinition
scope: Namespaced
versions:
- name: v6beta
- name: v7beta
served: true
storage: true
schema:
Expand Down Expand Up @@ -73,6 +73,68 @@ spec:
type: integer
notifyAfter:
type: integer
- name: v6beta
served: true
storage: false
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
name:
type: string
image:
type: string
imagePullPolicy:
type: string
enum: ["Always", "IfNotPresent", "Never"]
pullSecret:
type: string
uid:
type: integer
port:
type: integer
ingressname:
type: string
minInstances:
type: integer
maxInstances:
type: integer
timeout:
type: object
properties:
strategy:
type: string
limit:
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
- name: v5beta
served: true
storage: false
Expand Down

0 comments on commit 3b4eb5e

Please sign in to comment.