Skip to content

Commit

Permalink
redis codebase refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Bohdan Siryk authored and Bohdan Siryk committed Feb 8, 2024
1 parent 15a86cd commit 8d4258f
Show file tree
Hide file tree
Showing 16 changed files with 593 additions and 455 deletions.
18 changes: 7 additions & 11 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 @@ -342,21 +338,21 @@
"filename": "apis/clusters/v1beta1/redis_types.go",
"hashed_secret": "bc1c5ae5fd4a238d86261f422e62c489de408c22",
"is_verified": false,
"line_number": 159
"line_number": 169
},
{
"type": "Secret Keyword",
"filename": "apis/clusters/v1beta1/redis_types.go",
"hashed_secret": "d62d56668a8c859e768e8250ed2fb690d03cead3",
"is_verified": false,
"line_number": 228
"line_number": 224
},
{
"type": "Secret Keyword",
"filename": "apis/clusters/v1beta1/redis_types.go",
"hashed_secret": "5ba903f624ef2afb380a91d9c08efed6ef1c531d",
"hashed_secret": "d0e8e6fc5dce4d2b452e344ae41900b566ac01d1",
"is_verified": false,
"line_number": 281
"line_number": 269
}
],
"apis/clusters/v1beta1/redis_webhook.go": [
Expand All @@ -365,7 +361,7 @@
"filename": "apis/clusters/v1beta1/redis_webhook.go",
"hashed_secret": "bc1c5ae5fd4a238d86261f422e62c489de408c22",
"is_verified": false,
"line_number": 345
"line_number": 343
}
],
"apis/clusters/v1beta1/zookeeper_types.go": [
Expand Down Expand Up @@ -739,7 +735,7 @@
"filename": "pkg/instaclustr/client.go",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 2054
"line_number": 2060
}
],
"pkg/instaclustr/mock/client.go": [
Expand Down Expand Up @@ -1130,5 +1126,5 @@
}
]
},
"generated_at": "2024-02-08T08:15:55Z"
"generated_at": "2024-02-08T13:39:05Z"
}
7 changes: 4 additions & 3 deletions apis/clusters/v1beta1/generic_spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,10 @@ func (s *GenericClusterSpec) ClusterSettingsUpdateToInstAPI() *models.ClusterSet
}

type GenericDataCentreSpec struct {
Name string `json:"name,omitempty"`
Region string `json:"region"`
CloudProvider string `json:"cloudProvider"`
Name string `json:"name,omitempty"`
Region string `json:"region"`
CloudProvider string `json:"cloudProvider"`
//+kubebuilder:default:=INSTACLUSTR
ProviderAccountName string `json:"accountName,omitempty"`
Network string `json:"network"`
Tags map[string]string `json:"tags,omitempty"`
Expand Down
Loading

0 comments on commit 8d4258f

Please sign in to comment.