Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Route-Domain suffix %rd in virtualServerAddress of IngressLink CR #3416

Closed
adityoari opened this issue May 14, 2024 · 1 comment
Closed
Labels

Comments

@adityoari
Copy link

Title

Enable Route-Domain suffix %rd in virtualServerAddress of IngressLink CR

Description

Enhance IngressLink to accept %rd suffix in spec.virtualServerAddress

Actual Problem

Deploying IngressLink CR to CIS v2.16.1 having the virtualServerAddress value in the format of ip%rd immediately rejected by the API with the following error.

The IngressLink "ingresslink1" is invalid: spec.virtualServerAddress: Invalid value: "10.0.0.136%10": spec.virtualServerAddress in body should match '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$'

Seems like the parameter validator/parser only accept raw IPv4 octets and doesn't even consider any %RD notation.

Solution Proposed

Enhance the IngressLink CR to correctly identify, parse, and apply the %RD notation, just like VirtualServer or TransportServer CRs.

Alternatives

Expose the RD as separate parameter, e.g. spec.virtualServerRD
This would be inconsistent with other CRs so please only consider this as the last option.

Additional context

Due to network environment constraints, customer requires VS to be in the different RD than the partition default RD used by the Pool Members.

@adityoari
Copy link
Author

Closing this issue and merging the use-case to issue #3418

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant