@@ -54,7 +54,7 @@ using [`dep`][2].
5454 3. Ensure you have [` $KUBECONFIG`][4] to the Kubernetes configuration file for
5555 your cluster.
5656
57- 4. Execute `make run-dev`
57+ 4. Execute `GOOS=darwin make run-dev`
5858
5959# # DaemonSet manifests
6060
@@ -64,32 +64,18 @@ proviso that the version has been pushed to Github, the CI pipeline has
6464passed, and `HEAD` is pointed to the commit in question. You can then execute
6565the following to run the CCM as a DaemonSet (RBAC optional) :
6666
67- ` ` `
67+ ` ` ` console
6868$ kubectl apply -f dist/oci-cloud-controller-manager.yaml
6969$ kubectl apply -f dist/oci-cloud-controller-manager-rbac.yaml
7070` ` `
7171
72- # # Running the integration tests
73-
74- Create a `cloud-provider.yaml` as detailed above, select two separate
75- subnets for nodes, and execute the following (substituting in the node subnet
76- OCIDs) :
77-
78- ` ` `
79- $ OCI_CONFIG_FILE=cloud-provider.yaml \
80- NODE_SUBNET_ONE=ocid1.subnet.oc1.phx.aa... \
81- NODE_SUBNET_TWO=ocid1.subnet.oc1.phx.aa... \
82- go test -timeout 45m -v ./test/integration/loadbalancer
83- ` ` `
84-
85-
8672# # Running the e2e tests
8773
8874The e2e test suite requires the version of the CCM under test to be installed in
8975the cluster referenced via the `--kubeconfig` flag.
9076
91- ```
92- $ go test -timeout 45m -v ./ test/e2e/ -- kubeconfig=" $HOME/.kube/config"
77+ ` ` ` console
78+ $ ginkgo -v -progress test/e2e -- -- kubeconfig=$HOME/.kube/config --cloud-config="$(pwd)/cloud-provider.yaml "
9379` ` `
9480
9581[1] : https://www.docker.com/
0 commit comments