-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed Mongo related code and files #1329
Conversation
e9e45ac
to
f2ee93e
Compare
README.md
Outdated
--db-storage-class='': The database volume storage class name | ||
--db-type='postgres': The type of database container image (mongodb, postgres) | ||
--db-type='postgres': The type of database container image (postgres) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this flag?
Can we remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed all references to DBType in the code. Left it in the CRD, but basically ignoring it
f2ee93e
to
b58a6f1
Compare
b58a6f1
to
fe70713
Compare
README.md
Outdated
@@ -143,9 +143,8 @@ The following options can be passed to any command: | |||
--aws-sts-arn='': The AWS STS Role ARN which will assume role | |||
--cosi-driver-path='/var/lib/cosi/cosi.sock': unix socket path for COSI | |||
--cosi-sidecar-image='gcr.io/k8s-staging-sig-storage/objectstorage-sidecar/objectstorage-sidecar:v20221117-v0.1.0-22-g0e67387': The cosi side car container image | |||
--db-image='centos/mongodb-36-centos7': The database container image | |||
--db-image='"quay.io/sclorg/postgresql-15-c9s"': The database container image |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove second quotes:
--db-image='"quay.io/sclorg/postgresql-15-c9s"': The database container image | |
--db-image='quay.io/sclorg/postgresql-15-c9s': The database container image |
@@ -85,9 +85,10 @@ type NooBaaSpec struct { | |||
// +optional | |||
DBConf *string `json:"dbConf,omitempty"` | |||
|
|||
// DBType (optional) overrides the default type image for the db container | |||
// DBType (optional) overrides the default type image for the db container. | |||
// The only possible value is postgres |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't we just remove this?
Removed all mongo related code: * Making DBType to only accept postgres * removed mongo external URL * removed mongo related envs from deployments\statefulsets * remove Mongo related CLI commands (e.g. dbdump) Signed-off-by: Danny Zaken <[email protected]>
fe70713
to
79816d9
Compare
Removed all mongo related code:
Explain the changes
Issues: Fixed #xxx / Gap #xxx
Testing Instructions: