Skip to content

Commit

Permalink
Merge pull request opendatahub-io#112 from opendatahub-io/updateSampl…
Browse files Browse the repository at this point in the history
…esCreds

Update db test secrets
  • Loading branch information
tonyxrmdavidson authored Jul 3, 2024
2 parents 5c9f839 + a036779 commit cbd53e6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .gitleaks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[allowlist]
description = "Global Allowlist"

# Ignore based on any subset of the line
regexes = [

# Ignore specific database password
'''database-password\s*:\s*"The BlurstOfTimes"''',

# Ignore specific database user
'''database-user\s*:\s*"mlmduser"'''
]
4 changes: 2 additions & 2 deletions config/samples/mysql/mysql-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ items:
name: model-registry-db
stringData:
database-name: "model_registry"
database-password: "TheBlurstOfTimes"
database-user: "mlmduser"
database-password: "TheBlurstOfTimes" # notsecret
database-user: "mlmduser" # notsecret
kind: List
metadata: {}
4 changes: 2 additions & 2 deletions config/samples/postgres/postgres-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ items:
name: model-registry-db
stringData:
database-name: "model-registry"
database-password: "TheBlurstOfTimes"
database-user: "mlmduser"
database-password: "TheBlurstOfTimes" # notsecret
database-user: "mlmduser" # notsecret
kind: List
metadata: {}

0 comments on commit cbd53e6

Please sign in to comment.