Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
ba7eb6c1
Commit
ba7eb6c1
authored
Mar 29, 2022
by
Brad Davidson
Committed by
Brad Davidson
Apr 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Redact datastore and etcd snapshot config from serialization
Signed-off-by:
Brad Davidson
<
brad.davidson@rancher.com
>
(cherry picked from commit
e7437d4a
)
parent
5d4e9d5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
types.go
pkg/daemons/config/types.go
+20
-20
No files found.
pkg/daemons/config/types.go
View file @
ba7eb6c1
...
@@ -138,7 +138,7 @@ type Control struct {
...
@@ -138,7 +138,7 @@ type Control struct {
KubeConfigOutput
string
KubeConfigOutput
string
KubeConfigMode
string
KubeConfigMode
string
DataDir
string
DataDir
string
Datastore
endpoint
.
Config
Datastore
endpoint
.
Config
`json:"-"`
DisableAPIServer
bool
DisableAPIServer
bool
DisableControllerManager
bool
DisableControllerManager
bool
DisableETCD
bool
DisableETCD
bool
...
@@ -164,25 +164,25 @@ type Control struct {
...
@@ -164,25 +164,25 @@ type Control struct {
EncryptSkip
bool
EncryptSkip
bool
TLSMinVersion
uint16
TLSMinVersion
uint16
TLSCipherSuites
[]
uint16
TLSCipherSuites
[]
uint16
EtcdSnapshotName
string
EtcdSnapshotName
string
`json:"-"`
EtcdDisableSnapshots
bool
EtcdDisableSnapshots
bool
`json:"-"`
EtcdExposeMetrics
bool
EtcdExposeMetrics
bool
`json:"-"`
EtcdSnapshotDir
string
EtcdSnapshotDir
string
`json:"-"`
EtcdSnapshotCron
string
EtcdSnapshotCron
string
`json:"-"`
EtcdSnapshotRetention
int
EtcdSnapshotRetention
int
`json:"-"`
EtcdSnapshotCompress
bool
EtcdSnapshotCompress
bool
`json:"-"`
EtcdListFormat
string
EtcdListFormat
string
`json:"-"`
EtcdS3
bool
EtcdS3
bool
`json:"-"`
EtcdS3Endpoint
string
EtcdS3Endpoint
string
`json:"-"`
EtcdS3EndpointCA
string
EtcdS3EndpointCA
string
`json:"-"`
EtcdS3SkipSSLVerify
bool
EtcdS3SkipSSLVerify
bool
`json:"-"`
EtcdS3AccessKey
string
EtcdS3AccessKey
string
`json:"-"`
EtcdS3SecretKey
string
EtcdS3SecretKey
string
`json:"-"`
EtcdS3BucketName
string
EtcdS3BucketName
string
`json:"-"`
EtcdS3Region
string
EtcdS3Region
string
`json:"-"`
EtcdS3Folder
string
EtcdS3Folder
string
`json:"-"`
EtcdS3Timeout
time
.
Duration
EtcdS3Timeout
time
.
Duration
`json:"-"`
EtcdS3Insecure
bool
EtcdS3Insecure
bool
`json:"-"`
ServerNodeName
string
ServerNodeName
string
BindAddress
string
BindAddress
string
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment