Added mariadb operator

Changelog: added
Signed-off-by: GeorgeRaven <GeorgeRavenCommunity@pm.me>
This commit is contained in:
GeorgeRaven
2025-10-21 21:34:01 +01:00
parent 0566e274ef
commit 07559fa6ad
8 changed files with 148 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
apiVersion: v1
kind: Namespace
metadata:
# annotations:
# volsync.backube/privileged-movers: "true"
labels:
kubernetes.io/metadata.name: mariadb-operator
image-pull-secret: harbor
name: mariadb-operator
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: mariadb-operator
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
name: ''
namespace: mariadb-operator
server: 'https://kubernetes.default.svc'
source:
path: charts/mariadb-operator
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
project: default
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true

View File

@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

View File

@@ -0,0 +1,9 @@
dependencies:
- name: mariadb-operator
repository: https://helm.mariadb.com/mariadb-operator
version: 25.8.4
- name: mariadb-operator-crds
repository: https://helm.mariadb.com/mariadb-operator
version: 25.8.4
digest: sha256:b2a915db36ff305f8528844b0298a41b8a3a30d53005078f098c4cef62c4ccca
generated: "2025-10-21T21:32:57.488194269+01:00"

View File

@@ -0,0 +1,35 @@
apiVersion: v2
name: mariadb-operator
description: A Helm chart for Kubernetes
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.3
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.16.0"
dependencies:
- name: mariadb-operator
version: 25.8.4
repository: "https://helm.mariadb.com/mariadb-operator"
condition: mariadb-operator.enabled
- name: mariadb-operator-crds
version: 25.8.4
repository: "https://helm.mariadb.com/mariadb-operator"
condition: mariadb-operator-crds.enabled

View File

@@ -0,0 +1,21 @@
# mariadb-operator
![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square)
A Helm chart for Kubernetes
## Requirements
| Repository | Name | Version |
|------------|------|---------|
| https://bitnami-labs.github.io/mariadb-operator | mariadb-operator | 2.17.7 |
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| mariadb-operator.createController | bool | `true` | |
| mariadb-operator.ingress.enabled | bool | `false` | |
| mariadb-operator.ingress.hostname | string | `"secrets.deepcypher.me"` | |
| mariadb-operator.networkPolicy.enabled | bool | `true` | |

View File

@@ -0,0 +1,24 @@
mariadb-operator:
enabled: true
ha:
enabled: true
replicas: 2
metrics:
enabled: true
serviceMonitor:
enabled: true
mariadb-operator-crds:
enabled: true
environment:
name: unknown # not to be used for hard checks but to display to user
hardware: metal # to be used to enable on-prem specific features like ceph, cilium, etc
mode: production # to be used to configure backup movement and additional debugging features
revision: main # to be used to pull from different git branches
baseDomain: deepcypher.me # to be used to override default chart domains to configure environments
location:
name: unknown # not to be used for hard checks purely informational
contact:
name: George Onoufriou
email: noreply@deepcypher.me