GithubHelp home page GithubHelp logo

Comments (7)

andbos avatar andbos commented on August 15, 2024

Hi,

Above works for me and if the instances are configured to be in namespace default then they will start. But how to make them run in another namespace?

Best regards,
Andreas

from oracle-database-operator.

rbaumgar avatar rbaumgar commented on August 15, 2024

you have to apply the same SCC, role and role binding to every namespace you want to use for an Oracle database.

BUT this is a setting I would NEVER recommend in an OpenShift environment from a security perspective.

Oracle databases should run with an arbitrary UID like any other workload in OpenShift.

from oracle-database-operator.

IshaanDesai45 avatar IshaanDesai45 commented on August 15, 2024

@rbaumgar @andbos we are working on this and will start a PR for the resolution

from oracle-database-operator.

IshaanDesai45 avatar IshaanDesai45 commented on August 15, 2024

@rbaumgar @andbos fixed the openshift_rbac.yaml file in the above PR kindly check and confirm

from oracle-database-operator.

rbaumgar avatar rbaumgar commented on August 15, 2024

@IshaanDesai45 looks good. tried with project oracle ecept that that the database is still not running as restricted.

I would update the documentation where the yaml has to be replaced I would recommend the following docu.

in the file, eg rbac/default-ns-role-binding.yaml should be a place holder like $NAMESPACE

export NAMESPACE=my-namespace
cat rbac/default-ns-role-binding.yaml | oc apply -f -

from oracle-database-operator.

rbaumgar avatar rbaumgar commented on August 15, 2024

@IshaanDesai45 sorry, the file is still incorrect, nearly all lines except the comments have a leading space.
the SCCs are named sidb-oracle-user-scc and sidb-oracle-root-user-scc, but the role references SCC oracle-user-scc and oracle-root-scc.

from oracle-database-operator.

IshaanDesai45 avatar IshaanDesai45 commented on August 15, 2024

@rbaumgar fixed the formatting for the openshift_rbac.yaml

from oracle-database-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.