File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,10 @@ func GetMasterFileReferences(config *MasterConfig) []*string {
235235 }
236236 }
237237
238+ for k := range config .AdmissionConfig .PluginConfig {
239+ refs = append (refs , & config .AdmissionConfig .PluginConfig [k ].Location )
240+ }
241+
238242 if config .KubernetesMasterConfig != nil {
239243 refs = append (refs , & config .KubernetesMasterConfig .SchedulerConfigFile )
240244
@@ -244,6 +248,10 @@ func GetMasterFileReferences(config *MasterConfig) []*string {
244248 refs = appendFlagsWithFileExtensions (refs , config .KubernetesMasterConfig .APIServerArguments )
245249 refs = appendFlagsWithFileExtensions (refs , config .KubernetesMasterConfig .SchedulerArguments )
246250 refs = appendFlagsWithFileExtensions (refs , config .KubernetesMasterConfig .ControllerArguments )
251+
252+ for k := range config .KubernetesMasterConfig .AdmissionConfig .PluginConfig {
253+ refs = append (refs , & config .KubernetesMasterConfig .AdmissionConfig .PluginConfig [k ].Location )
254+ }
247255 }
248256
249257 if config .AuthConfig .RequestHeader != nil {
You can’t perform that action at this time.
0 commit comments