diff --git a/cluster/apps/default/dendron/dendron-config.yaml b/cluster/apps/default/dendron/dendron-config.yaml new file mode 100644 index 0000000..2595406 --- /dev/null +++ b/cluster/apps/default/dendron/dendron-config.yaml @@ -0,0 +1,10 @@ +kind: ConfigMap +apiVersion: v1 +metadata: + name: dendron-config + namespace: default +data: + config.yaml: | + bind-addr: 127.0.0.1:8080 + auth: none + cert: false \ No newline at end of file diff --git a/cluster/apps/default/dendron/helm-release.yaml b/cluster/apps/default/dendron/helm-release.yaml index a292985..987edc6 100644 --- a/cluster/apps/default/dendron/helm-release.yaml +++ b/cluster/apps/default/dendron/helm-release.yaml @@ -38,6 +38,7 @@ spec: annotations: cert-manager.io/cluster-issuer: letsencrypt-production traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd hosts: - host: &host "dendron.${SECRET_NEW_DOMAIN}" paths: @@ -60,6 +61,11 @@ spec: type: secret name: dendron-secret mountPath: /home/coder/.ssh + codeserver-config: + enabled: true + type: configmap + name: dendron-config + mountPath: /home/coder/.config/code-server/config.yaml resources: requests: diff --git a/cluster/apps/default/dendron/kustomization.yaml b/cluster/apps/default/dendron/kustomization.yaml index fd58ff6..46a8403 100644 --- a/cluster/apps/default/dendron/kustomization.yaml +++ b/cluster/apps/default/dendron/kustomization.yaml @@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./dendron-secret.sops.yaml +- ./dendron-config.yaml - ./helm-release.yaml \ No newline at end of file