Skip to content
Snippets Groups Projects
vikunja-values-configmap.yaml 2.91 KiB
Newer Older
xeruf's avatar
xeruf committed
apiVersion: v1
kind: ConfigMap
metadata:
  name: stackspin-vikunja-test-values
  namespace: stackspout
data:
  # https://github.com/truecharts/charts/blob/master/charts/stable/vikunja/values.yaml
xeruf's avatar
xeruf committed
  values.yaml: |
    frontend:
      image:
        tag: unstable
        pullPolicy: Always
      ingress:
        main:
          enabled: true
          annotations:
            kubernetes.io/tls-acme: "true"
          hosts:
            - host: "do-test.${domain}"
              paths:
                 - path: /
                   pathType: Prefix
          tls:
            - secretName: vikunja-test-tls
              hosts:
                - "do-test.${domain}"
    api:
      image:
        tag: unstable
        pullPolicy: Always
      ingress:
        main:
          enabled: true
          annotations:
            kubernetes.io/tls-acme: "true"
          hosts:
            - host: "do-test.${domain}"
              paths:
                 - path: /
                   pathType: Prefix
          tls:
            - secretName: vikunja-test-tls
              hosts:
                - "do-test.${domain}"
      configMaps:
        config:
          data:
            config.yml: |-
              auth:
                openid:
                  # https://vikunja.io/docs/config-options/#openid
                  # Example: https://github.com/go-vikunja/api/blob/main/config.yml.sample#L289-L312
                  enabled: true
                  redirecturl: "https://do-test.${domain}/auth/openid/"
                  providers:
                    - name: Stackspin
                      authurl: "https://sso.${domain}/"
                      clientid: "${client_id}"
                      clientsecret: "${client_secret}"
              service:
                frontendurl: "https://do-test.${domain}"
                motd: "This is a test instance, do not use for production data as it can vanish without notice! Use Stackspin login, as usual."
                timezone: "CET"
                JWTSecret: "${jwt}"
              database:
                type: postgres
                host: vikunja-test-postgresql
                password: "${postgresql_password}"
              log:
                path: "/app/vikunja"
                http: stdout
                database: stderr
                databaselevel: debug
              defaultsettings:
                avatar_provider: gravatar
                discoverable_by_name: true
                discoverable_by_email: true
                week_start: 1
                timezone: CET
                # TODO default_project_id
    #persistence:
    #  files:
    #    labels:
    #      stackspin.net/backupSet: "vikunja"
xeruf's avatar
xeruf committed
    postgresql:
      enabled: true
      global:
        postgresql:
          database: vikunja
          username: vikunja
          password: "${postgresql_password}"
      persistence:
        enabled: true
        existingClaim: vikunja-postgres
xeruf's avatar
xeruf committed
    typesense:
      enabled: false