Coder Social home page Coder Social logo

hostname issues about k8s HOT 7 CLOSED

edbonddevo avatar edbonddevo commented on June 12, 2024
hostname issues

from k8s.

Comments (7)

mruoss avatar mruoss commented on June 12, 2024 1

Yeah this is still not very clear to me why HTTPoison let this skip and Mint doesn't. You probably know this but you can fix it by using K8s.Conn.from_service_account(insecure_skip_tls_verify: true).

from k8s.

mruoss avatar mruoss commented on June 12, 2024 1

Note that you can remove your insecure-skip-tls-verify: true with version 2.6.1 of k8s.

from k8s.

edbonddevo avatar edbonddevo commented on June 12, 2024

This works as well as a workaround

  def get!(:dev) do
    {:ok, conn} =
      K8s.Conn.from_file("~/.kube/config",
        context: "minikube"
      )

    conn
    |> Map.merge(%{insecure_skip_tls_verify: true})
  end

from k8s.

mruoss avatar mruoss commented on June 12, 2024

Yes this is known. See #203 and the migration doc: https://hexdocs.pm/k8s/migrations.html#local-clusters-and-tls-hostname-verification

An option might be helpful, yes.

from k8s.

edbonddevo avatar edbonddevo commented on June 12, 2024

Thanks @mruoss , I came from the latest in bonny and it just stopped working from the latest upgrade.

from k8s.

awoimbee avatar awoimbee commented on June 12, 2024

Hi, I'm upgrading from v1.1 to v2.4 and I get the exact same issue, except I'm running EKS (1.27), so I expect TLS certs to be good, I'm creating connections via K8s.Conn.from_service_account().
IDK what to do to get you more logs of what's happening.

from k8s.

mruoss avatar mruoss commented on June 12, 2024

#7968

from k8s.

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.