-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow dspo to verify tls secured mysql
This change allows the DSPO to perform heatlh checks against a tls secured database. If the database is behind a self-signed cert, end user can provide a ca-bundle either as a global cert (configmap named "odh-trust-bundle" or via the ".caBundle" config option via the DSPA. This change also exposes the "ExtraParams" field for DSP, meaning users can now add ny DSN parameters when configuring a DB connection for DSP. These params are utilized in the same manner by the DSPO when conducting the health check to keep the behavior consistent. Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>
- Loading branch information
Showing
16 changed files
with
257 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: pipeline-server-config-{{.Name}} | ||
namespace: {{.Namespace}} | ||
labels: | ||
app: {{.APIServerDefaultResourceName}} | ||
component: data-science-pipelines | ||
data: | ||
config.json: | | ||
{ | ||
"DBConfig": { | ||
"DriverName": "mysql", | ||
"ConMaxLifeTime": "120s", | ||
"ExtraParams": {{ .DBConnection.ExtraParams }} | ||
}, | ||
"InitConnectionTimeout": "6m" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.