File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 52
52
53
53
export KIND_K8S_VERSION=" ${KIND_K8S_VERSION:- " v1.28.0" } "
54
54
tools_k8s_version=$( convert_to_tools_ver " ${KIND_K8S_VERSION# v* } " )
55
- kind_version=0.15 .0
55
+ kind_version=0.20 .0
56
56
goarch=amd64
57
57
58
58
if [[ " $OSTYPE " == " linux-gnu" ]]; then
Original file line number Diff line number Diff line change @@ -56,11 +56,11 @@ function delete_cluster {
56
56
function test_cluster {
57
57
local flags=" $@ "
58
58
59
- docker pull memcached:1.4.36 -alpine
60
- kind load docker-image --name $KIND_CLUSTER memcached:1.4.36 -alpine
59
+ docker pull memcached:1.6.23 -alpine
60
+ kind load docker-image --name $KIND_CLUSTER memcached:1.6.23 -alpine
61
61
62
- docker pull busybox:1.28
63
- kind load docker-image --name $KIND_CLUSTER busybox:1.28
62
+ docker pull busybox:1.36.1
63
+ kind load docker-image --name $KIND_CLUSTER busybox:1.36.1
64
64
65
65
go test $( dirname " $0 " ) /grafana $flags -timeout 30m
66
66
go test $( dirname " $0 " ) /deployimage $flags -timeout 30m
@@ -70,11 +70,12 @@ function test_cluster {
70
70
}
71
71
72
72
function build_sample_external_plugin {
73
- # TODO: Dynamically set exteranl plugin destination based on OS platform
74
- # EXTERNAL_PLUGIN_DESTINATION_PREFIX="${HOME}/Library/Application Support/kubebuilder/plugins"
75
- # For Linux:
76
- XDG_CONFIG_HOME=" ${HOME} /.config"
77
- EXTERNAL_PLUGIN_DESTINATION_PREFIX=" $XDG_CONFIG_HOME /kubebuilder/plugins"
73
+ if [ " $( uname -s) " == " Darwin" ]; then
74
+ EXTERNAL_PLUGIN_DESTINATION_PREFIX=" ${HOME} /Library/Application Support/kubebuilder/plugins"
75
+ else
76
+ XDG_CONFIG_HOME=" ${HOME} /.config"
77
+ EXTERNAL_PLUGIN_DESTINATION_PREFIX=" $XDG_CONFIG_HOME /kubebuilder/plugins"
78
+ fi
78
79
79
80
PLUGIN_NAME=" sampleexternalplugin"
80
81
PLUGIN_VERSION=" v1"
You can’t perform that action at this time.
0 commit comments