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

Added support for PodSecurityPolicy #992

Merged
merged 8 commits into from Jan 24, 2018

Conversation

piyush-garg
Copy link
Contributor

@piyush-garg
Copy link
Contributor Author

ok to test

@oscerd
Copy link
Member

oscerd commented Jan 19, 2018

OK to test

if (kind.endsWith("ses")) {
kind = kind.substring(0, kind.length() - 2);
} else if (kind.endsWith("s")) {
}
Copy link
Member

Choose a reason for hiding this comment

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

@piyush1594 this is really good catch! 👍

@hrishin
Copy link
Member

hrishin commented Jan 23, 2018

retest this please

1 similar comment
@oscerd
Copy link
Member

oscerd commented Jan 23, 2018

retest this please

@oscerd
Copy link
Member

oscerd commented Jan 24, 2018

Please rebase this PR to align the dependency to the latest kube-model

@piyush-garg
Copy link
Contributor Author

Yes, @oscerd just realised and did that

@oscerd
Copy link
Member

oscerd commented Jan 24, 2018

[merge]

@fusesource-ci fusesource-ci merged commit cfefa2c into fabric8io:master Jan 24, 2018

@After
public void cleanup() {
client.podSecurityPolicies().delete();
Copy link
Member

Choose a reason for hiding this comment

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

I missed this in the initial part of the review. It's not a good idea to delete all the PodSecurityPolicy objects since they are not a namespace specific resource. Instead, you should simply delete the resource you created during test.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes @rohanKanojia, you seem correct will send a quick PR.

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.

None yet

5 participants