Compare commits
50 Commits
Author | SHA1 | Date |
---|---|---|
Philippe Caseiro | 6af5702148 | |
Philippe Caseiro | f148cc4e16 | |
Philippe Caseiro | add98c9bcc | |
Philippe Caseiro | 54692bc243 | |
Laurent Gourvenec | fd897e9822 | |
Philippe Caseiro | a0fb1cb598 | |
Philippe Caseiro | 82096575ba | |
Philippe Caseiro | e171a74e22 | |
Philippe Caseiro | dac9b1d13c | |
Philippe Caseiro | 9e51c63a0d | |
Philippe Caseiro | c31f318c0d | |
wpetit | 0948b9f43c | |
wpetit | 0f3e82fb08 | |
Philippe Caseiro | 73bd5bbb5b | |
Philippe Caseiro | 4bbd615fcc | |
Philippe Caseiro | 209e3a4df4 | |
Philippe Caseiro | 5e80991347 | |
Philippe Caseiro | 1c1f6bc47c | |
Philippe Caseiro | 121ace048e | |
Philippe Caseiro | 0beed70b69 | |
Philippe Caseiro | 36624606d5 | |
Philippe Caseiro | 7ca070438d | |
Philippe Caseiro | bc0df8ef01 | |
Philippe Caseiro | c6881fab44 | |
Philippe Caseiro | 78525fa8b4 | |
Philippe Caseiro | 374f052cb5 | |
Philippe Caseiro | 7a26298154 | |
Philippe Caseiro | 66dae7eee1 | |
Philippe Caseiro | cd3e1f7039 | |
Philippe Caseiro | 2d96881dde | |
wpetit | 93d10efbac | |
wpetit | 626844dcc1 | |
wpetit | 8ff8cf73b3 | |
Philippe Caseiro | 92496d282a | |
Philippe Caseiro | f973fd5915 | |
Philippe Caseiro | ae1d39e0cc | |
Philippe Caseiro | 024178f4ca | |
Philippe Caseiro | 85a0e41ac9 | |
Philippe Caseiro | e868f1f961 | |
Philippe Caseiro | c3cb59fed5 | |
Philippe Caseiro | befbc3b13a | |
Philippe Caseiro | 1581059ccc | |
Philippe Caseiro | d0683a5bf4 | |
Philippe Caseiro | 0dd4280f57 | |
Philippe Caseiro | 2b63222153 | |
Philippe Caseiro | f96d694a3f | |
Philippe Caseiro | 36c6029c42 | |
Philippe Caseiro | 53a4159d49 | |
Philippe Caseiro | f6223731ed | |
Philippe Caseiro | 472a1b9334 |
|
@ -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
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
nameReference:
|
||||
- kind: Secret
|
||||
fieldSpecs:
|
||||
- path: spec/superuserSecret/name
|
||||
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
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- https://github.com/cloudnative-pg/cloudnative-pg/releases/download/v1.24.1/cnpg-1.24.1.yaml
|
||||
|
||||
configurations:
|
||||
- ./configurations/cnpg-cluster.yaml
|
|
@ -0,0 +1,14 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
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
|
|
@ -0,0 +1,6 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- github.com/rancher/local-path-provisioner/deploy?ref=v0.0.23
|
||||
|
|
@ -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
|
|
@ -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"
|
|
@ -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
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: mattermost-operator
|
|
@ -0,0 +1,7 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: metallb-system
|
||||
|
||||
resources:
|
||||
- ./secrets
|
||||
- github.com/metallb/metallb/config/native?ref=v0.13.7
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: metallb-system
|
||||
|
||||
secretGenerator:
|
||||
- name: memberlist
|
||||
literals:
|
||||
- secretkey=FiXmEiAmNoTaReAlSeCr3tAnDineedtobereplacewithapropersecretforyourinfrastruture
|
|
@ -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
|
|
@ -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
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
nameReference:
|
||||
- kind: Secret
|
||||
fieldSpecs:
|
||||
- path: spec/credsSecret/name
|
||||
kind: Tenant
|
||||
- kind: Secret
|
||||
fieldSpecs:
|
||||
- path: spec/configuration/name
|
||||
kind: Tenant
|
||||
- kind: Secret
|
||||
fieldSpecs:
|
||||
- path: spec/users/name
|
||||
kind: Tenant
|
|
@ -0,0 +1,13 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: minio-operator
|
||||
commonAnnotations:
|
||||
operator.min.io/authors: "MinIO, Inc."
|
||||
operator.min.io/license: "AGPLv3"
|
||||
operator.min.io/support: "https://subnet.min.io"
|
||||
|
||||
resources:
|
||||
- github.com/minio/operator/resources?ref=v5.0.10
|
||||
|
||||
configurations:
|
||||
- ./configurations/tenants.minio.min.io.yaml
|
|
@ -0,0 +1,2 @@
|
|||
resources:
|
||||
- https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.4.0/deploy/static/provider/cloud/deploy.yaml
|
|
@ -0,0 +1,6 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.27.0/olm.yaml
|
||||
- resources/mandatory-operators
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -0,0 +1,10 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: postgresql-operator
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- github.com/zalando/postgres-operator/manifests?ref=v1.9.0
|
||||
- github.com/zalando/postgres-operator/ui/manifests?ref=v1.9.0
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: postgresql-operator
|
|
@ -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
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: rabbitmq-operator
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: redis-operator
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- github.com/spotahome/redis-operator/manifests/kustomize/overlays/default?ref=v1.2.4
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: redis-operator
|
|
@ -0,0 +1,6 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.27.0/crds.yaml
|
||||
- https://raw.githubusercontent.com/ory/k8s/v0.30.0/helm/charts/hydra-maester/crds/crd-oauth2clients.yaml
|
|
@ -0,0 +1,6 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
bases:
|
||||
- ./crds
|
||||
- ./base
|
Loading…
Reference in New Issue