integr8ly / cloud-resource-operator Goto Github PK
View Code? Open in Web Editor NEWOperator for provisioning resources (Postgres, Redis etc) in-cluster or via cloud providers
License: Apache License 2.0
Operator for provisioning resources (Postgres, Redis etc) in-cluster or via cloud providers
License: Apache License 2.0
We need deletion protection on the PVC we create with both Redis and Postgres.
Currently when we create an openshift instance of Redis or Postgres we do not add a finalizer to the PVC. This could make it easier for accidental deletion of the PVC from the cluster.
We should add the finalizer when we create the PVC.
We will also need to remove the finalizer when DeletePostgres
is called.
All logic can be found in pkg/providers/openshift/provider_postgres.go
make cluster/prepair
deploy/crds/integreatly_v1alpha_postgres_cr.yaml
has the spec/type
set to workshop
make cluster/seed/postgres
make run
cloud-resource-operator
postgres
in cluster, and remove the resource
this should tripper the operator to begin deletion of the postgres instancepostgres
instance is removed completely from the cluster.make test/unit
before pushing changes to branchCurrently when creating a postgres resource in openshift and aws we need to pre create a secret within our cluster that will be used as the default user and password to the postgres instance. This work is duplicated in both aws/provider_postgres.go
and openshift/provider_postgres.go
Create a postgres_util
in the provider
directory which will de-duplicate the buildDefaultPostgresSecret
function
make cluster/prepair
deploy/crds/integreatly_v1alpha_postgres_cr.yaml
has the spec/type
set to workshop
make cluster/seed/postgres
make run
cloud-resource-operator
user
, password
and database
postgres
in cluster, and remove the resource
this should tripper the operator to begin deletion of the postgres instancepostgres
instance is removed completely from the cluster.make test/unit
before pushing changes to branchA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.