-
Notifications
You must be signed in to change notification settings - Fork 11
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
Conversation
Signed-off-by: seshapad <seshapad@in.ibm.com>
Thanks for making a pull request! 😃 |
There was a problem hiding this 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'] |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
pathMappings.append({'type': 'Default', \ | ||
'sourcePath': yamlsPath, \ | ||
'destinationPath': fs.pathjoin("deploy", "yamls")}) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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>
Signed-off-by: seshapad seshapad@in.ibm.com