-
Notifications
You must be signed in to change notification settings - Fork 47
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
Documentation on OCP supported versions for InstantOn #7090
Comments
@tam512 could you provide the instructions you use to setup the necessary Linux capabilities with OCP 4.14 so we can add that to the InstantOn documentation? |
First I use the following steps provided by @anjumfatima90 to create service account and security context constraints
Then deploy the OpenLibertyApplication or WebSphereLibertyApplication using Open Liberty operator or WebSphere Liberty operator as normal with the addition of the service account and securityContext in the yaml as following:
|
We should not need to run with 1001 anymore. @tam512 are you still testing with that? |
yes I still have the run with 1001 in scc-cap-cr.yaml. I will take it out in the next test. |
It is probably not a good idea to spell out the YAML like that in the documentation. Instead we can refer to the OCP documentation for managing SCCs (https://docs.openshift.com/container-platform/4.14/authentication/managing-security-context-constraints.html) and state that InstantOn requires an SCC that at a minimum grants the additional capabilities to the defaults needed for InstantOn.
Then state that applications deployed must be associated with the named SCC. For example, by using the
Where |
Hi Thomas- the draft is now updated if any further edits are needed, just let me know. Otherwise, you can add the |
Peer ReviewRed Hat OpenShift (version 4.14 and later) To deploy applications to Red Hat OpenShift with InstantOn, you must specify a security context constraint (SCC) that at a minimum specifies a list of additional capabilities that are added to any pod. The following SSC yaml file example defines an SCC with the required capabilities by using the The applications you deploy must be associated with an SCC that adds the required capabilities. The following deployment yaml file example specifies the |
thanks Ram, changes implemented |
Not sure if we should put this directly in the InstantOn documentation or into the general Liberty documentation for OCP support.
The text was updated successfully, but these errors were encountered: