Update readme and service port

This commit is contained in:
Matthew Beckett 2020-09-02 22:02:37 +01:00
parent 341cb342b2
commit 559d05bb7b
No known key found for this signature in database
GPG Key ID: 1DE03C2794E6CFBC
2 changed files with 41 additions and 38 deletions

View File

@ -1,5 +1,7 @@
# code-server # code-server
![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.5.0](https://img.shields.io/badge/AppVersion-3.5.0-informational?style=flat-square)
[code-server](https://github.com/cdr/code-server) code-server is VS Code running [code-server](https://github.com/cdr/code-server) code-server is VS Code running
on a remote server, accessible through the browser. on a remote server, accessible through the browser.
@ -54,43 +56,44 @@ and their default values.
The following table lists the configurable parameters of the code-server chart The following table lists the configurable parameters of the code-server chart
and their default values. and their default values.
| Parameter | Description | Default | ## Values
| --------------------------------- | ------------------------------------------ | --------------------------------------------------------- |
| `image.registry` | Code-server image registry | `docker.io` | | Key | Type | Default | Description |
| `image.repository` | Code-server Image name | `codercom/code-server` | |-----|------|---------|-------------|
| `image.tag` | Code-server Image tag | `{TAG_NAME}` | | affinity | object | `{}` | |
| `image.pullPolicy` | Code-server image pull policy | `IfNotPresent` | | extraArgs | list | `[]` | |
| `nameOverride` | String to partially override code-server.fullname template with a string (will prepend the release name) | `nil` | | extraConfigmapMounts | list | `[]` | |
| `fullnameOverride` | String to fully override code-server.fullname template with a string | | extraContainers | string | `""` | |
| `hostnameOverride` | String to fully override code-server container hostname | | extraSecretMounts | list | `[]` | |
| `service.type` | Kubernetes Service type | `NodePort` | | extraVars | list | `[]` | |
| `service.port` | Service HTTP port | `8443` | | extraVolumeMounts | list | `[]` | |
| `ingress.enabled` | Enable ingress controller resource | `false` | | fullnameOverride | string | `""` | |
| `ingress.hosts[0].name` | Hostname to your code-server installation | `code-server.local` | | hostnameOverride | string | `""` | |
| `ingress.hosts[0].path` | Path within the url structure | `/` | | image.pullPolicy | string | `"Always"` | |
| `ingress.hosts[0].tls` | Utilize TLS backend in ingress | `false` | | image.repository | string | `"codercom/code-server"` | |
| `ingress.hosts[0].certManager` | Add annotations for cert-manager | `false` | | image.tag | string | `"3.5.0"` | |
| `ingress.hosts[0].tlsSecret` | TLS Secret (certificates) | `code-server.local-tls-secret` | | imagePullSecrets | list | `[]` | |
| `ingress.hosts[0].annotations` | Annotations for this host's ingress record | `[]` | | ingress.enabled | bool | `false` | |
| `ingress.secrets[0].name` | TLS Secret Name | `nil` | | nameOverride | string | `""` | |
| `ingress.secrets[0].certificate` | TLS Secret Certificate | `nil` | | nodeSelector | object | `{}` | |
| `ingress.secrets[0].key` | TLS Secret Key | `nil` | | persistence.accessMode | string | `"ReadWriteOnce"` | |
| `extraArgs` | Additional code-server container arguments | `{}` | | persistence.annotations | object | `{}` | |
| `extraVars` | Optional environment variables for code-server | `{}` | | persistence.enabled | bool | `true` | |
| `volumePermissions.enabled` | Enable volume permissions init container | `true` | | persistence.size | string | `"1Gi"` | |
| `volumePermissions.securityContext.runAsUser` | User ID for the init container | `0` | | podAnnotations | object | `{}` | |
| `securityContext.enabled` | Enable security context | `true` | | podSecurityContext | object | `{}` | |
| `securityContext.fsGroup` | Group ID for the container | `1000` | | replicaCount | int | `1` | |
| `securityContext.runAsUser` | User ID for the container | `1000` | | resources | object | `{}` | |
| `resources` | CPU/Memory resource requests/limits | `{}` | | securityContext.enabled | bool | `true` | |
| `persistence.enabled` | Enable persistence using PVC | `true` | | securityContext.fsGroup | int | `1000` | |
| `persistence.storageClass` | PVC Storage Class for code-server volume | `nil` | | securityContext.runAsUser | int | `1000` | |
| `persistence.accessMode` | PVC Access Mode for code-server volume | `ReadWriteOnce` | | service.port | int | `8443` | |
| `persistence.size` | PVC Storage Request for code-server volume | `8Gi` | | service.type | string | `"ClusterIP"` | |
| `extraContainers` | Sidecar containers to add to the code-server pod | `{}` | | serviceAccount.create | bool | `true` | |
| `extraSecretMounts` | Additional code-server server secret mounts | `[]` | | serviceAccount.name | string | `nil` | |
| `extraVolumeMounts` | Additional code-server server volume mounts | `[]` | | tolerations | list | `[]` | |
| `extraConfigmapMounts` | Additional code-server server configMap volume mounts | `[]` | | volumePermissions.enabled | bool | `true` | |
| volumePermissions.securityContext.runAsUser | int | `0` | |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm Specify each parameter using the `--set key=value[,key=value]` argument to `helm
install`. For example, install`. For example,

View File

@ -38,7 +38,7 @@ securityContext: {}
service: service:
type: ClusterIP type: ClusterIP
port: 8443 port: 8080
ingress: ingress:
enabled: false enabled: false