Skip to content

Commit

Permalink
Add sslmode attr to db
Browse files Browse the repository at this point in the history
  • Loading branch information
gburges committed Aug 22, 2023
1 parent e1261fb commit 41cbd79
Show file tree
Hide file tree
Showing 10 changed files with 484 additions and 420 deletions.
1 change: 1 addition & 0 deletions controllers/cloud.redhat.com/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func (dbc *DatabaseConfig) Populate(data *map[string]string) error {
dbc.AdminPassword = (*data)["pgPass"]
dbc.Port = int(port)
dbc.Username = (*data)["username"]
dbc.SslMode = (*data)["sslMode"]
return nil
}

Expand Down
4 changes: 4 additions & 0 deletions controllers/cloud.redhat.com/config/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,10 @@
"password": {
"description": "Defines the password for the In Memory DB server configuration.",
"type": "string"
},
"sslMode": {
"description": "Defines the sslMode used by the In Memory DB server coniguration",
"type": "boolean"
}
},
"required": [
Expand Down
Loading

0 comments on commit 41cbd79

Please sign in to comment.