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/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.4.0-next.6
version: 1.4.0-next.7

# 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
18 changes: 11 additions & 7 deletions charts/theia-cloud/templates/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,21 +97,25 @@ spec:
{{- if .Values.operator.continueOnException }}
- "--continueOnException"
{{- end }}
{{- if .Values.operator.enableBuildCaching }}
{{- if .Values.operator.buildCache.enabled }}
- "--enableBuildCaching"
{{- if .Values.operator.buildCacheUrl }}
{{- if .Values.operator.buildCache.gradleUrl }}
- "--buildCacheUrl"
- "{{ tpl (.Values.operator.buildCacheUrl | toString) . }}"
- "{{ tpl (.Values.operator.buildCache.gradleUrl | toString) . }}"
{{- end }}
{{- if .Values.operator.enableBuildCachePush }}
{{- if .Values.operator.buildCache.bazelUrl }}
- "--bazelBuildCacheUrl"
- "{{ tpl (.Values.operator.buildCache.bazelUrl | toString) . }}"
{{- end }}
{{- if .Values.operator.buildCache.enablePush }}
- "--enableBuildCachePush"
{{- end }}
{{- end }}
{{- if .Values.operator.enableDependencyCaching }}
{{- if .Values.operator.dependencyCache.enabled }}
- "--enableDependencyCaching"
{{- if .Values.operator.dependencyCacheUrl }}
{{- if .Values.operator.dependencyCache.url }}
- "--dependencyCacheUrl"
- "{{ tpl (.Values.operator.dependencyCacheUrl | toString) . }}"
- "{{ tpl (.Values.operator.dependencyCache.url | toString) . }}"
{{- end }}
{{- end }}
Comment thread
KevinGruber2001 marked this conversation as resolved.
{{- if .Values.operator.logging.override }}
Expand Down
31 changes: 17 additions & 14 deletions charts/theia-cloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -327,20 +327,23 @@ operator:
# -- Whether the operator should stop in cases where an exception is not handled
continueOnException: false

# -- Whether to enable build caching
enableBuildCaching: false

# -- The URL of the remote build cache server. Only used when enableBuildCaching is true.
buildCacheUrl: ""

# -- Whether sessions are allowed to push to the build cache. Only used when enableBuildCaching is true.
enableBuildCachePush: false

# -- Whether to enable the dependency cache (Reposilite).
enableDependencyCaching: false

# -- The URL of the dependency cache server (Reposilite). Only used when enableDependencyCaching is true.
dependencyCacheUrl: ""
# -- Build cache configuration
buildCache:
# -- Whether to enable build caching
enabled: false
# -- The URL of the remote Gradle build cache server.
gradleUrl: ""
# -- The URL of the remote Bazel build cache server.
bazelUrl: ""
# -- Whether sessions are allowed to push to the build cache.
enablePush: false

# -- Dependency cache configuration (Reposilite)
dependencyCache:
# -- Whether to enable the dependency cache
enabled: false
# -- The URL of the dependency cache server.
url: ""

# -- Allows to override the operator's log4j configuration
# @default -- (see details below)
Expand Down
Loading