---
coder:
  ingress:
    enable: false
  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-db-credentials-coder
          key: PQ_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