Commit 0499f4c
authored
Fix DP installation scripts for custom NP controller (#68)
<!-- Thanks for sending a pull request! Here are some tips for you:
1. Ensure you have added the unit tests for your changes.
2. Ensure you have included output of manual testing done in the Testing
section.
3. Ensure number of lines of code for new or existing methods are within
the reasonable limit.
4. Ensure your change works on existing clusters after upgrade.
-->
**What type of PR is this?**
scripts fix
<!--
Add one of the following:
bug
cleanup
documentation
feature
-->
**Which issue does this PR fix**:
Fixes an issues with DP installation scripts when passing a custom
controller image
**What does this PR do / Why do we need it**:
Fixes the installation scripts, so that a developer can use either -
`make deploy-controller-on-dataplane AMAZON_NP_CONTROLLER=<image-uri>` -
Deploy the controller on dataplane
`make deploy-and-test AMAZON_NP_CONTROLLER=<image-uri>
CLUSTER_NAME=<cluster_name>` - Deploy the controller on dataplane,
disable the controller on control-plane and runs cyclonus test
**If an issue # is not available please add steps to reproduce and the
controller logs**:
N/A
**Testing done on this change**:
Yes, locally tested the script changes
<!--
output of manual testing/integration tests results and also attach logs
showing the fix being resolved
-->
**Automation added to e2e**:
N/A
<!--
List the e2e tests you added as part of this PR.
If no, create an issue with enhancement/testing label
-->
**Will this PR introduce any new dependencies?**:
N/A
<!--
e.g. new K8s API
-->
**Will this break upgrades or downgrades. Has updating a running cluster
been tested?**:
N/A
**Does this PR introduce any user-facing change?**:
N/A
<!--
If yes, a release note update is required:
Enter your extended release note in the block below. If the PR requires
additional actions
from users switching to the new release, include the string "action
required".
-->
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.File tree
3 files changed
+9
-9
lines changed- scripts
- lib
3 files changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments