Skip to content

Commit

Permalink
issue-683, remove logic for PostgreSQL user creation
Browse files Browse the repository at this point in the history
  • Loading branch information
OleksiienkoMykyta committed Feb 6, 2024
1 parent fe7cff1 commit 4494704
Show file tree
Hide file tree
Showing 12 changed files with 62 additions and 752 deletions.
87 changes: 24 additions & 63 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@
{
"path": "detect_secrets.filters.allowlist.is_line_allowlisted"
},
{
"path": "detect_secrets.filters.common.is_baseline_file",
"filename": ".secrets.baseline"
},
{
"path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
"min_level": 2
Expand Down Expand Up @@ -118,6 +114,15 @@
}
],
"results": {
".git/config": [
{
"type": "Base64 High Entropy String",
"filename": ".git/config",
"hashed_secret": "a16bf940eb9599e3a77ae599906a4e71e4e52243",
"is_verified": false,
"line_number": 23
}
],
"apis/clusterresources/v1beta1/cassandrauser_types.go": [
{
"type": "Secret Keyword",
Expand All @@ -136,15 +141,6 @@
"line_number": 62
}
],
"apis/clusterresources/v1beta1/postgresqluser_types.go": [
{
"type": "Secret Keyword",
"filename": "apis/clusterresources/v1beta1/postgresqluser_types.go",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 82
}
],
"apis/clusterresources/v1beta1/redisuser_types.go": [
{
"type": "Secret Keyword",
Expand All @@ -170,13 +166,6 @@
"hashed_secret": "44e17306b837162269a410204daaa5ecee4ec22c",
"is_verified": false,
"line_number": 548
},
{
"type": "Secret Keyword",
"filename": "apis/clusterresources/v1beta1/zz_generated.deepcopy.go",
"hashed_secret": "44864ab66d6b2c4df1459dc1e597a82f957dab32",
"is_verified": false,
"line_number": 684
}
],
"apis/clusters/v1beta1/cadence_types.go": [
Expand Down Expand Up @@ -335,21 +324,21 @@
"filename": "apis/clusters/v1beta1/postgresql_types.go",
"hashed_secret": "5ffe533b830f08a0326348a9160afafc8ada44db",
"is_verified": false,
"line_number": 374
"line_number": 375
},
{
"type": "Secret Keyword",
"filename": "apis/clusters/v1beta1/postgresql_types.go",
"hashed_secret": "a3d7d4a96d18c8fc5a1cf9c9c01c45b4690b4008",
"is_verified": false,
"line_number": 380
"line_number": 381
},
{
"type": "Secret Keyword",
"filename": "apis/clusters/v1beta1/postgresql_types.go",
"hashed_secret": "a57ce131bd944bdf8ba2f2f93e179dc416ed0315",
"is_verified": false,
"line_number": 500
"line_number": 501
}
],
"apis/clusters/v1beta1/redis_types.go": [
Expand Down Expand Up @@ -400,6 +389,15 @@
"line_number": 239
}
],
"apis/clusters/v1beta1/zz_generated.deepcopy.go": [
{
"type": "Secret Keyword",
"filename": "apis/clusters/v1beta1/zz_generated.deepcopy.go",
"hashed_secret": "44e17306b837162269a410204daaa5ecee4ec22c",
"is_verified": false,
"line_number": 2101
}
],
"apis/kafkamanagement/v1beta1/kafkauser_types.go": [
{
"type": "Secret Keyword",
Expand Down Expand Up @@ -532,29 +530,6 @@
"line_number": 7
}
],
"controllers/clusterresources/postgresqluser_controller.go": [
{
"type": "Secret Keyword",
"filename": "controllers/clusterresources/postgresqluser_controller.go",
"hashed_secret": "d7b035bd4516a073375fc3f385b16ab026eb8492",
"is_verified": false,
"line_number": 151
},
{
"type": "Basic Auth Credentials",
"filename": "controllers/clusterresources/postgresqluser_controller.go",
"hashed_secret": "347cd9c53ff77d41a7b22aa56c7b4efaf54658e3",
"is_verified": false,
"line_number": 345
},
{
"type": "Secret Keyword",
"filename": "controllers/clusterresources/postgresqluser_controller.go",
"hashed_secret": "dfe914dad87f58ca3fbf9e77036e1add2070da45",
"is_verified": false,
"line_number": 386
}
],
"controllers/clusters/cadence_controller.go": [
{
"type": "Secret Keyword",
Expand Down Expand Up @@ -599,26 +574,12 @@
}
],
"controllers/clusters/postgresql_controller.go": [
{
"type": "Secret Keyword",
"filename": "controllers/clusters/postgresql_controller.go",
"hashed_secret": "a57ce131bd944bdf8ba2f2f93e179dc416ed0315",
"is_verified": false,
"line_number": 576
},
{
"type": "Secret Keyword",
"filename": "controllers/clusters/postgresql_controller.go",
"hashed_secret": "b5d01701d58992dc3e388a02b55f1780c5e395a4",
"is_verified": false,
"line_number": 597
},
{
"type": "Secret Keyword",
"filename": "controllers/clusters/postgresql_controller.go",
"hashed_secret": "5ffe533b830f08a0326348a9160afafc8ada44db",
"is_verified": false,
"line_number": 1674
"line_number": 1362
}
],
"controllers/clusters/zookeeper_controller_test.go": [
Expand Down Expand Up @@ -783,7 +744,7 @@
"filename": "pkg/instaclustr/client.go",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 2017
"line_number": 2042
}
],
"pkg/instaclustr/mock/client.go": [
Expand Down Expand Up @@ -1174,5 +1135,5 @@
}
]
},
"generated_at": "2024-02-02T08:53:13Z"
"generated_at": "2024-02-05T15:02:47Z"
}
89 changes: 0 additions & 89 deletions apis/clusterresources/v1beta1/postgresqluser_types.go

This file was deleted.

70 changes: 0 additions & 70 deletions apis/clusterresources/v1beta1/postgresqluser_webhook.go

This file was deleted.

3 changes: 0 additions & 3 deletions apis/clusterresources/v1beta1/webhook_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@ var _ = BeforeSuite(func() {
err = (&ClusterBackup{}).SetupWebhookWithManager(mgr)
Expect(err).NotTo(HaveOccurred())

err = (&PostgreSQLUser{}).SetupWebhookWithManager(mgr)
Expect(err).NotTo(HaveOccurred())

//+kubebuilder:scaffold:webhook

go func() {
Expand Down
Loading

0 comments on commit 4494704

Please sign in to comment.