diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 4309e92b0..e1420f56b 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -15047,7 +15047,7 @@ } }, "com.github.karmada-io.karmada.pkg.apis.policy.v1alpha1.Overriders": { - "description": "Overriders offers various alternatives to represent the override rules.\n\nIf more than one alternatives exist, they will be applied with following order: - ImageOverrider - Plaintext", + "description": "Overriders offers various alternatives to represent the override rules.\n\nIf more than one alternative exists, they will be applied with following order: - ImageOverrider - CommandOverrider - ArgsOverrider - Plaintext", "type": "object", "properties": { "argsOverrider": { diff --git a/pkg/apis/policy/v1alpha1/override_types.go b/pkg/apis/policy/v1alpha1/override_types.go index 879ab9a87..2d7b85ad5 100644 --- a/pkg/apis/policy/v1alpha1/override_types.go +++ b/pkg/apis/policy/v1alpha1/override_types.go @@ -79,8 +79,10 @@ type RuleWithCluster struct { // Overriders offers various alternatives to represent the override rules. // -// If more than one alternatives exist, they will be applied with following order: +// If more than one alternative exists, they will be applied with following order: // - ImageOverrider +// - CommandOverrider +// - ArgsOverrider // - Plaintext type Overriders struct { // Plaintext represents override rules defined with plaintext overriders. diff --git a/pkg/generated/openapi/zz_generated.openapi.go b/pkg/generated/openapi/zz_generated.openapi.go index 16eaa7217..3cc42bc8f 100644 --- a/pkg/generated/openapi/zz_generated.openapi.go +++ b/pkg/generated/openapi/zz_generated.openapi.go @@ -2443,7 +2443,7 @@ func schema_pkg_apis_policy_v1alpha1_Overriders(ref common.ReferenceCallback) co return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "Overriders offers various alternatives to represent the override rules.\n\nIf more than one alternatives exist, they will be applied with following order: - ImageOverrider - Plaintext", + Description: "Overriders offers various alternatives to represent the override rules.\n\nIf more than one alternative exists, they will be applied with following order: - ImageOverrider - CommandOverrider - ArgsOverrider - Plaintext", Type: []string{"object"}, Properties: map[string]spec.Schema{ "plaintext": {