mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
![feisar-bot[bot]](/assets/img/avatar_default.png)
| datasource | package | from | to | | ---------- | ------------------------- | ------ | ------- | | docker | ghcr.io/coder/code-server | 4.99.3 | 4.100.2 |
86 lines
2.2 KiB
YAML
86 lines
2.2 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app home-assistant-code
|
|
spec:
|
|
interval: 1h
|
|
chartRef:
|
|
kind: OCIRepository
|
|
name: app-template
|
|
namespace: flux-system
|
|
install:
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
strategy: rollback
|
|
retries: 3
|
|
dependsOn:
|
|
- name: home-assistant
|
|
namespace: default
|
|
values:
|
|
defaultPodOptions:
|
|
nodeSelector:
|
|
nodo.feature.node.kubernetes.io/rflink: "true"
|
|
controllers:
|
|
home-assistant-code:
|
|
annotations:
|
|
reloader.stakater.com/auto: "true"
|
|
containers:
|
|
app:
|
|
image:
|
|
repository: ghcr.io/coder/code-server
|
|
tag: 4.100.2@sha256:0c31654f1125c3a685a42ed1f2946573f5ebaaf016c5bc0640c72f9f571267e0
|
|
env:
|
|
TZ: ${TIMEZONE}
|
|
GIT_SSH_COMMAND: ssh -i /config/.ssh/id_ed25519 -o IdentitiesOnly=yes
|
|
args:
|
|
- --auth
|
|
- none
|
|
- --user-data-dir
|
|
- /config/.vscode
|
|
- --extensions-dir
|
|
- /config/.vscode
|
|
- --port
|
|
- "8888"
|
|
- /config
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 128Mi
|
|
limits:
|
|
memory: 1Gi
|
|
pod:
|
|
securityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
fsGroup: 0
|
|
fsGroupChangePolicy: OnRootMismatch
|
|
service:
|
|
app:
|
|
controller: *app
|
|
ports:
|
|
http:
|
|
port: 8888
|
|
ingress:
|
|
app:
|
|
enabled: true
|
|
className: internal
|
|
hosts:
|
|
- host: &host hass-code.${SECRET_EXTERNAL_DOMAIN}
|
|
paths:
|
|
- path: /
|
|
service:
|
|
identifier: app
|
|
port: http
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
existingClaim: home-assistant
|