nemonik / taiga-helm

A helm chart for Taiga
BSD 3-Clause "New" or "Revised" License
18 stars 20 forks source link

Can access via 'kubectl port-forward', but ingress results in a "Take me home" page #2

Closed karezza closed 3 years ago

karezza commented 3 years ago
$ k version
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.1", GitCommit:"632ed300f2c34f6d6d15ca4cef3d3c7073412212", GitTreeState:"clean", BuildDate:"2021-08-19T15:45:37Z", GoVersion:"go1.16.7", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.1", GitCommit:"632ed300f2c34f6d6d15ca4cef3d3c7073412212", GitTreeState:"clean", BuildDate:"2021-08-19T15:39:34Z", GoVersion:"go1.16.7", Compiler:"gc", Platform:"linux/amd64"}
$ cat ingress/ingress.yaml 
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: taiga
  namespace: taiga
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  ingressClassName: nginx
  tls:
  - hosts:
    - taiga.k-dev.harmony.net
    secretName: taiga.k-dev-tls
  rules:
  - host: taiga.k-dev.harmony.net
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: taiga-gateway
            port:
              number: 80
karezza commented 3 years ago

This worked with the following values:

env: 
  taigaURL: "https://taiga.k-dev.mydomain.net"
  taigaWebsocketsURL: "ws://localhost:9000"

  taigaSitesDomain: "localhost:9000"
  taigaSitesScheme: "http"

Note for others, it took quite awhile before the login that I created with createsuperuser started working. There must have been some internal things getting setup.

nemonik commented 3 years ago

Yep. It takes a while for the Taiga DB to be created... etc..

jen1g commented 1 year ago

@karezza I get the same error ("Take me home"), how can I fix it?