Comments (7)
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.
Note that you can remove your insecure-skip-tls-verify: true
with version 2.6.1 of k8s
.
from k8s.
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.
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.
Thanks @mruoss , I came from the latest in bonny and it just stopped working from the latest upgrade.
from k8s.
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.
from k8s.
Related Issues (20)
- Source links in the documentation are incorrect HOT 3
- Read kube config from string
- 2.0.0-rc.1 doesn't work with kind clusters HOT 6
- Configuration of http_provider and discovery_driver is ignored HOT 13
- Large resources unusable with 2.0.0 HOT 6
- Does the watch steam handle disconnects in V2? HOT 13
- Patch strategy should be configurable HOT 5
- Streams resetting resource version HOT 4
- K8s.Conn.Config does not exist HOT 4
- Improve documentation on in-cluster connection HOT 5
- what is different between k8s lib and swarm ? HOT 2
- Support pods/logs subresource streaming HOT 5
- Exception raised when running too many get requests HOT 6
- Mint HTTPAdapter failure cycle spams errors HOT 1
- Hex.pm Usage Guide doc is unavailable HOT 2
- Http2 Adapter causing 500 requests HOT 10
- Long-lasting shell connection example is broken HOT 4
- Connections being closed -- K8s.Client.Mint.HTTPAdapter Connection closed for reading and writing - stopping this process. HOT 2
- ArgumentError in K8s.Client.Mint.ConnectionRegistry on TCP Connection HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k8s.