Skip to content

Configurable ingressClassName and ingress access type#2409

Open
AryanP123 wants to merge 1 commit intoskupperproject:mainfrom
AryanP123:ingress-class
Open

Configurable ingressClassName and ingress access type#2409
AryanP123 wants to merge 1 commit intoskupperproject:mainfrom
AryanP123:ingress-class

Conversation

@AryanP123
Copy link
Copy Markdown
Contributor

Fixes #2397

Copy link
Copy Markdown
Member

@fgiorgetti fgiorgetti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor comment, but it seems to work.
Not sure, though, how it is effectively going to work, since we do not set controller specific settings for ssl-passthrough other than nginx.

}

// routerAccessSettingsMerge copies existing RouterAccess settings, then applies
// site.spec.settings.ingressClassName when that key is present (non-empty sets,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the ingressClassName is provided through a RouterAccess and through the Site, the one provided through the Site resource is overwriting this one. Is this the desired behavior?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My thought process was that we still want users to configure it on the Site (with linkAccess), so we copy Site.spec.settings.ingressClassName into the controller-managed RouterAccess. Without that, the Site field would have no effect on the Ingress. When the key is absent on the Site, we don’t change whatever is already on RouterAccess. Let me know your thoughts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for specifying IngressClass/IngressController in Skupper-managed Ingress resources

2 participants