Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/charts/code-server
2020-09-02 22:02:37 +01:00
..
templates Patch helm chart to stable with v3.5.0 2020-09-02 21:53:52 +01:00
.helmignore Change service default to ClusterIP and add helmignore 2020-09-02 21:05:57 +01:00
Chart.yaml Add updated Helm chart 2020-09-02 21:00:12 +01:00
README.md Update readme and service port 2020-09-02 22:02:37 +01:00
values.yaml Update readme and service port 2020-09-02 22:02:37 +01:00

code-server

Version: 1.0.0 Type: application AppVersion: 3.5.0

code-server code-server is VS Code running on a remote server, accessible through the browser.

TL;DR;

$ git clone https://github.com/cdr/code-server.git
$ helm install deployment/chart

Introduction

This chart bootstraps a code-server deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.6+

Installing the Chart

To install the chart with the release name my-release:

$ helm install --name my-release deployment/chart

The command deploys code-server on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip

: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the nginx-ingress chart and their default values.

The following table lists the configurable parameters of the code-server chart and their default values.

Values

Key Type Default Description
affinity object {}
extraArgs list []
extraConfigmapMounts list []
extraContainers string ""
extraSecretMounts list []
extraVars list []
extraVolumeMounts list []
fullnameOverride string ""
hostnameOverride string ""
image.pullPolicy string "Always"
image.repository string "codercom/code-server"
image.tag string "3.5.0"
imagePullSecrets list []
ingress.enabled bool false
nameOverride string ""
nodeSelector object {}
persistence.accessMode string "ReadWriteOnce"
persistence.annotations object {}
persistence.enabled bool true
persistence.size string "1Gi"
podAnnotations object {}
podSecurityContext object {}
replicaCount int 1
resources object {}
securityContext.enabled bool true
securityContext.fsGroup int 1000
securityContext.runAsUser int 1000
service.port int 8443
service.type string "ClusterIP"
serviceAccount.create bool true
serviceAccount.name string nil
tolerations list []
volumePermissions.enabled bool true
volumePermissions.securityContext.runAsUser int 0

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

$ helm install --name my-release \
  --set persistence.enabled=false \
    deployment/chart

The above command sets the the persistence storage to false.

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

$ helm install --name my-release -f values.yaml deployment/chart

Tip

: You can use the default values.yaml