Compare commits
50 Commits
Author | SHA1 | Date | |
---|---|---|---|
6af5702148 | |||
f148cc4e16 | |||
add98c9bcc | |||
54692bc243 | |||
fd897e9822 | |||
a0fb1cb598 | |||
82096575ba | |||
e171a74e22 | |||
dac9b1d13c | |||
9e51c63a0d | |||
c31f318c0d | |||
0948b9f43c | |||
0f3e82fb08 | |||
73bd5bbb5b | |||
4bbd615fcc | |||
209e3a4df4 | |||
5e80991347 | |||
1c1f6bc47c | |||
121ace048e | |||
0beed70b69 | |||
36624606d5 | |||
7ca070438d | |||
bc0df8ef01 | |||
c6881fab44 | |||
78525fa8b4 | |||
374f052cb5 | |||
7a26298154 | |||
66dae7eee1 | |||
cd3e1f7039 | |||
2d96881dde | |||
93d10efbac | |||
626844dcc1 | |||
8ff8cf73b3 | |||
92496d282a | |||
f973fd5915 | |||
ae1d39e0cc | |||
024178f4ca | |||
85a0e41ac9 | |||
e868f1f961 | |||
c3cb59fed5 | |||
befbc3b13a | |||
1581059ccc | |||
d0683a5bf4 | |||
0dd4280f57 | |||
2b63222153 | |||
f96d694a3f | |||
36c6029c42 | |||
53a4159d49 | |||
f6223731ed | |||
472a1b9334 |
0
.gitmodules
vendored
Normal file
0
.gitmodules
vendored
Normal file
6
base/cert-manager/kustomization.yaml
Normal file
6
base/cert-manager/kustomization.yaml
Normal 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
|
@ -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
|
8
base/cloudnative-pg-operator/kustomization.yaml
Normal file
8
base/cloudnative-pg-operator/kustomization.yaml
Normal file
@ -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
|
14
base/kustomization.yaml
Normal file
14
base/kustomization.yaml
Normal file
@ -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
|
6
base/local-path-provisionner/kustomization.yaml
Normal file
6
base/local-path-provisionner/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- github.com/rancher/local-path-provisioner/deploy?ref=v0.0.23
|
||||
|
6
base/longhorn/kustomization.yaml
Normal file
6
base/longhorn/kustomization.yaml
Normal 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
|
11
base/longhorn/resources/storage-class.yaml
Normal file
11
base/longhorn/resources/storage-class.yaml
Normal 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"
|
6
base/mattermost-operator/kustomization.yaml
Normal file
6
base/mattermost-operator/kustomization.yaml
Normal 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
|
4
base/mattermost-operator/resources/namespace.yaml
Normal file
4
base/mattermost-operator/resources/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: mattermost-operator
|
7
base/metallb/kustomization.yaml
Normal file
7
base/metallb/kustomization.yaml
Normal file
@ -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
|
8
base/metallb/secrets/kustomization.yaml
Normal file
8
base/metallb/secrets/kustomization.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: metallb-system
|
||||
|
||||
secretGenerator:
|
||||
- name: memberlist
|
||||
literals:
|
||||
- secretkey=FiXmEiAmNoTaReAlSeCr3tAnDineedtobereplacewithapropersecretforyourinfrastruture
|
8
base/metrics/kustomization.yaml
Normal file
8
base/metrics/kustomization.yaml
Normal 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
|
17
base/metrics/patches/high-availability-1.21+.yaml
Normal file
17
base/metrics/patches/high-availability-1.21+.yaml
Normal 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
|
14
base/minio/configurations/tenants.minio.min.io.yaml
Normal file
14
base/minio/configurations/tenants.minio.min.io.yaml
Normal file
@ -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
|
13
base/minio/kustomization.yaml
Normal file
13
base/minio/kustomization.yaml
Normal file
@ -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
|
2
base/nginx/kustomization.yaml
Normal file
2
base/nginx/kustomization.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
resources:
|
||||
- https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.4.0/deploy/static/provider/cloud/deploy.yaml
|
6
base/olm/kustomization.yaml
Normal file
6
base/olm/kustomization.yaml
Normal 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.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
|
10
base/postgresql/kustomization.yaml
Normal file
10
base/postgresql/kustomization.yaml
Normal file
@ -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
|
||||
|
||||
|
4
base/postgresql/namespace.yaml
Normal file
4
base/postgresql/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: postgresql-operator
|
7
base/rabbitmq/kustomization.yaml
Normal file
7
base/rabbitmq/kustomization.yaml
Normal 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
|
4
base/rabbitmq/namespace.yaml
Normal file
4
base/rabbitmq/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: rabbitmq-operator
|
8
base/redis/kustomization.yaml
Normal file
8
base/redis/kustomization.yaml
Normal file
@ -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
|
||||
|
4
base/redis/namespace.yaml
Normal file
4
base/redis/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: redis-operator
|
6
crds/kustomization.yaml
Normal file
6
crds/kustomization.yaml
Normal 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.27.0/crds.yaml
|
||||
- https://raw.githubusercontent.com/ory/k8s/v0.30.0/helm/charts/hydra-maester/crds/crd-oauth2clients.yaml
|
6
kustomization.yaml
Normal file
6
kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
bases:
|
||||
- ./crds
|
||||
- ./base
|
Loading…
Reference in New Issue
Block a user