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

feat: Added ingress annotator #4

Merged
merged 3 commits into from
Oct 28, 2021
Merged

Conversation

seshapad
Copy link
Member

Signed-off-by: seshapad seshapad@in.ibm.com

Signed-off-by: seshapad <seshapad@in.ibm.com>
@github-actions
Copy link

Thanks for making a pull request! 😃
One of the maintainers will review and advise on the next steps.

@seshapad seshapad changed the title Added ingress annotator feat: Added ingress annotator Oct 28, 2021
@github-actions github-actions bot added the feat label Oct 28, 2021
Copy link
Member

@ashokponkumar ashokponkumar left a comment

Choose a reason for hiding this comment

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

Thanks Nabha. Few suggestions.

md = yamlData['metadata']
d = {}
if 'annotations' in md:
d = md['annotations']
Copy link
Member

Choose a reason for hiding this comment

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

Do we need d? Why not directly edit yamlData?

Copy link
Member Author

Choose a reason for hiding this comment

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

done

Comment on lines 46 to 48
pathMappings.append({'type': 'Default', \
'sourcePath': yamlsPath, \
'destinationPath': fs.pathjoin("deploy", "yamls")})
Copy link
Member

Choose a reason for hiding this comment

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

Can we format this line to be more readable by say aligning the values?

Copy link
Member Author

Choose a reason for hiding this comment

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

done

Signed-off-by: seshapad <seshapad@in.ibm.com>
Signed-off-by: seshapad <seshapad@in.ibm.com>
@ashokponkumar ashokponkumar merged commit b727011 into konveyor:main Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants