Skip to content

Conversation

@smarterclayton
Copy link
Contributor

No transition in the controller. Instead, implement

oc adm migrate alpha serving-certs

which copies the annotations to their canonical name. Can be run pre or post migration. Avoids complex logic in the controller.

@deads2k @enj @liggitt

Migrates service serving cert annotations to their new names. Can be run
pre or post migration.
@openshift-merge-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: smarterclayton

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 8, 2017
@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 8, 2017
@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 8, 2017

@smarterclayton: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/openshift-jenkins/verify 0059467 link /test verify
ci/openshift-jenkins/end_to_end 0059467 link /test end_to_end

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@deads2k
Copy link
Contributor

deads2k commented Sep 8, 2017

I'd really like to try to sort out a flex volume plugin or something to mount the CA bundle before committing to GA

@smarterclayton
Copy link
Contributor Author

smarterclayton commented Sep 8, 2017 via email

@smarterclayton
Copy link
Contributor Author

smarterclayton commented Sep 8, 2017 via email

@deads2k
Copy link
Contributor

deads2k commented Sep 8, 2017

Re: GA we are dependent on these annotations for improving components.
What sorts of discoveries would we make with flex volume that would cause
us to change the implementation here?

Just that there are two halves to promoting this. The "make my secret" half and the "how do I trust you" half. It seems like we should promote as a pair with a release or so of cut-over time.

@enj
Copy link
Contributor

enj commented Sep 8, 2017

@openshift/sig-security

default:
return nil, nil // indicate that we ignored the object
}
return migrate.NotChanged, nil
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you even reach this line?

return cmd
}

func NewCommandMigrateAlpha(name, fullName string, f *clientcmd.Factory, out, errOut io.Writer, cmds ...*cobra.Command) *cobra.Command {
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like we are starting to abuse the migrations we do via ansible.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This wouldn't be for ansible. This is a convenience for someone who wants to move alpha annotations forward without having to write the script themselves.

@liggitt
Copy link
Contributor

liggitt commented Sep 9, 2017

Re: GA we are dependent on these annotations for improving components. What sorts of discoveries would we make with flex volume that would cause us to change the implementation here?

I think piggy-backing on the service account token secret was a mistake we should rectify before exiting alpha.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 16, 2017
@openshift-merge-robot
Copy link
Contributor

@smarterclayton PR needs rebase

@openshift-merge-robot openshift-merge-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Sep 28, 2017
@openshift-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 20, 2018
@openshift-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci-robot openshift-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Mar 22, 2018
@openshift-bot
Copy link
Contributor

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants