28 Commits

Author SHA1 Message Date
95ac4d347f feat(base): updating olm operator version 2025-02-10 10:13:03 +01:00
f7b22c3c99 feat(crds): updating hydra-maester crd version 2025-02-10 10:06:22 +01:00
49a3bc3d6d feat(crds): updating olm version 2025-02-10 10:03:09 +01:00
6af5702148 fix(cnpg): do not install cpng outside olm anymore 2024-11-19 11:46:29 +01:00
f148cc4e16 fix(redis-operator): adding cluster role patch to fix redis operator bug 2024-03-18 15:56:53 +01:00
add98c9bcc Merge branch 'feat/olm' into develop 2024-03-15 13:54:18 +01:00
54692bc243 feat(olm): adding operator lifecycle manager
This deployment and crd allow us to use https://operatorhub.io/
this source is very usefull for operator deployments
2024-03-15 13:50:36 +01:00
fd897e9822 Merge pull request 'feat(olm): adding operator lifecycle manager' (#7) from feat/olm into develop
Reviewed-on: #7
Reviewed-by: Laurent Gourvenec <lgourvenec@cadoles.com>
2024-02-27 12:17:33 +01:00
a0fb1cb598 feat(olm): adding operator lifecycle manager
This deployment and crd allow us to use https://operatorhub.io/
this source is very usefull for operator deployments
2024-02-27 11:47:30 +01:00
82096575ba feat(cert-manager): updating version to 1.13.3 2023-12-18 12:15:10 +01:00
e171a74e22 feat(cert-manager): cleanup deployment 2023-12-15 15:33:35 +01:00
dac9b1d13c Revert "feat(cert-manager): adding clusterIssuers"
This reverts commit c31f318c0d.
2023-12-15 15:33:14 +01:00
9e51c63a0d Merge branch 'develop' of https://forge.cadoles.com/CadolesKube/c-kustom into develop 2023-12-15 15:31:27 +01:00
c31f318c0d feat(cert-manager): adding clusterIssuers 2023-12-15 15:31:22 +01:00
0948b9f43c Merge pull request 'Mise à jour de l'opérateur CloudNativePostgreSQL en version 1.21' (#3) from cnpg-1.21 into develop
Reviewed-on: #3
2023-12-15 15:30:18 +01:00
0f3e82fb08 feat(cnpg): upgrade to 1.21 2023-12-15 15:29:50 +01:00
73bd5bbb5b feat(mattermost-operator): adding operator
Not in the default installed tools
2023-12-15 13:41:28 +01:00
4bbd615fcc feat(metrics-server): updating default configuration 2023-12-15 13:34:56 +01:00
209e3a4df4 feat(metrics-server): adding metrics-server 0.6.4 2023-12-11 15:50:37 +01:00
5e80991347 update(minio): 5.0.5 to 5.0.10 2023-10-25 11:38:11 +02:00
1c1f6bc47c fix(rabbitmq): try to fix namespace failure 2023-10-12 08:53:51 +02:00
121ace048e fix(rabbitmq): fix operator file url 2023-10-12 08:52:51 +02:00
0beed70b69 fix(rabbitmq): install operator properly 2023-10-12 08:51:41 +02:00
36624606d5 feat(cert-manager): adding cert-manager operator 2023-10-12 08:48:36 +02:00
7ca070438d feat(longhorn): adding longhorn installation 2023-09-25 13:38:16 +02:00
bc0df8ef01 feat(minio): updating minio operator version 2023-06-19 10:39:08 +02:00
c6881fab44 feat(metrics): adding metrics-server deployement 2023-06-02 11:47:06 +02:00
78525fa8b4 feat(rabbitmq): adding rabbitmq operator installation 2023-06-02 10:00:46 +02:00
22 changed files with 250 additions and 12 deletions

View File

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: cert-manager
resources:
- https://github.com/cert-manager/cert-manager/releases/download/v1.13.3/cert-manager.yaml

View File

@ -6,3 +6,7 @@ nameReference:
kind: Cluster
- path: spec/bootstrap/initdb/secret/name
kind: Cluster
- path: spec/backup/barmanObjectStore/s3Credentials/accessKeyId/name
kind: Cluster
- path: spec/backup/barmanObjectStore/s3Credentials/secretAccessKey/name
kind: Cluster

View File

@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.18/releases/cnpg-1.18.1.yaml
- https://github.com/cloudnative-pg/cloudnative-pg/releases/download/v1.24.1/cnpg-1.24.1.yaml
configurations:
- ./configurations/cnpg-cluster.yaml
- ./configurations/cnpg-cluster.yaml

View File

@ -1,11 +1,14 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ./metallb
- https://github.com/cert-manager/cert-manager/releases/download/v1.10.0/cert-manager.yaml
- ./postgresql
- ./redis
- ./minio
- ./nginx
- ./cloudnative-pg-operator
resources:
- https://github.com/cert-manager/cert-manager/releases/download/v1.10.0/cert-manager.yaml
- ./olm
- ./metallb
- ./rabbitmq
- ./postgresql
- ./redis
- ./minio
- ./metrics
- ./nginx
#- ./cloudnative-pg-operator

View File

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://raw.githubusercontent.com/longhorn/longhorn/v1.5.1/deploy/longhorn.yaml
- ./resources/storage-class.yaml

View File

@ -0,0 +1,11 @@
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: longhorn
provisioner: driver.longhorn.io
allowVolumeExpansion: true
parameters:
numberOfReplicas: "3"
staleReplicaTimeout: "2880" # 48 hours in minutes
fromBackup: ""
fsType: "ext4"

View File

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./resources/namespace.yaml
- https://raw.githubusercontent.com/mattermost/mattermost-operator/master/docs/mattermost-operator/mattermost-operator.yaml

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: mattermost-operator

View File

@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.6.4/high-availability-1.21+.yaml
patches:
- path: ./patches/high-availability-1.21+.yaml

View File

@ -0,0 +1,17 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: metrics-server
namespace: kube-system
spec:
replicas: 3
template:
spec:
containers:
- name: metrics-server
args:
- --cert-dir=/tmp
- --secure-port=4443
- --kubelet-preferred-address-types=Hostname
- --kubelet-use-node-status-port
- --metric-resolution=15s

View File

@ -7,7 +7,7 @@ commonAnnotations:
operator.min.io/support: "https://subnet.min.io"
resources:
- github.com/minio/operator/resources?ref=v4.5.8
- github.com/minio/operator/resources?ref=v5.0.10
configurations:
- ./configurations/tenants.minio.min.io.yaml
- ./configurations/tenants.minio.min.io.yaml

View File

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.31.0/olm.yaml
- resources/mandatory-operators

View File

@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./resources/redis-operator.yaml
- ./resources/minio-operator.yaml
- ./resources/cloudnative-pg.yaml
- ./resources/rabbitmq-cluster-operator.yaml

View File

@ -0,0 +1,90 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: redis-operator.*
rules:
- apiGroups:
- redis.redis.opstreelabs.in
resources:
- rediss
- redisclusters
- redis
- rediscluster
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- redis.redis.opstreelabs.in
resources:
- redis/finalizers
- rediscluster/finalizers
verbs:
- update
- apiGroups:
- redis.redis.opstreelabs.in
resources:
- redis/status
- rediscluster/status
verbs:
- get
- patch
- update
- apiGroups:
- ""
resources:
- secrets
- pods/exec
- services
- configmaps
- pods
- persistentvolumes
- persistentvolumeclaims
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps
resources:
- statefulsets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- policy
resources:
- poddisruptionbudgets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch

View File

@ -0,0 +1,12 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: my-cloudnative-pg
namespace: operators
spec:
channel: stable-v1
#startingCSV: 1.22.1
#installPlanApproval: Manual
name: cloudnative-pg
source: operatorhubio-catalog
sourceNamespace: olm

View File

@ -0,0 +1,11 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: my-minio-operator
namespace: operators
spec:
channel: stable
startingCSV: "minio-operator.v5.0.3"
name: minio-operator
source: operatorhubio-catalog
sourceNamespace: olm

View File

@ -0,0 +1,12 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: my-rabbitmq-cluster-operator
namespace: operators
spec:
channel: stable
# startingCSV: 2.7.0
# installPlanApproval: Manual
name: rabbitmq-cluster-operator
source: operatorhubio-catalog
sourceNamespace: olm

View File

@ -0,0 +1,11 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: my-redis-operator
namespace: operators
spec:
channel: stable
startingCSV: "redis-operator.v0.15.1"
name: redis-operator
source: operatorhubio-catalog
sourceNamespace: olm

View File

@ -0,0 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: rabbitmq-operator
resources:
#- namespace.yaml
- https://github.com/rabbitmq/cluster-operator/releases/download/v2.5.0/cluster-operator.yml

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: rabbitmq-operator

6
crds/kustomization.yaml Normal file
View File

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.31.0/crds.yaml
- https://raw.githubusercontent.com/ory/k8s/v0.50.7/helm/charts/hydra-maester/crds/crd-oauth2clients.yaml

6
kustomization.yaml Normal file
View File

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ./crds
- ./base