Skip to content

Fix creating sync components with EA type set to Managed and headless svc #1314

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

Merged
merged 3 commits into from
May 24, 2023

Conversation

nikita-vanyasin
Copy link
Contributor

@nikita-vanyasin nikita-vanyasin commented May 24, 2023

If customer uses "Type=Managed" for SyncExternalAccessSpec AND uses headless service (ClusterIP=None) then sync pods won't be created due to an error while creating a HostAlias for pod.

The code in syncHostAlias method still not perfect because it assumes that EA service name would be always <depl-name>-sync. That should be fixed in separate ticket.

@nikita-vanyasin nikita-vanyasin requested review from ajanikow and a team May 24, 2023 13:33
@cla-bot cla-bot bot added the cla-signed label May 24, 2023
Copy link
Contributor

@informalict informalict left a comment

Choose a reason for hiding this comment

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

lgtm

@ajanikow ajanikow merged commit be26f9a into master May 24, 2023
@ajanikow ajanikow deleted the bugfix/proper-hostalias-for-sync-managed-svc branch May 24, 2023 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants