diff --git a/.gitleaks.toml b/.gitleaks.toml new file mode 100644 index 000000000..11e0a3d95 --- /dev/null +++ b/.gitleaks.toml @@ -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"''' + ] \ No newline at end of file diff --git a/openshift-ci/resources/model-registry-operator/mysql-db.yaml b/openshift-ci/resources/model-registry-operator/mysql-db.yaml index 3fda2ef4c..a1a741f6e 100644 --- a/openshift-ci/resources/model-registry-operator/mysql-db.yaml +++ b/openshift-ci/resources/model-registry-operator/mysql-db.yaml @@ -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: {} diff --git a/openshift-ci/resources/samples/mysql/mysql-db.yaml b/openshift-ci/resources/samples/mysql/mysql-db.yaml index 65e60b13b..14296dac5 100644 --- a/openshift-ci/resources/samples/mysql/mysql-db.yaml +++ b/openshift-ci/resources/samples/mysql/mysql-db.yaml @@ -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: {} diff --git a/openshift-ci/resources/samples/postgres/postgres-db.yaml b/openshift-ci/resources/samples/postgres/postgres-db.yaml index 63e6dff6f..7877bdd2b 100644 --- a/openshift-ci/resources/samples/postgres/postgres-db.yaml +++ b/openshift-ci/resources/samples/postgres/postgres-db.yaml @@ -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: {} diff --git a/openshift-ci/resources/samples/samples/postgres/postgres-db.yaml b/openshift-ci/resources/samples/samples/postgres/postgres-db.yaml index 63e6dff6f..7877bdd2b 100644 --- a/openshift-ci/resources/samples/samples/postgres/postgres-db.yaml +++ b/openshift-ci/resources/samples/samples/postgres/postgres-db.yaml @@ -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: {}