diff --git a/build/kic_crds/policy-definition.yaml b/build/kic_crds/policy-definition.yaml index 90b1b0de..4034621e 100644 --- a/build/kic_crds/policy-definition.yaml +++ b/build/kic_crds/policy-definition.yaml @@ -35,10 +35,9 @@ spec: metadata: type: object spec: - description: 'PolicySpec is the spec of the Policy resource. The spec includes - multiple fields, where each field represents a different policy. Note: - currently we have only one policy -- AccessControl, but we will support - more in the future. Only one policy (field) is allowed.' + description: PolicySpec is the spec of the Policy resource. The spec includes + multiple fields, where each field represents a different policy. Only + one policy (field) is allowed. type: object properties: accessControl: @@ -53,4 +52,26 @@ spec: deny: type: array items: - type: string \ No newline at end of file + type: string + rateLimit: + description: RateLimit defines a rate limit policy. + type: object + properties: + burst: + type: integer + delay: + type: integer + dryRun: + type: boolean + key: + type: string + logLevel: + type: string + noDelay: + type: boolean + rate: + type: string + rejectCode: + type: integer + zoneSize: + type: string \ No newline at end of file diff --git a/build/kic_crds/vs-definition.yaml b/build/kic_crds/vs-definition.yaml index 2a6a41b4..b4ba09a3 100644 --- a/build/kic_crds/vs-definition.yaml +++ b/build/kic_crds/vs-definition.yaml @@ -398,6 +398,17 @@ spec: type: integer path: type: string + policies: + type: array + items: + description: PolicyReference references a policy by name and + an optional namespace. + type: object + properties: + name: + type: string + namespace: + type: string route: type: string splits: diff --git a/build/kic_crds/vsr-definition.yaml b/build/kic_crds/vsr-definition.yaml index 5def970b..c250260e 100644 --- a/build/kic_crds/vsr-definition.yaml +++ b/build/kic_crds/vsr-definition.yaml @@ -383,6 +383,17 @@ spec: type: integer path: type: string + policies: + type: array + items: + description: PolicyReference references a policy by name and + an optional namespace. + type: object + properties: + name: + type: string + namespace: + type: string route: type: string splits: