infrastructure/k8s/roles/coder/templates/values.coder.yml.j2
Peter Kurfer 2578e6951d
All checks were successful
continuous-integration/drone/push Build is passing
refactor: use SOPS to encrypt secrets
2023-10-26 21:57:43 +02:00

63 lines
No EOL
1.8 KiB
Django/Jinja

---
coder:
ingress:
enable: true
host: ide.icb4dc0.de
wildcardHost: "*.ide.icb4dc0.de"
annotations:
gethomepage.dev/description: Remote IDE
gethomepage.dev/enabled: "true"
gethomepage.dev/group: Apps
gethomepage.dev/icon: coder.png
gethomepage.dev/name: Coder
env:
- name: CODER_WILDCARD_ACCESS_URL
value: '*.ide.icb4dc0.de'
- name: CODER_ACCESS_URL
value: "https://ide.icb4dc0.de"
- name: CODER_PG_CONNECTION_URL
valueFrom:
secretKeyRef:
name: coder-secrets
key: DB_URL
- name: CODER_DISABLE_PASSWORD_AUTH
value: "true"
- name: CODER_OIDC_ISSUER_URL
value: "https://code.icb4dc0.de/"
- name: CODER_OIDC_SIGN_IN_TEXT
value: "Sign in with Gitea"
- name: CODER_OIDC_ICON_URL
value: https://gitea.io/images/gitea.png
- name: CODER_OIDC_CLIENT_ID
valueFrom:
secretKeyRef:
name: coder-secrets
key: OIDC_CLIENT_ID
- name: CODER_OIDC_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: coder-secrets
key: OIDC_CLIENT_SECRET
- name: CODER_GITAUTH_0_ID
value: primary-forgejo
- name: CODER_GITAUTH_0_TYPE
value: gitlab
- name: CODER_GITAUTH_0_AUTH_URL
value: https://code.icb4dc0.de/login/oauth/authorize
- name: CODER_GITAUTH_0_TOKEN_URL
value: https://code.icb4dc0.de/login/oauth/access_token
- name: CODER_GITAUTH_0_VALIDATE_URL
value: https://code.icb4dc0.de/login/oauth/userinfo
- name: CODER_GITAUTH_0_CLIENT_ID
valueFrom:
secretKeyRef:
name: coder-secrets
key: OIDC_CLIENT_ID
- name: CODER_GITAUTH_0_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: coder-secrets
key: OIDC_CLIENT_SECRET
service:
type: ClusterIP