Skip to content

Add reconcile protection for roles#8774

Merged
openshift-bot merged 2 commits intoopenshift:masterfrom
liggitt:exclude-reconcile
May 7, 2016
Merged

Add reconcile protection for roles#8774
openshift-bot merged 2 commits intoopenshift:masterfrom
liggitt:exclude-reconcile

Conversation

@liggitt
Copy link
Copy Markdown
Contributor

@liggitt liggitt commented May 6, 2016

Allows customizing default roles and protecting them from reconciliation. This will let us safely customize admin/edit/view roles in environments like online

Proposed annotation name is openshift.io/reconcile-protect to align with proposed kubernetes.io/write-protect annotation upstream

@liggitt
Copy link
Copy Markdown
Contributor Author

liggitt commented May 6, 2016

@deads2k

@liggitt
Copy link
Copy Markdown
Contributor Author

liggitt commented May 6, 2016

[test]

"~"
]
},
{
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.

nothing else used this file?

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.

split into a separate file for this test

@deads2k
Copy link
Copy Markdown
Contributor

deads2k commented May 6, 2016

lgtm

If we are in additive mode, and the actual role has extra permissions and no missing permissions,
don't report it needing to be reconciled
@liggitt
Copy link
Copy Markdown
Contributor Author

liggitt commented May 6, 2016

[merge]

@openshift-bot
Copy link
Copy Markdown
Contributor

openshift-bot commented May 6, 2016

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

@openshift-bot
Copy link
Copy Markdown
Contributor

Evaluated for origin test up to 09032eb

@openshift-bot
Copy link
Copy Markdown
Contributor

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

@openshift-bot
Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to 09032eb

@openshift-bot openshift-bot merged commit bb67428 into openshift:master May 7, 2016
@liggitt liggitt deleted the exclude-reconcile branch May 9, 2016 13:08
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