diff --git a/charts/kasm/Chart.yaml b/charts/kasm/Chart.yaml index d950fc7..af799e8 100644 --- a/charts/kasm/Chart.yaml +++ b/charts/kasm/Chart.yaml @@ -28,4 +28,4 @@ keywords: maintainers: - name: Kasm Technologies, Inc. url: https://github.com/kasmtech/kasm-helm -version: 1.1181.0 +version: 1.1181.1 diff --git a/charts/kasm/templates/api-deployment.yaml b/charts/kasm/templates/api-deployment.yaml index 0cafc3d..6af0bfa 100644 --- a/charts/kasm/templates/api-deployment.yaml +++ b/charts/kasm/templates/api-deployment.yaml @@ -59,6 +59,9 @@ spec: {{- with .Values.affinity }} affinity: {{ toYaml . | nindent 8 }} {{- end }} + {{- with .Values.components.api.extraVolumes }} + volumes: {{ toYaml . | nindent 8 }} + {{- end }} initContainers: - name: db-is-ready image: {{ $constants.api.image }} @@ -90,6 +93,9 @@ spec: {{- if .Values.applySecurity }} {{- include "kasm.containerSecurity" . | indent 10 }} {{- end }} + {{- if .Values.components.api.initContainers }} + {{- toYaml .Values.components.api.initContainers | nindent 8 }} + {{- end }} containers: - name: {{ $constants.api.name }}-container image: {{ $constants.api.image }} @@ -116,6 +122,9 @@ spec: name: {{ .Release.Name }}-secrets key: "db-password" {{- end }} + {{- if .Values.components.api.extraEnv }} + {{- toYaml .Values.components.api.extraEnv | nindent 12 }} + {{- end }} ports: - name: {{ $constants.api.portName }} containerPort: {{ $constants.api.port }} @@ -134,3 +143,6 @@ spec: {{- if .Values.applyPodSecurity }} {{- include "kasm.containerSecurity" . | indent 10 }} {{- end }} + {{- with .Values.components.api.extraVolumeMounts }} + volumeMounts: {{ toYaml . | nindent 12 }} + {{- end }} diff --git a/charts/kasm/templates/guac-deployment.yaml b/charts/kasm/templates/guac-deployment.yaml index 1facc81..43c7157 100644 --- a/charts/kasm/templates/guac-deployment.yaml +++ b/charts/kasm/templates/guac-deployment.yaml @@ -81,6 +81,9 @@ spec: {{- if .Values.applySecurity }} {{- include "kasm.containerSecurity" . | indent 10 }} {{- end }} + {{- if .Values.components.guac.initContainers }} + {{- toYaml .Values.components.guac.initContainers | nindent 8 }} + {{- end }} containers: - name: {{ $constants.guac.name }}-container image: {{ $constants.guac.image }} @@ -107,12 +110,16 @@ spec: value: {{ $constants.guac.svc }} - name: SERVER_PORT value: {{ $constants.guac.port | quote }} + {{- if .Values.components.guac.extraEnv }} + {{- toYaml .Values.components.guac.extraEnv | nindent 12 }} + {{- end }} ports: - name: {{ $constants.guac.portName }} containerPort: {{ $constants.guac.port }} protocol: TCP - {{- if .Values.applySecurity }} + {{- if or .Values.applySecurity .Values.components.guac.extraVolumeMounts }} volumeMounts: + {{- if .Values.applySecurity }} - name: {{ $constants.guac.name }}-data mountPath: /tmp - name: {{ $constants.guac.name }}-readonly @@ -120,6 +127,10 @@ spec: readOnly: true - name: {{ $constants.guac.name }}-data mountPath: /opt/kasm/current/tmp/guac + {{- end }} + {{- if .Values.components.guac.extraVolumeMounts }} + {{- toYaml .Values.components.guac.extraVolumeMounts | nindent 12 }} + {{- end }} {{- end }} {{- if .Values.applyHealthChecks }} livenessProbe: @@ -137,13 +148,18 @@ spec: {{- if .Values.applySecurity }} {{- include "kasm.containerSecurity" . | indent 10 }} {{- end }} - {{- if .Values.applySecurity }} + {{- if or .Values.applySecurity .Values.components.guac.extraVolumes }} volumes: + {{- if .Values.applySecurity }} - name: {{ $constants.guac.name }}-data emptyDir: sizeLimit: 1Gi - name: {{ $constants.guac.name }}-readonly emptyDir: sizeLimit: 150Mi + {{- end }} + {{- if .Values.components.guac.extraVolumes }} + {{- toYaml .Values.components.guac.extraVolumes | nindent 8 }} + {{- end }} {{- end }} {{- end }} diff --git a/charts/kasm/templates/manager-deployment.yaml b/charts/kasm/templates/manager-deployment.yaml index e873dfd..5f91a25 100644 --- a/charts/kasm/templates/manager-deployment.yaml +++ b/charts/kasm/templates/manager-deployment.yaml @@ -63,7 +63,11 @@ spec: {{- with $values.affinity }} affinity: {{ toYaml . | nindent 8 }} {{- end }} - initContainers: {{- include "kasm.initContainer" (dict "serviceName" $constants.api.svc "servicePort" $constants.api.port "path" "/api/__healthcheck" "schema" "http" "image" $constants.api.image) | indent 8 }} + initContainers: + {{- include "kasm.initContainer" (dict "serviceName" $constants.api.svc "servicePort" $constants.api.port "path" "/api/__healthcheck" "schema" "http" "image" $constants.api.image) | indent 8 }} + {{- if $values.components.manager.initContainers }} + {{- toYaml $values.components.manager.initContainers | nindent 8 }} + {{- end }} {{- if $values.applySecurity }} {{- include "kasm.containerSecurity" . | indent 10 }} {{- end }} @@ -93,6 +97,9 @@ spec: name: {{ $.Release.Name }}-secrets key: "db-password" {{- end }} + {{- if $values.components.manager.extraEnv }} + {{- toYaml $values.components.manager.extraEnv | nindent 12 }} + {{- end }} ports: - name: {{ printf "zn%s-%s" ($idx | toString) $constants.manager.portName }} containerPort: {{ $constants.manager.port }} @@ -116,8 +123,14 @@ spec: volumeMounts: - name: {{ $constants.manager.name }}-tmp mountPath: /tmp + {{- if $values.components.manager.extraVolumeMounts }} + {{- toYaml $values.components.manager.extraVolumeMounts | nindent 12 }} + {{- end }} volumes: - name: {{ $constants.manager.name }}-tmp emptyDir: sizeLimit: 1Gi -{{- end }} \ No newline at end of file + {{- if $values.components.manager.extraVolumes }} + {{- toYaml $values.components.manager.extraVolumes | nindent 8 }} + {{- end }} +{{- end }} diff --git a/charts/kasm/templates/proxy-deployment.yaml b/charts/kasm/templates/proxy-deployment.yaml index 82415e1..e471728 100644 --- a/charts/kasm/templates/proxy-deployment.yaml +++ b/charts/kasm/templates/proxy-deployment.yaml @@ -109,6 +109,9 @@ spec: {{- include "kasm.containerSecurity" . | indent 10 }} {{- end }} {{- end }} + {{- if $values.components.proxy.initContainers }} + {{- toYaml $values.components.proxy.initContainers | nindent 8 }} + {{- end }} containers: - name: {{ $constants.proxy.name }}-container image: {{ $constants.proxy.image }} @@ -121,6 +124,9 @@ spec: {{- if $values.applySecurity }} {{- include "kasm.containerSecurity" . | indent 10 }} {{- end }} + {{- with $values.components.proxy.extraEnv }} + env: {{ toYaml . | nindent 12 }} + {{- end }} volumeMounts: - name: {{ $constants.proxy.name }}-cert mountPath: /etc/ssl/certs/kasm_nginx.crt @@ -135,6 +141,9 @@ spec: - name: {{ $constants.proxy.name }}-base-config mountPath: /etc/nginx/nginx.conf subPath: nginx.conf + {{- if $values.components.proxy.extraVolumeMounts }} + {{- toYaml $values.components.proxy.extraVolumeMounts | nindent 12 }} + {{- end }} {{- if $values.applySecurity }} - name: {{ $constants.proxy.name }}-data mountPath: /var/cache/nginx @@ -171,9 +180,12 @@ spec: - name: {{ $constants.proxy.name }}-services-config configMap: name: {{ $constants.proxy.name }}-services-configmap + {{- if $values.components.proxy.extraVolumes }} + {{- toYaml $values.components.proxy.extraVolumes | nindent 8 }} + {{- end }} {{- if $values.applySecurity }} - name: {{ $constants.proxy.name }}-data emptyDir: sizeLimit: 1Gi {{- end }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/charts/kasm/templates/rdp-gateway-deployment.yaml b/charts/kasm/templates/rdp-gateway-deployment.yaml index be4be05..e6b2b12 100644 --- a/charts/kasm/templates/rdp-gateway-deployment.yaml +++ b/charts/kasm/templates/rdp-gateway-deployment.yaml @@ -85,6 +85,9 @@ spec: {{- if .Values.applySecurity }} {{- include "kasm.containerSecurity" . | indent 10 }} {{- end }} + {{- if .Values.components.rdpGateway.initContainers }} + {{- toYaml .Values.components.rdpGateway.initContainers | nindent 8 }} + {{- end }} containers: - name: {{ $constants.rdpGateway.name }}-container image: {{ $constants.rdpGateway.image }} @@ -105,6 +108,9 @@ spec: key: service-token - name: KUBERNETES_SERVICE_HOST value: "true" + {{- if .Values.components.rdpGateway.extraEnv }} + {{- toYaml .Values.components.rdpGateway.extraEnv | nindent 12 }} + {{- end }} ports: - name: {{ $constants.rdpGateway.portName }} containerPort: 5555 @@ -141,6 +147,9 @@ spec: - name: {{ $constants.rdpGateway.name }}-config mountPath: /usr/local/etc/rdpproxy/conf/passthrough.app.config.yaml subPath: passthrough.app.config.yaml + {{- if .Values.components.rdpGateway.extraVolumeMounts }} + {{- toYaml .Values.components.rdpGateway.extraVolumeMounts | nindent 12 }} + {{- end }} volumes: - name: {{ $constants.rdpGateway.name }}-cert secret: @@ -151,4 +160,7 @@ spec: - name: {{ $constants.rdpGateway.name }}-config configMap: name: {{ $constants.rdpGateway.name }}-configmap -{{- end }} \ No newline at end of file + {{- if .Values.components.rdpGateway.extraVolumes }} + {{- toYaml .Values.components.rdpGateway.extraVolumes | nindent 8 }} + {{- end }} +{{- end }} diff --git a/charts/kasm/templates/rdp-https-gateway-deployment.yaml b/charts/kasm/templates/rdp-https-gateway-deployment.yaml index 6f7b07f..1b284d9 100644 --- a/charts/kasm/templates/rdp-https-gateway-deployment.yaml +++ b/charts/kasm/templates/rdp-https-gateway-deployment.yaml @@ -81,6 +81,9 @@ spec: - name: {{ $constants.rdpHttpsGateway.name }}-data mountPath: /tmp {{- end }} + {{- if .Values.components.rdpHttpsGateway.initContainers }} + {{- toYaml .Values.components.rdpHttpsGateway.initContainers | nindent 8 }} + {{- end }} containers: - name: {{ $constants.rdpHttpsGateway.name }}-container image: {{ $constants.rdpHttpsGateway.image }} @@ -101,6 +104,9 @@ spec: key: service-token - name: KUBERNETES_SERVICE_HOST value: "true" + {{- if .Values.components.rdpHttpsGateway.extraEnv }} + {{- toYaml .Values.components.rdpHttpsGateway.extraEnv | nindent 12 }} + {{- end }} ports: - name: {{ $constants.rdpHttpsGateway.portName }} containerPort: {{ $constants.rdpHttpsGateway.port }} @@ -132,6 +138,9 @@ spec: mountPath: /opt/kasm/current/log - name: {{ $constants.rdpHttpsGateway.name }}-data mountPath: /tmp + {{- if .Values.components.rdpHttpsGateway.extraVolumeMounts }} + {{- toYaml .Values.components.rdpHttpsGateway.extraVolumeMounts | nindent 12 }} + {{- end }} volumes: - name: {{ $constants.rdpHttpsGateway.name }}-cert secret: @@ -139,4 +148,7 @@ spec: - name: {{ $constants.rdpHttpsGateway.name }}-data emptyDir: sizeLimit: 150Mi -{{- end }} \ No newline at end of file + {{- if .Values.components.rdpHttpsGateway.extraVolumes }} + {{- toYaml .Values.components.rdpHttpsGateway.extraVolumes | nindent 8 }} + {{- end }} +{{- end }} diff --git a/charts/kasm/values.schema.json b/charts/kasm/values.schema.json index 0e7b9c3..3276846 100644 --- a/charts/kasm/values.schema.json +++ b/charts/kasm/values.schema.json @@ -161,17 +161,12 @@ "description": "Set the secret name where the certificate is stored. This secret name will store a certificate created by `cert-manager` if you set `cert-manager.enabled` to true", "title": "secretName", "type": "string", - "required": [ - "secretName" - ] + "required": ["secretName"] } }, "title": "certificate", "type": "object", - "required": [ - "secretName", - "certManager" - ] + "required": ["secretName", "certManager"] }, "clusterDomain": { "default": "cluster.local", @@ -192,6 +187,33 @@ "title": "annotations", "type": "object" }, + "extraEnv": { + "additionalProperties": true, + "description": "Additional environement variables", + "title": "extraEnv", + "type": "array", + "items": { + "type": "object" + } + }, + "extraVolumes": { + "additionalProperties": true, + "description": "Additional volumes to add to pod", + "title": "extraVolumes", + "type": "array", + "items": { + "type": "object" + } + }, + "extraVolumeMounts": { + "additionalProperties": true, + "description": "Additional volumes to mount", + "title": "extraVolumeMounts", + "type": "array", + "items": { + "type": "object" + } + }, "image": { "additionalProperties": false, "description": "Configure the image repository where the image is stored. Use this to point to an private hosted container registry instead of our public DockerHub hosted one.", @@ -209,10 +231,16 @@ }, "title": "image", "type": "object", - "requied": [ - "repository", - "tag" - ] + "requied": ["repository", "tag"] + }, + "initContainers": { + "additionalProperties": true, + "description": "Custom init containers to run", + "title": "initContainers", + "type": "array", + "items": { + "type": "object" + } }, "labels": { "additionalProperties": true, @@ -234,7 +262,11 @@ "image", "resources", "annotations", - "labels" + "labels", + "initContainers", + "extraEnv", + "extraVolumes", + "extraVolumeMounts" ] }, "guac": { @@ -253,6 +285,33 @@ "title": "enabled", "type": "boolean" }, + "extraEnv": { + "additionalProperties": true, + "description": "Additional environement variables", + "title": "extraEnv", + "type": "array", + "items": { + "type": "object" + } + }, + "extraVolumes": { + "additionalProperties": true, + "description": "Additional volumes to add to pod", + "title": "extraVolumes", + "type": "array", + "items": { + "type": "object" + } + }, + "extraVolumeMounts": { + "additionalProperties": true, + "description": "Additional volumes to mount", + "title": "extraVolumeMounts", + "type": "array", + "items": { + "type": "object" + } + }, "image": { "additionalProperties": false, "description": "Configure the image repository where the image is stored. Use this to point to an private hosted container registry instead of our public DockerHub hosted one.", @@ -270,10 +329,16 @@ }, "title": "image", "type": "object", - "requied": [ - "repository", - "tag" - ] + "requied": ["repository", "tag"] + }, + "initContainers": { + "additionalProperties": true, + "description": "Custom init containers to run", + "title": "initContainers", + "type": "array", + "items": { + "type": "object" + } }, "labels": { "additionalProperties": true, @@ -295,7 +360,11 @@ "image", "resources", "annotations", - "labels" + "labels", + "initContainers", + "extraEnv", + "extraVolumes", + "extraVolumeMounts" ] }, "manager": { @@ -308,6 +377,33 @@ "title": "annotations", "type": "object" }, + "extraEnv": { + "additionalProperties": true, + "description": "Additional environement variables", + "title": "extraEnv", + "type": "array", + "items": { + "type": "object" + } + }, + "extraVolumes": { + "additionalProperties": true, + "description": "Additional volumes to add to pod", + "title": "extraVolumes", + "type": "array", + "items": { + "type": "object" + } + }, + "extraVolumeMounts": { + "additionalProperties": true, + "description": "Additional volumes to mount", + "title": "extraVolumeMounts", + "type": "array", + "items": { + "type": "object" + } + }, "image": { "additionalProperties": false, "description": "Configure the image repository where the image is stored. Use this to point to an private hosted container registry instead of our public DockerHub hosted one.", @@ -325,10 +421,16 @@ }, "title": "image", "type": "object", - "requied": [ - "repository", - "tag" - ] + "requied": ["repository", "tag"] + }, + "initContainers": { + "additionalProperties": true, + "description": "Custom init containers to run", + "title": "initContainers", + "type": "array", + "items": { + "type": "object" + } }, "labels": { "additionalProperties": true, @@ -350,7 +452,11 @@ "image", "resources", "annotations", - "labels" + "labels", + "initContainers", + "extraEnv", + "extraVolumes", + "extraVolumeMounts" ] }, "proxy": { @@ -363,6 +469,33 @@ "title": "annotations", "type": "object" }, + "extraEnv": { + "additionalProperties": true, + "description": "Additional environement variables", + "title": "extraEnv", + "type": "array", + "items": { + "type": "object" + } + }, + "extraVolumes": { + "additionalProperties": true, + "description": "Additional volumes to add to pod", + "title": "extraVolumes", + "type": "array", + "items": { + "type": "object" + } + }, + "extraVolumeMounts": { + "additionalProperties": true, + "description": "Additional volumes to mount", + "title": "extraVolumeMounts", + "type": "array", + "items": { + "type": "object" + } + }, "image": { "additionalProperties": false, "description": "Configure the image repository where the image is stored. Use this to point to an private hosted container registry instead of our public DockerHub hosted one.", @@ -380,10 +513,16 @@ }, "title": "image", "type": "object", - "requied": [ - "repository", - "tag" - ] + "requied": ["repository", "tag"] + }, + "initContainers": { + "additionalProperties": true, + "description": "Custom init containers to run", + "title": "initContainers", + "type": "array", + "items": { + "type": "object" + } }, "labels": { "additionalProperties": true, @@ -405,7 +544,11 @@ "image", "resources", "annotations", - "labels" + "labels", + "initContainers", + "extraEnv", + "extraVolumes", + "extraVolumeMounts" ] }, "rdpGateway": { @@ -424,6 +567,33 @@ "title": "enabled", "type": "boolean" }, + "extraEnv": { + "additionalProperties": true, + "description": "Additional environement variables", + "title": "extraEnv", + "type": "array", + "items": { + "type": "object" + } + }, + "extraVolumes": { + "additionalProperties": true, + "description": "Additional volumes to add to pod", + "title": "extraVolumes", + "type": "array", + "items": { + "type": "object" + } + }, + "extraVolumeMounts": { + "additionalProperties": true, + "description": "Additional volumes to mount", + "title": "extraVolumeMounts", + "type": "array", + "items": { + "type": "object" + } + }, "image": { "additionalProperties": false, "description": "Configure the image repository where the image is stored. Use this to point to an private hosted container registry instead of our public DockerHub hosted one.", @@ -441,10 +611,16 @@ }, "title": "image", "type": "object", - "requied": [ - "repository", - "tag" - ] + "requied": ["repository", "tag"] + }, + "initContainers": { + "additionalProperties": true, + "description": "Custom init containers to run", + "title": "initContainers", + "type": "array", + "items": { + "type": "object" + } }, "labels": { "additionalProperties": true, @@ -466,7 +642,11 @@ "image", "resources", "annotations", - "labels" + "labels", + "initContainers", + "extraEnv", + "extraVolumes", + "extraVolumeMounts" ] }, "rdpHttpsGateway": { @@ -485,6 +665,33 @@ "title": "enabled", "type": "boolean" }, + "extraEnv": { + "additionalProperties": true, + "description": "Additional environement variables", + "title": "extraEnv", + "type": "array", + "items": { + "type": "object" + } + }, + "extraVolumes": { + "additionalProperties": true, + "description": "Additional volumes to add to pod", + "title": "extraVolumes", + "type": "array", + "items": { + "type": "object" + } + }, + "extraVolumeMounts": { + "additionalProperties": true, + "description": "Additional volumes to mount", + "title": "extraVolumeMounts", + "type": "array", + "items": { + "type": "object" + } + }, "image": { "additionalProperties": false, "description": "Configure the image repository where the image is stored. Use this to point to an private hosted container registry instead of our public DockerHub hosted one.", @@ -502,10 +709,16 @@ }, "title": "image", "type": "object", - "requied": [ - "repository", - "tag" - ] + "requied": ["repository", "tag"] + }, + "initContainers": { + "additionalProperties": true, + "description": "Custom init containers to run", + "title": "initContainers", + "type": "array", + "items": { + "type": "object" + } }, "labels": { "additionalProperties": true, @@ -527,7 +740,11 @@ "image", "resources", "annotations", - "labels" + "labels", + "initContainers", + "extraEnv", + "extraVolumes", + "extraVolumeMounts" ] } }, @@ -567,10 +784,7 @@ }, "title": "image", "type": "object", - "requied": [ - "repository", - "tag" - ] + "requied": ["repository", "tag"] }, "kasmDbName": { "default": "kasm", @@ -676,10 +890,7 @@ } }, "title": "retentionPolicy", - "required": [ - "whenDeleted", - "whenScaled" - ] + "required": ["whenDeleted", "whenScaled"] }, "storageClassName": { "default": "", @@ -689,11 +900,7 @@ } }, "title": "storage", - "required": [ - "storageClassName", - "pvcSize", - "retentionPolicy" - ] + "required": ["storageClassName", "pvcSize", "retentionPolicy"] } }, "title": "database", @@ -811,22 +1018,14 @@ } }, "title": "dbManagement", - "required": [ - "initialize", - "upgrade", - "backupCron" - ] + "required": ["initialize", "upgrade", "backupCron"] }, "deploymentSize": { "default": "small", "description": "Define the estimated size of the Kasm deployment in expected session load. small = Up to 10-15 sessions medium = Up to 25-30 sessions large = Up to 50+ sessions", "title": "deploymentSize", "type": "string", - "enum": [ - "small", - "medium", - "large" - ] + "enum": ["small", "medium", "large"] }, "extraLabels": { "additionalProperties": false, @@ -1081,10 +1280,7 @@ "type": "string" } }, - "required": [ - "name", - "upstream_auth_addr" - ] + "required": ["name", "upstream_auth_addr"] } }, "labels": { @@ -1117,27 +1313,18 @@ "default": "LoadBalancer", "title": "type", "type": "string", - "enum": [ - "ClusterIP", - "LoadBalancer" - ] + "enum": ["ClusterIP", "LoadBalancer"] } }, "title": "proxyService", "type": "object", - "required": [ - "type", - "annotations", - "labels" - ] + "required": ["type", "annotations", "labels"] }, "publicAddr": { "description": "Set the access URL to be used for the Kasm deployment. This is the URL you will use to access your Kasm deployment. This URL can be a private address, it just needs to be resolvable by systems you use to interface with Kasm.", "title": "publicAddr", "type": "string", - "required": [ - "publicAddr" - ] + "required": ["publicAddr"] }, "restartPolicy": { "default": "Always", @@ -1196,13 +1383,8 @@ }, "title": "route", "type": "object", - "required": [ - "enabled", - "tls", - "annotations", - "labels" - ] + "required": ["enabled", "tls", "annotations", "labels"] } }, "type": "object" -} \ No newline at end of file +} diff --git a/charts/kasm/values.yaml b/charts/kasm/values.yaml index d509297..7547843 100644 --- a/charts/kasm/values.yaml +++ b/charts/kasm/values.yaml @@ -9,7 +9,7 @@ deploymentSize: "small" # publicAddr -- Set the access URL to be used for the Kasm deployment. This is the URL you will use to access # your Kasm deployment. This URL can be a private address, it just needs to be resolvable by systems you use # to interface with Kasm. -# +# # If you create a self-signed or custom certificate, this is the value you should assign as the Common Name # associated with the certificate. If `certificate.certManager.enabled` is set to true, this is the # name used to generate the certificate. @@ -34,9 +34,9 @@ kasmZones: [] # upstream_auth_addr: zone-a.kasm.contoso.com # - name: Zone-B # upstream_auth_addr: zone-b.kasm.contoso.com - -# proxyService -- Configure the external-facing service type to use. -# Allowed service types: ClusterIP or LoadBalancer. + +# proxyService -- Configure the external-facing service type to use. +# Allowed service types: ClusterIP or LoadBalancer. # # The service.annotations defined here only apply to the `proxy` service (`proxy-service-external.yaml` file). # If you wish to apply annotations to all services, use the annotations.service value at the bottom of this chart. @@ -50,8 +50,8 @@ proxyService: annotations: {} labels: {} -# Configure an Ingress for your Kasm deployment. -# +# Configure an Ingress for your Kasm deployment. +# ingress: # ingress.enabled -- Set the enabled value to `true` to use a pre-defined Ingress service to expose Kasm # @@ -72,12 +72,12 @@ ingress: annotations: {} labels: {} -# route -- Configure an OpenShift Route for your Kasm deployment. -# +# route -- Configure an OpenShift Route for your Kasm deployment. +# route: # route.enabled -- Set the enabled value to `true` to use a pre-defined Route service to expose Kasm enabled: false - # route.tls -- Object to define the TLS configuration for your OpenShift Route - + # route.tls -- Object to define the TLS configuration for your OpenShift Route - # [Configuring Secure Routes](https://docs.redhat.com/en/documentation/openshift_dedicated/4/html/networking/configuring-routes#configuring-default-certificate). # tls: {} @@ -111,12 +111,12 @@ certificate: # secretName: "" # certificate.certManager -- For additional cert-manager configuration/deployment information refer to the online documentation - # [Cert Manager Docs](https://cert-manager.io/v1.1-docs/installation/kubernetes/). - # + # [Cert Manager Docs](https://cert-manager.io/v1.1-docs/installation/kubernetes/). + # # NOTE: If you do not enable `cert-manager`, you must generate your own certificates and add them as a Kubernetes secret, or # present cloud-managed certificates. # - # Refer to [Kubernetes Secrets](https://kubernetes.io/docs/concepts/configuration/secret/), and + # Refer to [Kubernetes Secrets](https://kubernetes.io/docs/concepts/configuration/secret/), and # [Kubernetes TLS Secret](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_create/kubectl_create_secret_tls/) # for more information. # @@ -270,6 +270,14 @@ components: resources: {} # components.proxy.labels -- Custom labels to add to the Kasm Proxy Deployment labels: {} + # components.proxy.initContainers -- Custom init containers to run + initContainers: [] + # components.proxy.extraEnv -- Additional environment variables + extraEnv: [] + # components.proxy.extraVolumes -- Additional volumes to add to pod + extraVolumes: [] + # components.proxy.extraVolumeMounts -- Additional volume mounts + extraVolumeMounts: [] # Configuration settings for the Kasm API service # api: @@ -285,6 +293,14 @@ components: resources: {} # components.api.labels -- Custom labels to add to the Kasm api Deployment labels: {} + # components.api.initContainers -- Custom init containers to run + initContainers: [] + # components.api.extraEnv -- Additional environment variables + extraEnv: [] + # components.api.extraVolumes -- Additional volumes to add to pod + extraVolumes: [] + # components.api.extraVolumeMounts -- Additional volume mounts + extraVolumeMounts: [] # Configuration settings for the Kasm Manager service # manager: @@ -300,6 +316,14 @@ components: resources: {} # components.manager.labels -- Custom labels to add to the Kasm Manager Deployment labels: {} + # components.manager.initContainers -- Custom init containers to run + initContainers: [] + # components.manager.extraEnv -- Additional environment variables + extraEnv: [] + # components.manager.extraVolumes -- Additional volumes to add to pod + extraVolumes: [] + # components.manager.extraVolumeMounts -- Additional volume mounts + extraVolumeMounts: [] # Configuration settings for the Kasm Guac RDP service # guac: @@ -309,7 +333,7 @@ components: image: repository: kasmweb/kasm-guac tag: 1.18.1 - # components.guac.enabled -- Use this setting to enable/disable deployment of the Kasm Guacamole web RDP service - + # components.guac.enabled -- Use this setting to enable/disable deployment of the Kasm Guacamole web RDP service - # [Kasm Guac Service](https://docs.kasm.com/docs/guide/connection_proxies#guacamole-guac). # enabled: true @@ -319,6 +343,14 @@ components: resources: {} # components.guac.labels -- Custom labels to add to the Kasm Guac Deployment labels: {} + # components.guac.initContainers -- Custom init containers to run + initContainers: [] + # components.guac.extraEnv -- Additional environment variables + extraEnv: [] + # components.guac.extraVolumes -- Additional volumes to add to pod + extraVolumes: [] + # components.guac.extraVolumeMounts -- Additional volume mounts + extraVolumeMounts: [] # Configuration settings for the Kasm RDP Gateway service # rdpGateway: @@ -328,7 +360,7 @@ components: image: repository: kasmweb/rdp-gateway tag: 1.18.1 - # components.rdpGateway.enabled -- Use this setting to enable/disable deployment of the Kasm RDP Gateway service - + # components.rdpGateway.enabled -- Use this setting to enable/disable deployment of the Kasm RDP Gateway service - # [Kasm RDP Gateway](https://docs.kasm.com/docs/guide/connection_proxies#rdp-gateway). # enabled: true @@ -338,6 +370,14 @@ components: resources: {} # components.rdpGateway.labels -- Custom labels to add to the Kasm RDP Gateway Deployment labels: {} + # components.rdpGateway.initContainers -- Custom init containers to run + initContainers: [] + # components.rdpGateway.extraEnv -- Additional environment variables + extraEnv: [] + # components.rdpGateway.extraVolumes -- Additional volumes to add to pod + extraVolumes: [] + # components.rdpGateway.extraVolumeMounts -- Additional volume mounts + extraVolumeMounts: [] # Configuration settings for the Kasm RDP HTTPS Gateway service # rdpHttpsGateway: @@ -348,7 +388,7 @@ components: repository: kasmweb/rdp-https-gateway tag: 1.18.1 # components.rdpHttpsGateway.enabled -- Use this setting to enable/disable deployment of the Kasm RDP HTTPS Gateway service. - # This service allows users to use native RDP clients via HTTPS connections rather than exposing 3389 - + # This service allows users to use native RDP clients via HTTPS connections rather than exposing 3389 - # [Kasm RDP HTTPS Gateway](https://docs.kasm.com/docs/guide/connection_proxies#rdp-https-gateway. # enabled: true @@ -358,6 +398,14 @@ components: resources: {} # components.rdpHttpsGateway.labels -- Custom labels to add to the Kasm RDP HTTPS Gateway Deployment labels: {} + # components.rdpHttpsGateway.initContainers -- Custom init containers to run + initContainers: [] + # components.rdpHttpsGateway.extraEnv -- Additional environment variables + extraEnv: [] + # components.rdpHttpsGateway.extraVolumes -- Additional volumes to add to pod + extraVolumes: [] + # components.rdpHttpsGateway.extraVolumeMounts -- Additional volume mounts + extraVolumeMounts: [] #################################### # Extra Kubernetes config settings # @@ -397,12 +445,12 @@ imagePullSecrets: # clusterDomain: "cluster.local" -# nodeSelector -- Configure node selector settings for your Kasm pods - +# nodeSelector -- Configure node selector settings for your Kasm pods - # [Kubernetes Node Selector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector). # nodeSelector: {} -# affinity -- Configure node affinity settings for Kasm pods - +# affinity -- Configure node affinity settings for Kasm pods - # [Kubernetes Affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/). # Kasm is not guaranteed to work with Affinity settings - use caution if you must configuring these settings. # The below, optional object passes in raw Affinity rules for Pods, Nodes, etc. for your environment. Make sure you @@ -485,4 +533,4 @@ extraLabels: # extraObjects -- Deploy additional Kubernetes manifests. # This field is expected to be either a multi-line string, a list of strings, or a list of objects. # -extraObjects: [] \ No newline at end of file +extraObjects: []