Skip to content

Commit

Permalink
KMS: configuration is change via tikv (#2334) (#2351)
Browse files Browse the repository at this point in the history
  • Loading branch information
sre-bot authored Apr 30, 2020
1 parent 0460780 commit e5f9077
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/api-references/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -10560,7 +10560,7 @@ TiKVTitanDBConfig
<tbody>
<tr>
<td>
<code>method</code></br>
<code>data-encryption-method</code></br>
<em>
string
</em>
Expand Down
12 changes: 6 additions & 6 deletions manifests/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6142,6 +6142,12 @@ spec:
type: object
encryption:
properties:
data-encryption-method:
description: 'Encrypyion method, use data key encryption
raw rocksdb data Possible values: plaintext, aes128-ctr,
aes192-ctr, aes256-ctr Optional: Default to plaintext
optional'
type: string
data-key-rotation-period:
description: 'The frequency of datakey rotation, It managered
by tikv Optional: default to 7d optional'
Expand Down Expand Up @@ -6188,12 +6194,6 @@ spec:
- path
- key-id
type: object
method:
description: 'Encrypyion method, use data key encryption
raw rocksdb data Possible values: plaintext, aes128-ctr,
aes192-ctr, aes256-ctr Optional: Default to plaintext
optional'
type: string
previous-master-key:
properties:
access-key:
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/pingcap/v1alpha1/openapi_generated.go

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

2 changes: 1 addition & 1 deletion pkg/apis/pingcap/v1alpha1/tikv_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ type TiKVEncryptionConfig struct {
// Possible values: plaintext, aes128-ctr, aes192-ctr, aes256-ctr
// Optional: Default to plaintext
// optional
Method string `json:"method,omitempty" toml:"method,omitempty"`
Method string `json:"data-encryption-method,omitempty" toml:"data-encryption-method,omitempty"`

// The frequency of datakey rotation, It managered by tikv
// Optional: default to 7d
Expand Down

0 comments on commit e5f9077

Please sign in to comment.