Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chart forces svc.cluster.local in service names #151

Open
deefdragon opened this issue Nov 15, 2023 · 3 comments
Open

chart forces svc.cluster.local in service names #151

deefdragon opened this issue Nov 15, 2023 · 3 comments
Assignees

Comments

@deefdragon
Copy link

I have deployed my cluster with a custom domain. This results in svc.example.com as my root for all of my services, meaning that the current default deployed cluster, which uses svc.cluster.local can not boot the api pods.

@dabeeeenster
Copy link
Contributor

Can you provide more details as well as your values file?

@deefdragon
Copy link
Author

deefdragon commented Nov 15, 2023

"api":
  "livenessProbe":
    "timeoutSeconds": 4
"ingress":
  "api":
    "enabled": true
    "hosts":
    - "host": "flags.example.com"
      "paths":
      - "/"
  "frontend":
    "enabled": true
    "hosts":
    - "flagsmith.example.com"

The issue is that the env value in the deployment generated for the influx connection, INFLUXDB_URL has a hardcoded domain ending. Its obviously not the only var to have this problem, just the one I encountered first.

This should be solvable by adding a config option to the values to override svc.cluster.local with some other dns value. I am unsure if this way that other charts do this however, and what the normal method for dealing with this situation is. I suspect bitnami has had to deal with this exact issue previously, so Id reference them.

@dabeeeenster
Copy link
Contributor

OK will take a look cc @khvn26 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants