Giter Club home page Giter Club logo

Comments (5)

alfespa17 avatar alfespa17 commented on July 22, 2024

Hello @AlarleCKe

There is one link where you can find the information that is used for the UI to do the login.

https://terrakube-ui.your-domain.com/env-config.js

You could check if the UI is using the correct values there.

By the way, you don't need to include this part, unless you want to do some kind of customization:

## API properties
api:
  enabled: true
  defaultDatabase: false
  version: "2.10.0"
  replicaCount: "1"
  serviceType: "ClusterIP"
  properties:
    databaseType: "H2"

## Executor properties
executor:
  enabled: true
  version: "2.10.0"  
  replicaCount: "1"
  serviceType: "ClusterIP"
  properties:
    toolsRepository: "https://github.com/AzBuilder/terrakube-extensions"
    toolsBranch: "main"

## Registry properties
registry:
  enabled: true
  version: "2.10.0"
  replicaCount: "1"
  serviceType: "ClusterIP"

## UI Properties
ui:
  enabled: true
  version: "2.10.0"
  replicaCount: "1"
  serviceType: "ClusterIP"

The default values will be taken from here https://github.com/AzBuilder/terrakube-helm-chart/blob/main/charts/terrakube/values.yaml#L156

And it will use the latest version from the helm chart that is 2.13.0

from terrakube-helm-chart.

alfespa17 avatar alfespa17 commented on July 22, 2024

You could also check this example.

https://docs.terrakube.io/getting-started/kubernetes/azure-kubernetes-service

from terrakube-helm-chart.

AlarleCKe avatar AlarleCKe commented on July 22, 2024

Hello @alfespa17,

Hello @AlarleCKe

There is one link where you can find the information that is used for the UI to do the login.

https://terrakube-ui.your-domain.com/env-config.js

You could check if the UI is using the correct values there.

When I look at the content of https://terrakube-ui.your-domain.com/env-config.js all values are empty.
What is wondering me is that the secret terrakube-ui-secrets actually contains all the correct values, and is mounted to /app/env-config.js.

I quickly did an exec into the container, and noticed a env-config.js in the landing directory /usr/share/nginx/html.

After manually editing the file, and trying to login again, I´m being redirected to the Microsoft Portal.
I´m still getting the error AADSTS500113: No reply address is registered for the application., but I think this will be resolved when I walk through the getting started guide.

https://docs.terrakube.io/getting-started/kubernetes/azure-kubernetes-service

Do you have any idea what needs to be changed in order for the env-config.js to use the values in /app/env-config.js?

from terrakube-helm-chart.

alfespa17 avatar alfespa17 commented on July 22, 2024

Hello @AlarleCKe

I think there is a similar issue here.

And it was related to the nginx ingress version

from terrakube-helm-chart.

AlarleCKe avatar AlarleCKe commented on July 22, 2024

Hello @alfespa17,
the issue was that in my values.yaml I was refering to version 2.10.0 for the components. After using version 2.10.0 everything is working as expected!

from terrakube-helm-chart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.