Skip to content

Commit

Permalink
Add mariadb-operator-crds (#109)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Dec 2, 2024
1 parent 7013151 commit 093176b
Show file tree
Hide file tree
Showing 9 changed files with 11,358 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ charts:
version: 0.36.0
repository:
url: https://helm.mariadb.com/mariadb-operator
- name: mariadb-operator-crds
# https://artifacthub.io/packages/helm/mariadb-operator/mariadb-operator-crds
version: 0.36.0
repository:
url: https://helm.mariadb.com/mariadb-operator
- name: rabbitmq-cluster-operator
# https://artifacthub.io/packages/helm/bitnami/rabbitmq-cluster-operator
version: 4.3.20
Expand Down
23 changes: 23 additions & 0 deletions charts/mariadb-operator-crds/.helmignore
Original file line number Diff line number Diff line change
@@ -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/
21 changes: 21 additions & 0 deletions charts/mariadb-operator-crds/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: v2
appVersion: 0.0.0
description: mariadb-operator CRDs
home: https://github.com/mariadb-operator/mariadb-operator
icon: https://mariadb-operator.github.io/mariadb-operator/assets/mariadb_profile.svg
keywords:
- mariadb
- mysql
- operator
- mariadb-operator
- database
- maxscale
kubeVersion: '>=1.26.0-0'
maintainers:
- email: [email protected]
name: mmontes11
- email: [email protected]
name: mariadb-pieterhumphrey
name: mariadb-operator-crds
type: application
version: 0.36.0
5 changes: 5 additions & 0 deletions charts/mariadb-operator-crds/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mariadb-operator CRDs have been successfully installed! 🦭

To complete the mariadb-operator installation, please now proceed to install the
mariadb-operator chart:
https://github.com/mariadb-operator/mariadb-operator?tab=readme-ov-file#helm-installation
11,286 changes: 11,286 additions & 0 deletions charts/mariadb-operator-crds/templates/crds.yaml

Large diffs are not rendered by default.

Empty file.
6 changes: 6 additions & 0 deletions roles/crds/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ crds_cert_manager_helm_release_name: cert-manager-crds
crds_cert_manager_helm_release_namespace: crds
crds_cert_manager_helm_values: {}

crds_mariadb_operator: true
crds_mariadb_operator_helm_chart_ref: /charts/mariadb-operator-crds
crds_mariadb_operator_helm_release_name: mariadb-operator-crds
crds_mariadb_operator_helm_release_namespace: crds
crds_mariadb_operator_helm_values: {}

crds_prometheus_operator: true
crds_prometheus_operator_helm_chart_ref: /charts/prometheus-operator-crds
crds_prometheus_operator_helm_release_name: prometheus-operator-crds
Expand Down
11 changes: 11 additions & 0 deletions roles/crds/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@
values: "{{ _crds_cert_manager_helm_values | combine(crds_cert_manager_helm_values, recursive=True) }}"
when: crds_cert_manager | bool

- name: Deploy mariadb-operator crds
kubernetes.core.helm:
release_name: "{{ crds_mariadb_operator_helm_release_name }}"
chart_ref: "{{ crds_mariadb_operator_helm_chart_ref }}"
release_namespace: "{{ crds_mariadb_operator_helm_release_namespace }}"
create_namespace: true
kubeconfig: /share/kubeconfig
wait: true
values: "{{ _crds_mariadb_operator_helm_values | combine(crds_mariadb_operator_helm_values, recursive=True) }}"
when: crds_mariadb_operator | bool

- name: Deploy prometheus operator crds
kubernetes.core.helm:
release_name: "{{ crds_prometheus_operator_helm_release_name }}"
Expand Down
1 change: 1 addition & 0 deletions roles/crds/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
_crds_cert_manager_helm_values: {}
_crds_mariadb_operator_helm_values: {}
_crds_prometheus_operator_helm_values: {}
_crds_yaook_operators_helm_values: {}

0 comments on commit 093176b

Please sign in to comment.