Skip to content

[WIP] Add separate call for updating DC status - #6479

Closed
0xmichalis wants to merge 1 commit into
openshift:masterfrom
0xmichalis:dc-status-update
Closed

0xmichalis wants to merge 1 commit into
openshift:masterfrom
0xmichalis:dc-status-update

Conversation

@0xmichalis

Copy link
Copy Markdown
Contributor

Blocked on #6337

@ironcladlou @deads2k

Needs a couple of unit tests.

Fixes #6465

@0xmichalis

Copy link
Copy Markdown
Contributor Author

Comment thread pkg/cmd/cli/cmd/deploy.go

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is this backwards compatible?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

actually, we would never want a client to modify status to trigger a deployment... a client would modify spec, the controller would modify status to indicate the requested deployment was done

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

There is #6337 for fixing that.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't want a version of the CLI to exist which makes a call to the status subresource in order to trigger a deployment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I see. Then we need #6337 to be fixed first.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

FWIW in the short term, updates to the status won't result in a new deployment unless status.latestVersion changes.

@openshift-bot

Copy link
Copy Markdown
Contributor

Origin Action Required: Pull request cannot be automatically merged, please rebase your branch from latest HEAD and push again

@openshift-bot openshift-bot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Feb 1, 2016
This commit adds a separete call for updating the status part of a
DeploymentConfig.
@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 8, 2016
@0xmichalis

Copy link
Copy Markdown
Contributor Author

Superseded by #7149

@0xmichalis 0xmichalis closed this Feb 9, 2016
@0xmichalis
0xmichalis deleted the dc-status-update branch March 7, 2016 11:14
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.

4 participants