Disable internal code-server auth, use authentik
This commit is contained in:
parent
276e17e028
commit
644e67f110
|
@ -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
|
|
@ -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:
|
||||
|
|
|
@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
resources:
|
||||
- ./dendron-secret.sops.yaml
|
||||
- ./dendron-config.yaml
|
||||
- ./helm-release.yaml
|
Loading…
Reference in New Issue