Skip to content
Snippets Groups Projects
Forked from stackspin / stackspin-flux-example
This fork has diverged from the upstream repository.
vikunja-values-configmap.yaml 3.27 KiB
apiVersion: v1
kind: ConfigMap
metadata:
  name: stackspin-vikunja-extra-values
  namespace: stackspout
data:
  # https://kolaente.dev/vikunja/helm-chart/src/branch/main/values.yaml
  values.yaml: |
    vikunja:
      persistence:
        data:
          existingClaim: vikunja-extra-files
      ingress:
        main:
          enabled: true
          annotations:
            kubernetes.io/tls-acme: "true"
          hosts:
            - host: "${vikunja_extra_domain}"
              paths:
                 - path: /
          tls:
            - secretName: vikunja-extra-tls
              hosts:
                - "${vikunja_extra_domain}"
      configMaps:
        api-config:
          data:
            config.yml: |-
              auth:
                openid:
                  # https://vikunja.io/docs/openid-example-configurations/
                  # Example: https://kolaente.dev/vikunja/vikunja/src/branch/main/config.yml.sample#L313
                  enabled: true
                  redirecturl: "https://${vikunja_extra_domain}/auth/openid/"
                  providers:
                    - name: Stackspin
                      authurl: "https://${hydra_domain}/"
                      clientid: "${client_id}"
                      clientsecret: "${client_secret}"
                local:
                  enabled: false
              mailer:
                enabled: "${outgoing_mail_enabled}"
                host: "${outgoing_mail_smtp_host}"
                port: "${outgoing_mail_smtp_port}"
                username: "${outgoing_mail_smtp_user}"
                password: "${outgoing_mail_smtp_password}"
                fromemail: "${outgoing_mail_from_address}"
                forcessl: true
              service:
                #rootpath: "/app/vikunja"
                #frontendurl: "https://${vikunja_extra_domain}"
                timezone: "CET"
                JWTSecret: "${jwt}"
                motd: "Welcome to ${domain_extra}!"
              database:
                type: postgres
                host: vikunja-extra-postgresql
                password: "${postgresql_password}"
              # https://vikunja.io/docs/config-options/#log
              log:
                standard: stderr
                level: debug
                databaselevel: debug
                mail: stderr
                maillevel: debug
              defaultsettings:
                avatar_provider: gravatar
                discoverable_by_name: true