Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unwanted types in CRDs #2634

Merged
merged 2 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions helm-charts/crds/cp.wso2.com_subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,11 @@ spec:
type: object
organization:
type: string
ratelimitRef:
description: RatelimitRef defines the ratelimit associated with the
subscription
properties:
level:
type: string
name:
type: string
required:
- level
- name
type: object
subscriptionStatus:
type: string
required:
- api
- organization
- ratelimitRef
- subscriptionStatus
type: object
status:
Expand Down
62 changes: 0 additions & 62 deletions helm-charts/crds/dp.wso2.com_ratelimitpolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,37 +79,6 @@ spec:
description: Value is the value of the custom policy
type: string
type: object
subscription:
description: Subscription level ratelimit policy
properties:
burstControl:
description: BurstControl defines the rule for token count
quota.
properties:
requestsPerUnit:
format: int32
type: integer
unit:
type: string
type: object
organization:
type: string
requestCount:
description: RequestCount defines the rule for request count
quota.
properties:
requestsPerUnit:
format: int32
type: integer
unit:
type: string
type: object
stopOnQuotaReach:
type: boolean
required:
- organization
- stopOnQuotaReach
type: object
type: object
override:
description: RateLimitAPIPolicy defines the desired state of Policy
Expand Down Expand Up @@ -156,37 +125,6 @@ spec:
description: Value is the value of the custom policy
type: string
type: object
subscription:
description: Subscription level ratelimit policy
properties:
burstControl:
description: BurstControl defines the rule for token count
quota.
properties:
requestsPerUnit:
format: int32
type: integer
unit:
type: string
type: object
organization:
type: string
requestCount:
description: RequestCount defines the rule for request count
quota.
properties:
requestsPerUnit:
format: int32
type: integer
unit:
type: string
type: object
stopOnQuotaReach:
type: boolean
required:
- organization
- stopOnQuotaReach
type: object
type: object
targetRef:
description: NamespacedPolicyTargetReference identifies an API object
Expand Down
Loading