diff options
author | pawel.denst <pawel.denst@external.t-mobile.pl> | 2023-06-05 08:00:55 +0000 |
---|---|---|
committer | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2023-06-15 18:42:22 +0000 |
commit | edfdf4f8beb8de3dd763fe744655067d03923d8e (patch) | |
tree | fbdb3483ccfa38bad0527517d8cef799d53bfd7b /src/onaptests/templates | |
parent | c458ace517bb640de7ec05cd2a26e33cfcac21e2 (diff) |
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 <pawel.denst@external.t-mobile.pl>
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Change-Id: I0d61250a2373d8549696cedaa2c0c5fb721d0e3b
Diffstat (limited to 'src/onaptests/templates')
-rw-r--r-- | src/onaptests/templates/kubeconfig/kube_config.json.j2 | 18 |
1 files changed, 18 insertions, 0 deletions
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 |