Giter Club home page Giter Club logo

Comments (2)

AurelienConte avatar AurelienConte commented on June 19, 2024 2

Hi back!

I think I can say "My bad" because today after re-installing the chart there were no problems at all ...
I don't know why my instances couldn't connect to the Postgresql included in the helm chart.

I was not aware that the /etc/resolv.conf was filled automatically

We can close this issue since it was more a setup problem than a chart problem.

Thanks for your time!

from infisical.

Grraahaam avatar Grraahaam commented on June 19, 2024

Hey @AurelienConte ! It's indeed a good practice to define the entire FQDN if ever you move services between namespaces (doesnt happen that often) or just to be sure to point to the right one.

Although, the kubelet automatically configure a /etc/resolf.conf in each pod for it to be able to resolve any hosts in the same namespace, so the current helm template works as expected.

$ cat /etc/resolv.conf 
search my-service.svc.cluster.local svc.cluster.local cluster.local my-namespace
nameserver 10.32.0.10
options ndots:5

If you want to point to a different postgresql instance (managed externally) you can configure it in the DB_CONNECTION_URI variable in the infisical-secrets k8s secret used by the infisical pod to get default/extra configs.

However, I don't understand why your instance isn't starting, it should.. Do you have any useful logs? Are you sure it's related to the DB_CONNECTION_URI?

Hope it helps

from infisical.

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.