Skip to content

Commit

Permalink
feat(db): add force_tls_disabled and force_non_ssl_session_port colum…
Browse files Browse the repository at this point in the history
…ns to cluster
karol-kokoszka committed Feb 26, 2024

Verified

This commit was signed with the committer’s verified signature.
timryanb Tim Brooks
1 parent ffb7cc3 commit 3804c65
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/schema/table/table.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pkg/service/cluster/model.go
Original file line number Diff line number Diff line change
@@ -20,6 +20,9 @@ type Cluster struct {
Port int `json:"port,omitempty"`
AuthToken string `json:"auth_token"`

ForceTLSDisabled bool `json:"force_tls_disabled"`
ForceNonSSLSessionPort bool `json:"force_non_ssl_session_port"`

Username string `json:"username,omitempty" db:"-"`
Password string `json:"password,omitempty" db:"-"`
SSLUserCertFile []byte `json:"ssl_user_cert_file,omitempty" db:"-"`
2 changes: 2 additions & 0 deletions schema/v3.2.6.cql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE cluster ADD force_tls_disabled BOOLEAN;
ALTER TABLE cluster ADD force_non_ssl_session_port BOOLEAN;

0 comments on commit 3804c65

Please sign in to comment.