Commit 8a9b3f7
authored
kctrl: Add secret flag for package repo add/update (#1612)
* Add secret flag for PackageRepository CRD in cli
Signed-off-by: Devanshu <[email protected]>
* Removed whitespace check
Signed-off-by: Devanshu <[email protected]>
* Changed flagname to secretref
also added a shorthand for secretref flag
Signed-off-by: Devanshu <[email protected]>
* Add hyphen(-) in flag name, remove shorthand
Signed-off-by: Devanshu <[email protected]>
* Add dry-run test for secret-ref flag
Signed-off-by: Devanshu <[email protected]>
---------
Signed-off-by: Devanshu <[email protected]>1 parent 2a68e24 commit 8a9b3f7
File tree
2 files changed
+40
-0
lines changed- cli
- pkg/kctrl/cmd/package/repository
- test/e2e
2 files changed
+40
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
| 124 | + | |
122 | 125 | | |
123 | 126 | | |
124 | 127 | | |
| |||
257 | 260 | | |
258 | 261 | | |
259 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
260 | 267 | | |
261 | 268 | | |
262 | 269 | | |
| |||
316 | 323 | | |
317 | 324 | | |
318 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
319 | 330 | | |
320 | 331 | | |
321 | 332 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
0 commit comments