Skip to content

Commit

Permalink
Merge pull request #70 from kubevirt-bot/cherry-pick-68-to-release-v1.1
Browse files Browse the repository at this point in the history
[release-v1.1] Change default label name to enable-gating
  • Loading branch information
kubevirt-bot authored May 8, 2024
2 parents 007b029 + 54508f6 commit 0d77ae9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/aaq-operator/resources/cluster/aaqserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (
MutatingWebhookConfigurationName = "gating-mutator"
validatingWebhookConfigurationName = "aaq-validator"
AaqServerServiceName = "aaq-server"
DefaultNamespaceSelectorLabel = "application-aware-quota/enable"
DefaultNamespaceSelectorLabel = "application-aware-quota/enable-gating"
)

func createStaticAAQLockResources(args *FactoryArgs) []client.Object {
Expand Down
2 changes: 1 addition & 1 deletion pkg/aaq-operator/resources/crds_generated.go
Original file line number Diff line number Diff line change
Expand Up @@ -2367,7 +2367,7 @@ spec:
type: object
namespaceSelector:
description: namespaces where pods should be gated before scheduling
Defaults to targeting namespaces with an "application-aware-quota/enable"
Defaults to targeting namespaces with an "application-aware-quota/enable-gating"
label key.
properties:
matchExpressions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ type AAQSpec struct {
// PriorityClass of the AAQ control plane
PriorityClass *AAQPriorityClass `json:"priorityClass,omitempty"`
// namespaces where pods should be gated before scheduling
// Defaults to targeting namespaces with an "application-aware-quota/enable" label key.
// Defaults to targeting namespaces with an "application-aware-quota/enable-gating" label key.
NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"`
// holds aaq configurations.
Configuration AAQConfiguration `json:"configuration,omitempty"`
Expand Down

0 comments on commit 0d77ae9

Please sign in to comment.