File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 48
48
uses : test/daemon-check-output
49
49
with :
50
50
setup : |
51
+ # grab the node name
52
+ NODE=$(kubectl get nodes --no-headers \
53
+ -o custom-columns=NAME:.metadata.name | head -n1)
54
+ # we'll have to label the node so that the operator recognizes our cluster as an aks cluster
55
+ # kwok is not recognized as a provider, https://github.com/rancher/kubernetes-provider-detector/tree/master/providers
56
+ kubectl label node "$NODE" kubernetes.azure.com/cluster=""
51
57
kubectl apply -f https://raw.githubusercontent.com/rancher/cis-operator/refs/heads/main/crds/clusterscan.yaml
52
58
kubectl apply -f https://raw.githubusercontent.com/rancher/cis-operator/refs/heads/main/crds/clusterscanbenchmark.yaml
53
59
kubectl apply -f https://raw.githubusercontent.com/rancher/cis-operator/refs/heads/main/crds/clusterscanprofile.yaml
You can’t perform that action at this time.
0 commit comments