PDA

View Full Version : CaaS Platform 2 SUSE CAAS API Server configuration



srinivas836
06-Mar-2019, 21:17
Hi All,

I want to check some configuration of SUSE CAAS 3 API Server, if needed want to disable podSecurietyPolicy temporarily but could not any files or way to do such modifications.

Also, I could not see the pod in cluster, only I see some processing running with configuration.

Please suggest.

Thanks & Regards,
Srinivas.

a_jaeger
07-Mar-2019, 09:12
Did you read https://www.suse.com/documentation/suse-caasp-3/singlehtml/book_caasp_admin/book_caasp_admin.html#sec.admin.security.pod_polic ies ?

If you want to disable it completely, you can change params.sls, see https://github.com/kubic-project/salt/blob/2e3224d3c2fbf9756168b2e73c0e65ff45f32bdb/pillar/params.sls#L74 - and then reorchastrate the settings.

a_jaeger
07-Mar-2019, 09:40
Quick way, use at your own risk ;)

docker exec -ti $(docker ps -q --filter name=velum-dashboard) entrypoint.sh bundle exec rails runner "Pillar.apply(psp: 'false')"