From edfdf4f8beb8de3dd763fe744655067d03923d8e Mon Sep 17 00:00:00 2001 From: "pawel.denst" Date: Mon, 5 Jun 2023 08:00:55 +0000 Subject: Modify Python ONAP SDK tests to not require kubeconfig Modify Python ONAP SDK tests to not require kubeconfig Issue-ID: INT-2247 Signed-off-by: pawel.denst Signed-off-by: Lukasz Rajewski Change-Id: I0d61250a2373d8549696cedaa2c0c5fb721d0e3b --- src/onaptests/templates/kubeconfig/kube_config.json.j2 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/onaptests/templates/kubeconfig/kube_config.json.j2 (limited to 'src/onaptests/templates') diff --git a/src/onaptests/templates/kubeconfig/kube_config.json.j2 b/src/onaptests/templates/kubeconfig/kube_config.json.j2 new file mode 100644 index 0000000..9614e2f --- /dev/null +++ b/src/onaptests/templates/kubeconfig/kube_config.json.j2 @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: Config +current-context: default +contexts: +- name: default +context: + cluster: cluster + user: cluster-admin + namespace: default +clusters: +- name: cluster +cluster: + insecure-skip-tls-verify: true + server: https://kubernetes.default.svc.cluster.local +users: +- name: cluster-admin +user: +token: {{ user_token_value }} \ No newline at end of file -- cgit 1.2.3-korg