Compare commits
9 Commits
feat/apisi
...
wip/proxy-
Author | SHA1 | Date | |
---|---|---|---|
1956ea17d7 | |||
0dedc69547 | |||
90a5a86e4b | |||
6af5702148 | |||
f148cc4e16 | |||
add98c9bcc | |||
54692bc243 | |||
fd897e9822 | |||
a0fb1cb598 |
@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- https://github.com/cloudnative-pg/cloudnative-pg/releases/download/v1.21.1/cnpg-1.21.1.yaml
|
- https://github.com/cloudnative-pg/cloudnative-pg/releases/download/v1.24.1/cnpg-1.24.1.yaml
|
||||||
|
|
||||||
configurations:
|
configurations:
|
||||||
- ./configurations/cnpg-cluster.yaml
|
- ./configurations/cnpg-cluster.yaml
|
@ -1,13 +1,14 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
bases:
|
resources:
|
||||||
- ./metallb
|
|
||||||
- https://github.com/cert-manager/cert-manager/releases/download/v1.10.0/cert-manager.yaml
|
- https://github.com/cert-manager/cert-manager/releases/download/v1.10.0/cert-manager.yaml
|
||||||
|
- ./olm
|
||||||
|
- ./metallb
|
||||||
- ./rabbitmq
|
- ./rabbitmq
|
||||||
- ./postgresql
|
- ./postgresql
|
||||||
- ./redis
|
- ./redis
|
||||||
- ./minio
|
- ./minio
|
||||||
- ./metrics
|
- ./metrics
|
||||||
- ./nginx
|
- ./nginx
|
||||||
- ./cloudnative-pg-operator
|
#- ./cloudnative-pg-operator
|
||||||
|
@ -1,2 +1,6 @@
|
|||||||
resources:
|
resources:
|
||||||
- https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.4.0/deploy/static/provider/cloud/deploy.yaml
|
- https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.4.0/deploy/static/provider/cloud/deploy.yaml
|
||||||
|
|
||||||
|
patches:
|
||||||
|
- path: patches/ingress-nginx-cm.yaml
|
||||||
|
- path: patches/ingress-nginx-deploy.yaml
|
||||||
|
8
base/nginx/patches/ingress-nginx-cm.yaml
Normal file
8
base/nginx/patches/ingress-nginx-cm.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: ingress-nginx-controller
|
||||||
|
namespace: ingress-nginx
|
||||||
|
data:
|
||||||
|
allow-snippet-annotations: "true"
|
||||||
|
http-snippet: "proxy_cache_path /cache levels=1:2 keys_zone=nginx-cache:10m max_size=489m inactive=10m use_temp_path=off;"
|
17
base/nginx/patches/ingress-nginx-deploy.yaml
Normal file
17
base/nginx/patches/ingress-nginx-deploy.yaml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: ingress-nginx-controller
|
||||||
|
namespace: ingress-nginx
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: controller
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /cache
|
||||||
|
name: cache
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
emptyDir:
|
||||||
|
sizeLimit: 500M
|
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
|
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
|
Reference in New Issue
Block a user