@@ -245,10 +245,6 @@ const (
245
245
// This file should exist under KubeletRunDirectory
246
246
KubeletConfigurationFileName = "config.yaml"
247
247
248
- // DynamicKubeletConfigurationDirectoryName specifies the directory which stores the dynamic configuration checkpoints for the kubelet
249
- // This directory should exist under KubeletRunDirectory
250
- DynamicKubeletConfigurationDirectoryName = "dynamic-config"
251
-
252
248
// KubeletEnvFileName is a file "kubeadm init" writes at runtime. Using that interface, kubeadm can customize certain
253
249
// kubelet flags conditionally based on the environment at runtime. Also, parameters given to the configuration file
254
250
// might be passed through this file. "kubeadm init" writes one variable, with the name ${KubeletEnvFileVariableName}.
@@ -325,18 +321,6 @@ const (
325
321
// KubeDNSDnsMasqNannyImageName specifies the name of the image for the dnsmasq container in the kube-dns add-on
326
322
KubeDNSDnsMasqNannyImageName = "k8s-dns-dnsmasq-nanny"
327
323
328
- // AuditPolicyDir is the directory that will contain the audit policy
329
- AuditPolicyDir = "audit"
330
- // AuditPolicyFile is the name of the audit policy file itself
331
- AuditPolicyFile = "audit.yaml"
332
- // StaticPodAuditPolicyLogDir is the name of the directory in the static pod that will have the audit logs
333
- StaticPodAuditPolicyLogDir = "/var/log/kubernetes/audit"
334
-
335
- // LeaseEndpointReconcilerType will select a storage based reconciler
336
- // Copied from pkg/master/reconcilers to avoid pulling extra dependencies
337
- // TODO: Import this constant from a consts only package, that does not pull any further dependencies.
338
- LeaseEndpointReconcilerType = "lease"
339
-
340
324
// KubeDNSVersion is the version of kube-dns to be deployed if it is used
341
325
KubeDNSVersion = "1.14.13"
342
326
@@ -625,11 +609,6 @@ func GetAPIServerVirtualIP(svcSubnetList string, isDualStack bool) (net.IP, erro
625
609
return internalAPIServerVirtualIP , nil
626
610
}
627
611
628
- // GetStaticPodAuditPolicyFile returns the path to the audit policy file within a static pod
629
- func GetStaticPodAuditPolicyFile () string {
630
- return filepath .Join (KubernetesDir , AuditPolicyDir , AuditPolicyFile )
631
- }
632
-
633
612
// GetDNSVersion is a handy function that returns the DNS version by DNS type
634
613
func GetDNSVersion (dnsType kubeadmapi.DNSAddOnType ) string {
635
614
switch dnsType {
0 commit comments