mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-03 16:37:04 +02:00
- 🛑 BREAKING - Removed support for the openvpn and wireguard VPN types.
- Update container versions
- Added support for adding serviceMonitors to services.
- ConfigMap checksum logic now only looks at ConfigMap data
- Explicitly convert defaultMode to decimal notation in code-server addon.
52 lines
1.3 KiB
Markdown
52 lines
1.3 KiB
Markdown
# Common library add-ons
|
|
|
|
The common library chart supplies a few add-ons which are meant to simplify some features
|
|
you might be looking for. These are sidecars that run in the same pod as your
|
|
application you configured it with.
|
|
|
|
## Code Server
|
|
|
|
The [code-server](https://github.com/cdr/code-server) add-on can be used to
|
|
access and modify persistent volume data in your application. This can be
|
|
useful when you need to edit the persistent volume data, for example with
|
|
Home Assistant.
|
|
|
|
### Example values
|
|
|
|
Below is a snippet from a `values.yaml` using the add-on. More configuration
|
|
options can be found in our common chart documentation.
|
|
|
|
!!! note
|
|
This example will mount `/config` into the code-server sidecar.
|
|
|
|
```yaml
|
|
addons:
|
|
codeserver:
|
|
enabled: true
|
|
image:
|
|
repository: codercom/code-server
|
|
tag: 3.9.0
|
|
workingDir: "/config"
|
|
args:
|
|
- --auth
|
|
- "none"
|
|
- --user-data-dir
|
|
- "/config/.vscode"
|
|
- --extensions-dir
|
|
- "/config/.vscode"
|
|
ingress:
|
|
enabled: true
|
|
annotations:
|
|
kubernetes.io/ingress.class: "nginx"
|
|
hosts:
|
|
- host: app-config.domain.tld
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- app-config.domain.tld
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /config
|
|
```
|