From 25e047b4d11657b000d3dda4e10e50ca87fa4852 Mon Sep 17 00:00:00 2001 From: Michael Ruoss Date: Mon, 29 Apr 2024 22:18:55 +0200 Subject: [PATCH] set insecure_skip_tls_verify to false by default --- .vscode/settings.json | 2 +- lib/kino_k8s/connection_cell.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 231fb91..41a632c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,7 +2,7 @@ "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true, "editor.codeActionsOnSave": { - "source.organizeImports": true + "source.organizeImports": "explicit" }, "playwright.env": { "KUBECONTEXT": "kind-kino-k8s", diff --git a/lib/kino_k8s/connection_cell.ex b/lib/kino_k8s/connection_cell.ex index 36eacfd..afa59cb 100644 --- a/lib/kino_k8s/connection_cell.ex +++ b/lib/kino_k8s/connection_cell.ex @@ -18,7 +18,7 @@ defmodule KinoK8s.ConnectionCell do result_variable: Kino.SmartCell.prefixed_var_name("conn", attrs["result_variable"]), source_type: attrs["source_type"] || @default_source_type, source: attrs["source"] || @default_file, - opts: attrs["opts"] || %{"insecure_skip_tls_verify" => true} + opts: attrs["opts"] || %{"insecure_skip_tls_verify" => false} # running_on_k8s: File.exists?("/var/run/secrets/kubernetes.io/serviceaccount"), )