In Spec for Containers on Openshift


#1

Hi
I am relatively new to Chef In Spec and I was wondering whether there is an option to use the inspec client to verify a Docker-Image placed in a Pod on Openshift.
I know that you normally use Commands such as:

inspec exec <url> -t ssh://<target>
inspec exec <url> -t docker://<target>

but as you may know Openshift has ist own way of accessing pods via

oc rsh <pod>

If there is no way. Has anyone an idea for a possible Workaround?
Thanks in advance for any ideas!