Commit 3dc3616
allow customization of service http and https port names through helm (#7318)
* allow customization of service http and https port names through helm chart
This change allows users to customize the names of the NIC service's http and https ports through a helm chart. It adds defaults which are the same as the previous hardcoded values in the helm chart, thereby ensuring backwards compatibility.
This change will enable users of NIC to more smoothly integrate with NGINXaaS's AKS functionality. Our load balancer for kubernetes discovers the upstream name and upstream type that it needs to update by parsing service port names, so we need to allow users of our service to easily customize port names.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent b1e6af7 commit 3dc3616
File tree
3 files changed
+32
-6
lines changed- charts/nginx-ingress
- templates
3 files changed
+32
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1346 | 1346 | | |
1347 | 1347 | | |
1348 | 1348 | | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
1349 | 1357 | | |
1350 | 1358 | | |
1351 | 1359 | | |
1352 | 1360 | | |
1353 | 1361 | | |
1354 | 1362 | | |
1355 | 1363 | | |
1356 | | - | |
| 1364 | + | |
| 1365 | + | |
1357 | 1366 | | |
1358 | 1367 | | |
1359 | 1368 | | |
| |||
1396 | 1405 | | |
1397 | 1406 | | |
1398 | 1407 | | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
1399 | 1416 | | |
1400 | 1417 | | |
1401 | 1418 | | |
1402 | 1419 | | |
1403 | 1420 | | |
1404 | | - | |
| 1421 | + | |
| 1422 | + | |
1405 | 1423 | | |
1406 | 1424 | | |
1407 | 1425 | | |
| |||
1432 | 1450 | | |
1433 | 1451 | | |
1434 | 1452 | | |
1435 | | - | |
| 1453 | + | |
| 1454 | + | |
1436 | 1455 | | |
1437 | 1456 | | |
1438 | 1457 | | |
1439 | 1458 | | |
1440 | | - | |
| 1459 | + | |
| 1460 | + | |
1441 | 1461 | | |
1442 | 1462 | | |
1443 | 1463 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
481 | 484 | | |
482 | 485 | | |
483 | 486 | | |
| |||
491 | 494 | | |
492 | 495 | | |
493 | 496 | | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
494 | 500 | | |
495 | 501 | | |
496 | 502 | | |
| |||
0 commit comments