-
Notifications
You must be signed in to change notification settings - Fork 260
pack released version of azure-vnet for CNI Installer #1525
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
Conversation
|
completing in parts since there isn't a release for azure-ipam yet. later I'd like to discuss how to create the release. |
rbtr
left a comment
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.
looks good to me, ty 🚀
dropgz/build/cni.Dockerfile
Outdated
| ARG VERSION | ||
| ARG OS | ||
| ARG ARCH | ||
| ENV OS=${OS} |
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 you need to reassign the arg to an env variable like this? is it because we use it in a RUN?
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.
oh, just ran make without the env variable assignment and was able to build without those lines. removed it from the pr
| COPY dropgz . | ||
| COPY --from=azure-ipam /azure-ipam/*.conflist pkg/embed/fs | ||
| COPY --from=azure-ipam /azure-ipam/bin/* pkg/embed/fs | ||
| COPY --from=azure-vnet /azure-container-networking/cni/*.conflist pkg/embed/fs |
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.
it would be nice to parameterize the conflist copy by $OS and copy to a generic name (eg azure-linux-swift.conflist -> azure-swift.conflist) to make the installation that little bit more platform-agnostic
Reason for Change:
update cni.Dockerfile to pack released version of azure-vnet instead of local version.
Issue Fixed:
Requirements:
Notes: