From 7edc2498ea4c20de12a72f0a929fbeb0e9188653 Mon Sep 17 00:00:00 2001 From: Bobby Salamat Date: Fri, 31 Mar 2017 14:01:40 -0700 Subject: [PATCH] Generated files --- .../v1alpha1/zz_generated.conversion.go | 6 ++++++ pkg/generated/openapi/zz_generated.openapi.go | 11 +++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go b/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go index 83ae17ffe9b..5dfdc9e7b3e 100644 --- a/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go @@ -139,6 +139,9 @@ func autoConvert_v1alpha1_KubeSchedulerConfiguration_To_componentconfig_KubeSche } out.LockObjectNamespace = in.LockObjectNamespace out.LockObjectName = in.LockObjectName + out.PolicyConfigMapName = in.PolicyConfigMapName + out.PolicyConfigMapNamespace = in.PolicyConfigMapNamespace + out.UseLegacyPolicyConfig = in.UseLegacyPolicyConfig return nil } @@ -166,6 +169,9 @@ func autoConvert_componentconfig_KubeSchedulerConfiguration_To_v1alpha1_KubeSche } out.LockObjectNamespace = in.LockObjectNamespace out.LockObjectName = in.LockObjectName + out.PolicyConfigMapName = in.PolicyConfigMapName + out.PolicyConfigMapNamespace = in.PolicyConfigMapNamespace + out.UseLegacyPolicyConfig = in.UseLegacyPolicyConfig return nil } diff --git a/pkg/generated/openapi/zz_generated.openapi.go b/pkg/generated/openapi/zz_generated.openapi.go index 2d2e88e5520..f56db1254ea 100644 --- a/pkg/generated/openapi/zz_generated.openapi.go +++ b/pkg/generated/openapi/zz_generated.openapi.go @@ -12915,7 +12915,14 @@ func GetOpenAPIDefinitions(ref openapi.ReferenceCallback) map[string]openapi.Ope }, "policyConfigMapName": { SchemaProps: spec.SchemaProps{ - Description: "PolicyConfigMapName is the name of the ConfigMap object that specifies the scheduler's policy config. If UseLegacyPolicyConfig is true, scheduler uses PolicyConfigFile. If UseLegacyPolicyConfig is false and PolicyConfigMapName is not empty, the ConfigMap object with this name must exist in the default system namespace (\"kube-system\") before scheduler initialization.", + Description: "PolicyConfigMapName is the name of the ConfigMap object that specifies the scheduler's policy config. If UseLegacyPolicyConfig is true, scheduler uses PolicyConfigFile. If UseLegacyPolicyConfig is false and PolicyConfigMapName is not empty, the ConfigMap object with this name must exist in PolicyConfigMapNamespace before scheduler initialization.", + Type: []string{"string"}, + Format: "", + }, + }, + "policyConfigMapNamespace": { + SchemaProps: spec.SchemaProps{ + Description: "PolicyConfigMapNamespace is the namespace where the above policy config map is located. If none is provided default system namespace (\"kube-system\") will be used.", Type: []string{"string"}, Format: "", }, @@ -12928,7 +12935,7 @@ func GetOpenAPIDefinitions(ref openapi.ReferenceCallback) map[string]openapi.Ope }, }, }, - Required: []string{"port", "address", "algorithmProvider", "policyConfigFile", "enableProfiling", "enableContentionProfiling", "contentType", "kubeAPIQPS", "kubeAPIBurst", "schedulerName", "hardPodAffinitySymmetricWeight", "failureDomains", "leaderElection", "lockObjectNamespace", "lockObjectName"}, + Required: []string{"port", "address", "algorithmProvider", "policyConfigFile", "enableProfiling", "enableContentionProfiling", "contentType", "kubeAPIQPS", "kubeAPIBurst", "schedulerName", "hardPodAffinitySymmetricWeight", "failureDomains", "leaderElection", "lockObjectNamespace", "lockObjectName", "policyConfigMapName", "policyConfigMapNamespace", "useLegacyPolicyConfig"}, }, }, Dependencies: []string{