-
Epic
-
Resolution: Done
-
Normal
-
None
-
better DNS support for build time netpol generation (np-guard)
-
BU Product Work
-
False
-
-
True
-
Not Selected
-
Done
-
ROX-11643 - NP-Guard Features for inclusion into roxctl
-
0% To Do, 0% In Progress, 100% Done
-
-
Proposed
-
Security
-
-
-
Yes
-
0
User Problem
As an OpenShift developer/DevOps using ACS build time tools ( netpol generate) I want the default generated network policy to support Openshift's DNS.
While OpenShift dns pod listens on port 5353, the best way to achieve the correct mapping and avoid hard-coding is to use the logical port name `dns` as a string in the network policy itself.
Since the product is GA, a change of default behavior may warrant a heads-up in release notes and a warning in the command line about the expected change, to be implemented only 1 (or 2 ?) releases later
Documentation and release notes notes should call out the change in behavior and point affected users to use ` {{--dnsport 53` }}to maintain the older behavior
To summarize, these are the requested changes
- extend the ability of --dnsport flag to accept both numbers and strings.
See also NP-Guard integration roadmap
Definition of Done:
- logic implemented and merged into roxctl by IBM team
- Tests prepared and successfully passed by IBM team
- Documentation is updated by IBM team, working with doc team
- PR approved by ACS team