Skip to content

Commit

Permalink
add test-descheduler pod config
Browse files Browse the repository at this point in the history
  • Loading branch information
pravarag committed Apr 3, 2021
1 parent 8a715ba commit a72d824
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,19 @@ spec:
privileged: false
readOnlyRootFileSystem: true
runAsNonRoot: false
volumeMounts:
- mountPath: /tmp
name: volume
command:
- /bin/bash
- -ec
- /
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
chmod +x ./kubectl
mv ./kubectl /usr/local/bin/kubectl
/usr/local/bin/kubectl get pods --namespace kube-system | grep
/usr/local/bin/kubectl get pods --namespace kube-system | grep "Completed"
volumes:
- name: volume
hostPath:
path: /tmp
type: Directory
4 changes: 2 additions & 2 deletions test/run-helm-tests.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#!/bin/bash

# This runs helm tests for a release using `helm test` command
# K8S_VERSION=${KUBERNETES_VERSION:-v1.20.2}
K8S_VERSION=helm-test make image
K8S_VERSION=${KUBERNETES_VERSION:-v1.20.2}
VERSION=helm-test make image
wget https://github.com/kubernetes-sigs/kind/releases/download/v0.9.0/kind-linux-amd64
chmod +x kind-linux-amd64
mv kind-linux-amd64 kind
Expand Down

0 comments on commit a72d824

Please sign in to comment.