feat: add node-red vscode addon

This commit is contained in:
auricom
2021-04-16 17:31:18 +02:00
parent 853e0f446d
commit 1cd9ca9e2d
2 changed files with 33 additions and 0 deletions

View File

@@ -84,6 +84,8 @@ spec:
enabled: true enabled: true
annotations: annotations:
kubernetes.io/ingress.class: "nginx" kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/auth-url: "http://authelia.networking.svc.cluster.local/api/verify"
nginx.ingress.kubernetes.io/auth-signin: "https://login.${SECRET_CLUSTER_DOMAIN}/"
hosts: hosts:
- host: hass-config.${SECRET_CLUSTER_DOMAIN} - host: hass-config.${SECRET_CLUSTER_DOMAIN}
paths: paths:

View File

@@ -48,3 +48,34 @@ spec:
tls: tls:
- hosts: - hosts:
- node-red.${SECRET_CLUSTER_DOMAIN} - node-red.${SECRET_CLUSTER_DOMAIN}
addons:
codeserver:
enabled: true
image:
repository: codercom/code-server
tag: 3.9.3
workingDir: "/data/projects"
args:
- --auth
- "none"
- --user-data-dir
- "/data/projects/.vscode"
- --extensions-dir
- "/data/projects/.vscode"
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/auth-url: "http://authelia.networking.svc.cluster.local/api/verify"
nginx.ingress.kubernetes.io/auth-signin: "https://login.${SECRET_CLUSTER_DOMAIN}/"
hosts:
- host: node-red-config.${SECRET_CLUSTER_DOMAIN}
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- node-red-config.${SECRET_CLUSTER_DOMAIN}
volumeMounts:
- name: data
mountPath: /data