Skip to content

Commit

Permalink
Remove unwanted types in CRDs
Browse files Browse the repository at this point in the history
  • Loading branch information
Krishanx92 committed Oct 28, 2024
1 parent d6cf1f6 commit d387300
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 75 deletions.
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

0 comments on commit d387300

Please sign in to comment.