Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

Commit 8d44a10

Browse files
committed
metrics - Fix kind configuration
1 parent 370be09 commit 8d44a10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

samples/kind/create-kind-cluster.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ config=$TMPDIR/create-kind-cluster-no-networking-policies.yaml
22
cat samples/kind/create-kind-cluster.yaml|sed '/networking/,$d' > $config
33
kind create cluster --config $config
44
rm -f $config
5-
export KUBECONFIG="$(kind get kubeconfig-path --name="kind")"
5+
kubectx kind-kind
66
. $(dirname $0)/setup-requirements.sh

samples/kind/provisioner_generated.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ data:
3434
volumeMode: Filesystem
3535
fsType: ext4
3636
---
37-
apiVersion: extensions/v1beta1
37+
apiVersion: apps/v1
3838
kind: DaemonSet
3939
metadata:
4040
name: local-volume-provisioner

0 commit comments

Comments
 (0)