mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
remove write only field
This commit is contained in:
parent
c301ac9c7d
commit
cd59d9b99f
@ -122,10 +122,6 @@ type Config struct {
|
|||||||
// If nil or 0.0.0.0, the host's default interface will be used.
|
// If nil or 0.0.0.0, the host's default interface will be used.
|
||||||
PublicAddress net.IP
|
PublicAddress net.IP
|
||||||
|
|
||||||
// Control the interval that pod, node IP, and node heath status caches
|
|
||||||
// expire.
|
|
||||||
CacheTimeout time.Duration
|
|
||||||
|
|
||||||
// The range of IPs to be assigned to services with type=ClusterIP or greater
|
// The range of IPs to be assigned to services with type=ClusterIP or greater
|
||||||
ServiceClusterIPRange *net.IPNet
|
ServiceClusterIPRange *net.IPNet
|
||||||
|
|
||||||
@ -206,7 +202,6 @@ func NewConfig() *Config {
|
|||||||
MasterCount: 1,
|
MasterCount: 1,
|
||||||
ReadWritePort: 6443,
|
ReadWritePort: 6443,
|
||||||
ServiceReadWritePort: 443,
|
ServiceReadWritePort: 443,
|
||||||
CacheTimeout: 5 * time.Second,
|
|
||||||
RequestContextMapper: api.NewRequestContextMapper(),
|
RequestContextMapper: api.NewRequestContextMapper(),
|
||||||
BuildHandlerChainsFunc: DefaultBuildHandlerChain,
|
BuildHandlerChainsFunc: DefaultBuildHandlerChain,
|
||||||
LegacyAPIGroupPrefixes: sets.NewString(LegacyAPIPrefix),
|
LegacyAPIGroupPrefixes: sets.NewString(LegacyAPIPrefix),
|
||||||
|
Loading…
Reference in New Issue
Block a user