Skip to content

Commit

Permalink
refact(travis): bump minikube version v1.4.0 to use k8s v1.16.0 (#40)
Browse files Browse the repository at this point in the history
- update k8s version 1.16.0
- update k8s API's kind for statefulset and daemontset to
  use `apps/v1`

Signed-off-by: prateekpandey14 <[email protected]>
  • Loading branch information
prateekpandey14 authored and vishnuitta committed Oct 10, 2019
1 parent 8f7927d commit 4727200
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ install:
- make bootstrap
- make format
before_script:
- curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.14.2/bin/linux/amd64/kubectl
- curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.16.0/bin/linux/amd64/kubectl
&& chmod +x kubectl && sudo mv kubectl /usr/local/bin/
- curl -Lo minikube https://storage.googleapis.com/minikube/releases/v1.1.0/minikube-linux-amd64
- curl -Lo minikube https://storage.googleapis.com/minikube/releases/v1.4.0/minikube-linux-amd64
&& chmod +x minikube && sudo mv minikube /usr/local/bin/
- mkdir -p $HOME/.kube $HOME/.minikube
- touch $KUBECONFIG
- sudo minikube start --vm-driver=none --kubernetes-version=v1.14.2
- sudo minikube start --vm-driver=none --kubernetes-version=v1.16.0
- 'sudo chown -R travis: /home/travis/.minikube/'
- JSONPATH='{range .items[*]}{@.metadata.name}:{range @.status.conditions[*]}{@.type}={@.status};{end}{end}';
until kubectl get nodes -o jsonpath="$JSONPATH" 2>&1 | grep -q "Ready=True"; do
Expand Down
12 changes: 6 additions & 6 deletions deploy/csi-operator-ubuntu-18.04.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This manifest deploys the OpenEBS CSI control plane components,
# with associated CRs & RBAC rules. This manifest has been verified
# only with Ubuntu 16.04 and CentOS hosts, due to dependencies on
# kernel components of iSCSI protocol. For other ubuntu flavours and
# This manifest deploys the OpenEBS CSI control plane components,
# with associated CRs & RBAC rules. This manifest has been verified
# only with Ubuntu 16.04 and CentOS hosts, due to dependencies on
# kernel components of iSCSI protocol. For other ubuntu flavours and
# linux distros, this needs to be modified.
#
# Instructions to modify:
Expand Down Expand Up @@ -140,7 +140,7 @@ roleRef:

---
kind: StatefulSet
apiVersion: apps/v1beta1
apiVersion: apps/v1
metadata:
name: openebs-csi-controller
namespace: kube-system
Expand Down Expand Up @@ -400,7 +400,7 @@ roleRef:
---

kind: DaemonSet
apiVersion: apps/v1beta2
apiVersion: apps/v1
metadata:
name: openebs-csi-node
namespace: kube-system
Expand Down
12 changes: 6 additions & 6 deletions deploy/csi-operator.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This manifest deploys the OpenEBS CSI control plane components,
# with associated CRs & RBAC rules. This manifest has been verified
# only with Ubuntu 16.04 and CentOS hosts, due to dependencies on
# kernel components of iSCSI protocol. For other ubuntu flavours and
# This manifest deploys the OpenEBS CSI control plane components,
# with associated CRs & RBAC rules. This manifest has been verified
# only with Ubuntu 16.04 and CentOS hosts, due to dependencies on
# kernel components of iSCSI protocol. For other ubuntu flavours and
# linux distros, this needs to be modified.
#
# Instructions to modify:
Expand Down Expand Up @@ -140,7 +140,7 @@ roleRef:

---
kind: StatefulSet
apiVersion: apps/v1beta1
apiVersion: apps/v1
metadata:
name: openebs-csi-controller
namespace: kube-system
Expand Down Expand Up @@ -400,7 +400,7 @@ roleRef:
---

kind: DaemonSet
apiVersion: apps/v1beta2
apiVersion: apps/v1
metadata:
name: openebs-csi-node
namespace: kube-system
Expand Down

0 comments on commit 4727200

Please sign in to comment.