Skip to content
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

Pod perceiver: unable to update annotations/labels for pod -- privileged #35

Open
mattfenwick opened this issue Mar 21, 2018 · 5 comments
Milestone

Comments

@mattfenwick
Copy link
Contributor

mattfenwick commented Mar 21, 2018

time="2018-03-13T15:44:29Z" level=error msg="unable to update annotations/labels for pod default:sti-ruby-1-build: pods "sti-ruby-1-build" is forbidden: unable to validate against any security context constraint: [provider restricted: .spec.containers[0].securityContext.privileged: Invalid value: true: Privileged containers are not allowed provider restricted: .spec.containers[0].securityContext.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used]"

@rrati
Copy link

rrati commented Mar 21, 2018

If I understand correctly, this isn't a perceiver issue. It looks like incorrect permissions on the service account the perceiver is using and not something fixable in the perceiver code base. Have a reproducer?

@jayunit100
Copy link
Contributor

  • .... Whats the hostPath error coming from ?

@jayunit100
Copy link
Contributor

on phone w/ matt, assuming this is a non issue now.

@rrati rrati added this to the 1.0 milestone Apr 9, 2018
@mattfenwick mattfenwick reopened this Oct 12, 2018
@mattfenwick
Copy link
Contributor Author

mattfenwick commented Oct 12, 2018

"time="2018-10-12T14:30:24Z" level=error msg="unable to update annotations/labels for pod cover-all-deployment-types-script:django-ex-1-build: pods "django-ex-1-build" is forbidden: unable to validate against any security context constraint: [spec.volumes[1]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.volumes[2]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.containers[0].securityContext.privileged: Invalid value: true: Privileged containers are not allowed]""
"time="2018-10-12T14:30:31Z" level=error msg="unable to update annotations/labels for pod cover-all-deployment-types-script:ibmjava: pods "ibmjava" is forbidden: unable to validate against any security context constraint: []""

@jlin963
Copy link

jlin963 commented Oct 12, 2018

some other examples here: https://jira.dc1.lan/browse/OPSSIGHT-449

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

No branches or pull requests

4 participants