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
This commit is contained in:
parent
82096575ba
commit
54692bc243
|
@ -1,9 +1,10 @@
|
||||||
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
|
||||||
|
|
|
@ -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,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,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