2024-01-23 01:17:39 +00:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
2023-07-22 02:26:54 +00:00
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
2023-07-22 02:29:04 +00:00
|
|
|
name: dendron
|
2023-07-22 02:26:54 +00:00
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
interval: 5m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
|
|
|
version: 1.3.x
|
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjws-charts
|
|
|
|
namespace: flux-system
|
|
|
|
|
|
|
|
values:
|
|
|
|
image:
|
|
|
|
repository: oci.${SECRET_NEW_DOMAIN}/seanomik/dendron-codeserver
|
2023-07-25 22:18:40 +00:00
|
|
|
tag: v0.0.3
|
2023-07-22 02:26:54 +00:00
|
|
|
|
2023-07-22 03:07:40 +00:00
|
|
|
imagePullSecrets:
|
2023-07-22 03:40:09 +00:00
|
|
|
- name: orca-puller
|
2023-07-22 03:07:40 +00:00
|
|
|
|
2023-07-22 02:26:54 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: 8080
|
|
|
|
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
ingress:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
2023-07-24 05:27:16 +00:00
|
|
|
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
|
2023-07-22 02:26:54 +00:00
|
|
|
hosts:
|
|
|
|
- host: &host "dendron.${SECRET_NEW_DOMAIN}"
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- *host
|
2023-07-25 22:18:40 +00:00
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsNonRoot: true
|
|
|
|
runAsUser: 10000
|
|
|
|
runAsGroup: 10000
|
|
|
|
fsGroup: 10000
|
|
|
|
fsGroupChangePolicy: OnRootMismatch
|
|
|
|
|
2023-07-22 02:26:54 +00:00
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
|
|
|
type: hostPath
|
2023-07-25 22:18:40 +00:00
|
|
|
hostPath: /mnt/MainPool/Kubernetes/dendron/notes
|
2023-07-22 02:26:54 +00:00
|
|
|
mountPath: /notes
|
2023-07-25 22:18:40 +00:00
|
|
|
user-config:
|
|
|
|
enabled: true
|
|
|
|
type: hostPath
|
|
|
|
hostPath: /mnt/MainPool/Kubernetes/dendron/code-settings
|
|
|
|
mountPath: /home/coder/.local/share/code-server/User
|
|
|
|
ssh-private:
|
|
|
|
enabled: true
|
|
|
|
type: secret
|
|
|
|
name: dendron-secret
|
|
|
|
readOnly: false
|
|
|
|
mountPath: /home/coder/.ssh/id_rsa
|
|
|
|
subPath: id_rsa
|
|
|
|
ssh-config:
|
2023-07-22 02:26:54 +00:00
|
|
|
enabled: true
|
|
|
|
type: secret
|
|
|
|
name: dendron-secret
|
2023-07-25 22:18:40 +00:00
|
|
|
readOnly: false
|
|
|
|
mountPath: /home/coder/.ssh/config
|
|
|
|
subPath: config
|
2023-07-24 05:27:16 +00:00
|
|
|
codeserver-config:
|
|
|
|
enabled: true
|
2023-07-25 22:18:40 +00:00
|
|
|
type: configMap
|
2023-07-24 05:27:16 +00:00
|
|
|
name: dendron-config
|
2023-07-25 22:18:40 +00:00
|
|
|
readOnly: false
|
2023-07-24 05:30:46 +00:00
|
|
|
mountPath: /home/coder/.config/code-server
|
2023-07-22 02:26:54 +00:00
|
|
|
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 1m
|