airshipctl/pkg/k8s/kubeconfig
Ruslan Aliev 92ce88fc29 Allow relative and ~ path for container mount
This patch allow to specify relative and home (~/) path for container
mounts.src field. In case if specified path is not absolute, it will be
created by following pattern: 'targetPath+mounts.src'; in case if path
contains ~/ - it will be properly expanded (it will allow us to mount
~/.airship working directory).

Change-Id: I878094371a2bc4e48216b1d076e466e3d29a86f6
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #484
Closes: #484
2021-03-25 16:41:30 -05:00
..
testdata Add multiple kubeconifg sources to ClusterMap 2021-03-10 18:22:30 +00:00
testdata_fail Extend kubeconfig interface for document bundle 2020-08-25 14:20:04 +04:00
builder.go Allow relative and ~ path for container mount 2021-03-25 16:41:30 -05:00
builder_test.go Kubeconf builder to return single cluster kubeconf 2021-03-16 15:53:40 +00:00
errors.go Allow relative and ~ path for container mount 2021-03-25 16:41:30 -05:00
kubeconfig.go Allow relative and ~ path for container mount 2021-03-25 16:41:30 -05:00
kubeconfig_test.go Extend kubeconfig builder 2021-02-10 14:52:39 +00:00