Comments (3)
Thanks for the quick response, I tested the new feature and it works well ! 👍
As a side not for anyone who might end up on this issue, you don't want to use EFS for MariaDB storage but EBS instead. EFS being a network file system it is too slow for MariaDB.
from mariadb-operator.
Hey @Vidalee !
Totally agreed! We are missing this feature. We could support both the podSecurityContext
(Pod level) and securityContext
(container level):
apiVersion: mariadb.mmontes.io/v1alpha1
kind: MariaDB
metadata:
name: mariadb
spec:
...
podSecurityContext:
fsGroup: 1
runAsNonRoot: true
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
...
This will be supported in the following release.
Thanks! 🙏🏻
from mariadb-operator.
Hey @Vidalee !
This has been implemented an will be released in the v0.0.10
version:
However, I found myself struggling to not run as root using the default image (oficial MariaDB image), you may specify a different one, it's supported by the operator:
Thanks!
from mariadb-operator.
Related Issues (20)
- [Bug] When enableing metrics, operator crashes complaining about unrestricted capabilties, etc HOT 1
- [Bug] Unable to validate certificates bis HOT 4
- [Bug] 2nd MariaDB instance crashes instead of joining the cluster HOT 5
- [Bug] mysqld_exporter 0.15.0 breaking change HOT 3
- [Bug] Failover breaks replication if a super privileged user writes data during failover HOT 5
- [Bug] Primary-to-Secondary switching HOT 1
- [Bug] Users and Grants not properly created HOT 4
- Mariadb-Galera pods get restarted for 1 time after applying mariadb-galera chart on aws ec2 k8s cluster HOT 3
- [Feature] Provide an abstraction to configure `spec.podAntiAffinity`
- [Feature] S3 authentication via Kubernetes SA (like IRSA)
- [Bug] MariaDB Metrics cannot resolve headless service HOT 4
- [Bug] my.cnf should be mutable HOT 3
- [Feature] Custom upgrades: Upgrade replicas first
- [Feature] Allow non-pv MariaDB environment HOT 1
- [Feature] add empty password option in MariaDB resource HOT 1
- [Bug] (Galera) - WSREP: no nodes coming from prim view, prim not possible HOT 1
- MariaDB Status stalled with webhook and restore errors HOT 2
- unable to install MariaDB HOT 5
- [Bug] CA must be mandatory when TLS is enabled HOT 1
- [Feature] Add service account name to MariaDB spec HOT 2
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 mariadb-operator.