k3s/test/e2e/manifest
Lubomir I. Ivanov 76906dd738 test: partially decouple from cmd/kubeadm
The test package imports cmd/kubeadm, which is far from ideal.
There are a couple of reasons for the import:
1) Marshaling of Ingress from api/extensions/v1beta1.

To fix that include a local function in e2e/manifest/manifest.go
that does that same as the kubeadm MarshalToYaml.

2) Using PKI helper function in apimachinery and auth tests.

To fix that include a new file under test/utils/pki_helpers.go
that only contains the required helpers instead of including the whole
kubeadm pkiutil package.

There is another related problem:
e2e_node/e2e_node_suite_test.go includes:
k8s.io/kubernetes/cmd/kubeadm/app/util/system

But this has to be done in a follow up.
2019-04-04 15:41:28 +03:00
..
BUILD test: partially decouple from cmd/kubeadm 2019-04-04 15:41:28 +03:00
manifest.go test: partially decouple from cmd/kubeadm 2019-04-04 15:41:28 +03:00
manifest_test.go Updating code to use TempDir in manifest test 2018-02-16 11:18:27 -08:00