Comments (2)
Hi @bliemli
In order for the operator to run correctly in Openshift, you'll need to add the following environment variable to the operator pod
- name: MANAGED_SECURITY_CONTEXT
value: 'true'
so the full deployment would be
apiVersion: apps/v1
kind: Deployment
metadata:
name: mongodb-kubernetes-operator
spec:
replicas: 1
selector:
matchLabels:
name: mongodb-kubernetes-operator
template:
metadata:
labels:
name: mongodb-kubernetes-operator
spec:
serviceAccountName: mongodb-kubernetes-operator
containers:
- name: mongodb-kubernetes-operator
image: quay.io/mongodb/mongodb-kubernetes-operator:0.0.6
command:
- mongodb-kubernetes-operator
imagePullPolicy: Always
env:
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: MANAGED_SECURITY_CONTEXT
value: 'true'
- name: OPERATOR_NAME
value: "mongodb-kubernetes-operator"
- name: AGENT_IMAGE # The MongoDB Agent the operator will deploy to manage MongoDB deployments
value: quay.io/mongodb/mongodb-agent:10.13.0.6199-1
- name: PRE_STOP_HOOK_IMAGE
value: quay.io/mongodb/mongodb-kubernetes-operator-pre-stop-hook:1.0.0
from mongodb-kubernetes-operator.
Hi @chatton
Thanks a lot! I couldn't find documentation about available parameters. Where can I find it?
from mongodb-kubernetes-operator.
Related Issues (20)
- Replica set does not start, stuck in phase: Pending HOT 11
- Support for opt-in cleanup of PVCs HOT 6
- Waiting for agents to reach version 1 HOT 5
- Server startup warnings HOT 3
- Nonsecure prometheus HOT 2
- In the quay.io repository, there is no image of the arm architecture. HOT 8
- Create connectionString secret at another namespace
- Support for different resource request / limit for arbiters HOT 1
- can not set setParameter.authenticationMechanisms to SCRAM-SHA-1 HOT 3
- Mongodb-agent is never ready - HOT 7
- Readiness probe failed: command "/opt/scripts/readinessprobe" timed out on DB Pod when installing on Mac M1, even when using arm64 images HOT 9
- Mongodb Operator v0.8.3 crash on aarch64 k8s workers HOT 1
- Current mongo db members is 0 though >0 configured and running HOT 6
- Logging solely to stdout/stderr at the specified log level HOT 9
- It is not possible to pass unique labels and selectors on arbiter and mongo members. HOT 4
- Is it possible to pass resources limits and requests on initContainers? HOT 2
- ReplicaSet stuck in Pending phase via MongoDB Community Operator HOT 25
- How to schedule replicas and persistent volume in different availability zones HOT 6
- Steps to upgrade from 4.4 to 6.0 via 5.0? HOT 5
- Unable to connect to MongoDB (not authorized on admin to execute command) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongodb-kubernetes-operator.