File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
cmd/kubeadm/app/util/config/testdata/defaulting/controlplane
pkg/kubelet/apis/config/v1beta1 Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ cgroupsPerQOS: true
101
101
clusterDNS :
102
102
- 10.192.0.10
103
103
clusterDomain : cluster.global
104
- configMapAndSecretChangeDetectionStrategy : Watch
104
+ configMapAndSecretChangeDetectionStrategy : Cache
105
105
containerLogMaxFiles : 5
106
106
containerLogMaxSize : 10Mi
107
107
contentType : application/vnd.kubernetes.protobuf
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ cgroupsPerQOS: true
101
101
clusterDNS :
102
102
- 10.192.0.10
103
103
clusterDomain : cluster.global
104
- configMapAndSecretChangeDetectionStrategy : Watch
104
+ configMapAndSecretChangeDetectionStrategy : Cache
105
105
containerLogMaxFiles : 5
106
106
containerLogMaxSize : 10Mi
107
107
contentType : application/vnd.kubernetes.protobuf
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ func SetDefaults_KubeletConfiguration(obj *kubeletconfigv1beta1.KubeletConfigura
215
215
obj .ContainerLogMaxFiles = utilpointer .Int32Ptr (5 )
216
216
}
217
217
if obj .ConfigMapAndSecretChangeDetectionStrategy == "" {
218
- obj .ConfigMapAndSecretChangeDetectionStrategy = kubeletconfigv1beta1 .WatchChangeDetectionStrategy
218
+ obj .ConfigMapAndSecretChangeDetectionStrategy = kubeletconfigv1beta1 .TTLCacheChangeDetectionStrategy
219
219
}
220
220
if obj .EnforceNodeAllocatable == nil {
221
221
obj .EnforceNodeAllocatable = DefaultNodeAllocatableEnforcement
You can’t perform that action at this time.
0 commit comments