Skip to content

Move deployment config to etcdgeneric storage patterns #2377

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

Conversation

derekwaynecarr
Copy link
Member

This moves the storage of DeploymentConfig objects to follow latest upstream patterns.

/cc @ironcladlou @abhgupta @smarterclayton

@derekwaynecarr
Copy link
Member Author

Related to #2104


// PrepareForCreate clears fields that are not allowed to be set by end users on creation.
func (strategy) PrepareForCreate(obj runtime.Object) {
_ = obj.(*api.DeploymentConfig)
Copy link
Contributor

Choose a reason for hiding this comment

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

We need a follow up issue to determine whether PrepareForCreate/Update should prevent status.latestVersion from being set out of order. There are advantages and disadvantages. Maybe a todo.

@derekwaynecarr
Copy link
Member Author

Then builds have the same problem. Will update

@derekwaynecarr
Copy link
Member Author

Is there any need to keep /deployments and the storage code laying around. It's confusing and would like to purge it as well.

@smarterclayton
Copy link
Contributor

No, you can nuke it.

----- Original Message -----

Is there any need to keep /deployments and the storage code laying around.
It's confusing and would like to purge it as well.


Reply to this email directly or view it on GitHub:
#2377 (comment)

@smarterclayton
Copy link
Contributor

Other than objectmeta update validation this is LGTM

@derekwaynecarr
Copy link
Member Author

Got side tracked on doc stuff, will nuke deployments, fix update, and then look to merge.

Sent from my iPhone

On May 20, 2015, at 7:01 PM, Clayton Coleman notifications@github.com wrote:

Other than objectmeta update validation this is LGTM


Reply to this email directly or view it on GitHub.

@derekwaynecarr derekwaynecarr force-pushed the deployment_registry_updates branch from d3a2ce6 to e23063c Compare May 21, 2015 15:31
@derekwaynecarr derekwaynecarr force-pushed the deployment_registry_updates branch from e23063c to cbbf48f Compare May 21, 2015 18:13
@derekwaynecarr
Copy link
Member Author

Fixed validation, will kill /deployments code in a later PR so I can keep this merge simpler.

@smarterclayton
Copy link
Contributor

LGTM [merge]

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/2044/) (Image: devenv-fedora_1590)

@openshift-bot
Copy link
Contributor

Evaluated for origin up to cbbf48f

@openshift-bot
Copy link
Contributor

[Test]ing while waiting on the merge queue

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/2325/)

openshift-bot pushed a commit that referenced this pull request May 21, 2015
@openshift-bot openshift-bot merged commit 37eba76 into openshift:master May 21, 2015
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.

3 participants