You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reconciliation differences between upstream and origin #15412
Do we want to preserve openshift.io/reconcile-protect or change it to rbac.authorization.kubernetes.io/autoupdate?
This is already done, see pkg/authorization/apis/authorization/conversion.go's convert_authorization_Annotations_To_rbac_Annotations and convert_rbac_Annotations_To_authorization_Annotations.
How is this different from the post start hook use by Kubernetes?
It uses our custom authz policy data, see pkg/cmd/server/origin/master.go:259 which calls aggregatedAPIServer.GenericAPIServer.AddPostStartHookOrDie("authorization.openshift.io-bootstrapclusterroles", bootstrappolicy.Policy().EnsureRBACPolicy()).
Do you have a link?
See kubernetes/kubernetes#51636 - I do not know what @deads2k and @fabianofranz want to do in OpenShift (simple pass through I think). The oc adm policy reconcile-cluster-role* commands continue to work as expected.
See kubernetes/kubernetes#51636 - I do not know what @deads2k and @fabianofranz want to do in OpenShift (simple pass through I think). The oc adm policy reconcile-cluster-role* commands continue to work as expected.
Activity
enj commentedon Jul 25, 2017
Current proposed steps:
Merge pull request #15021 from simo5/RBAC1
adelton commentedon Sep 8, 2017
Do we want to preserve
openshift.io/reconcile-protector change it torbac.authorization.kubernetes.io/autoupdate?How is this different from the post start hook use by Kubernetes?
Do you have a link?
enj commentedon Sep 8, 2017
This is already done, see
pkg/authorization/apis/authorization/conversion.go'sconvert_authorization_Annotations_To_rbac_Annotationsandconvert_rbac_Annotations_To_authorization_Annotations.It uses our custom authz policy data, see
pkg/cmd/server/origin/master.go:259which callsaggregatedAPIServer.GenericAPIServer.AddPostStartHookOrDie("authorization.openshift.io-bootstrapclusterroles", bootstrappolicy.Policy().EnsureRBACPolicy()).See kubernetes/kubernetes#51636 - I do not know what @deads2k and @fabianofranz want to do in OpenShift (simple pass through I think). The
oc adm policy reconcile-cluster-role*commands continue to work as expected.deads2k commentedon Sep 8, 2017
We picked the command as-is into openshift 3.7
simo5 commentedon Oct 10, 2017
@enj what is left to do in this issue ?
simo5 commentedon Oct 16, 2017
oc auth reconciledocumentation is missingdeads2k commentedon Oct 18, 2017
I see it as present in master.
enj commentedon Oct 18, 2017
There are docs?
simo5 commentedon Oct 18, 2017
@deads2k can you please point me to any docs we have ?
In openshift-docs I found no mention of oc auth reconcile
simo5 commentedon Oct 18, 2017
PR for docs I've opened:
openshift/openshift-docs#5725