Skip to content

investigate(quota): why are default quota policies enabled globally by default, and how should service configurations be organized? #760

Description

@JoseSzycho

Question / Problem Statement

During E2E testing for non-quota features (e.g. resource-management/project-deletion-blocked-resources), creating standard Kubernetes objects like a ConfigMap or Secret inside a test project fails with a quota 403 Forbidden error:

configmaps "held-resource" is forbidden: You've reached your quota for this resource type 
(Insufficient quota resources. Contact your account administrator to review quota limits and usage.).

To unblock tests, PRs have had to temporarily disable global quota policies during test runs (e.g. patching project-configmap-claim-policy to disabled: true).

This raises key architectural questions:

  1. Why are default ClaimCreationPolicy resources enabled globally across the entire control plane by default?
  2. Is disabling claim policies inside non-quota test suites symptomatic of how service configurations (config/services/) are organized?
  3. How should default quota policies behave for newly created Organizations and Projects?

Related to:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions