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

Add spec and Dockerfile for the CD integration #1

Merged
merged 1 commit into from Sep 6, 2018

Conversation

tsmetana
Copy link
Member

@tsmetana tsmetana commented Sep 5, 2018

This is the spec file and Docker file to add Manila provisioner rpm/image builds to the OpenShift CD managment.

@childsb PTAL, I'm asking this to be merged to release-3.11 branch.

NONE

io.k8s.description="This is a component of OpenShift Container Platform which allows to provision persistent volumes using OpenStack Manila API." \
io.openshift.tags="openshift,manila,openstack"

CMD /usr/bin/manila-provisioner
Copy link
Member

Choose a reason for hiding this comment

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

Since [1] accepts some CLI options, e.g., kubeconfig, would it make sense to use ENTRYPOINT instead?

I think CMD will be overwritten when the container is run with arguments [2].

[1] https://github.com/openshift/cloud-provider-openstack/blob/master/cmd/manila-provisioner/main.go
[2] https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact

Copy link
Member Author

Choose a reason for hiding this comment

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

You're right. I copied another Dockerfile and didn't realize mine is slightly different...

@bertinatto bertinatto merged commit 2fa3f23 into openshift:release-3.11 Sep 6, 2018
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.

None yet

2 participants