I'm using oc cluster up
to create a local test environment for my project and I need to add a CORS rule to the master-config.yml
.
When I start my cluster using oc cluster up
a directory called openshift.local.clusterup
is created in the same directory, inside this directory there are multiple sub-directories that contains multiple master-config.yml
(kube-apiserver/
, openshift-apiserver/
and openshift-controller-manager/
)
I've tried to edit all config files and to restart the openshift (docker restart origin
) and also to stop and start the full cluster (oc cluster down
-> oc cluster up --use-existing-config
) but the configuration is not applied.
Any idea? Is it possible to do it? What am I doing wrong?