From 89181e6aa2fdf7c5239ae1ff70a75fc576513572 Mon Sep 17 00:00:00 2001 From: Shriram Sharma Date: Fri, 23 Sep 2022 13:47:57 -0700 Subject: [PATCH 1/5] generated admiral CRDs compatible with k8 1.22 Signed-off-by: Shriram Sharma --- admiral/crd/dependency.yaml | 58 +++++++++++++- admiral/crd/globalTraffic.yaml | 105 +++++++++++++++++++++++- admiral/crd/routingPolicy.yaml | 54 ++++++++++++- install/admiral/base/crds.yaml | 116 ++++++++++++++++++++++++--- install/admiralremote/base/crds.yaml | 107 ++++++++++++++++++++++-- 5 files changed, 418 insertions(+), 22 deletions(-) diff --git a/admiral/crd/dependency.yaml b/admiral/crd/dependency.yaml index a799f5f67..dd24e1d81 100644 --- a/admiral/crd/dependency.yaml +++ b/admiral/crd/dependency.yaml @@ -1,11 +1,63 @@ -apiVersion: apiextensions.k8s.io/v1beta1 +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: dependencies.admiral.io spec: group: admiral.io - version: v1alpha1 names: kind: Dependency plural: dependencies - scope: Namespaced \ No newline at end of file + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: generic cdr object to wrap the dependency api + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + properties: + destinations: + description: 'REQUIRED: A list of workloads that source workload depends + on.' + items: + type: string + type: array + identityLabel: + description: 'REQUIRED: the label on the workload for selecting source + and destination' + type: string + source: + description: 'REQUIRED: identifier for the source workload' + type: string + type: object + status: + description: "" + properties: + clustersSynced: + format: int32 + type: integer + state: + type: string + required: + - clustersSynced + - state + type: object + required: + - metadata + - spec + - status + type: object + served: true + storage: true \ No newline at end of file diff --git a/admiral/crd/globalTraffic.yaml b/admiral/crd/globalTraffic.yaml index f45e0a64e..655516824 100644 --- a/admiral/crd/globalTraffic.yaml +++ b/admiral/crd/globalTraffic.yaml @@ -1,11 +1,110 @@ -apiVersion: apiextensions.k8s.io/v1beta1 +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: globaltrafficpolicies.admiral.io spec: group: admiral.io - version: v1alpha1 names: kind: GlobalTrafficPolicy plural: globaltrafficpolicies - scope: Namespaced \ No newline at end of file + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: generic cdr object to wrap the GlobalTrafficPolicy api + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + properties: + policy: + description: 'REQUIRED: A list host name .' + items: + description: TrafficPolicy describes routing for a hostname. + properties: + dns: + description: 'REQUIRED: dns that can be used by client. This + name will have the traffic type applied to it' + type: string + dnsPrefix: + description: 'REQUIRED: dnsPrefix that will be prefixed for + the service names being generated with this traffic policy + Ex: dnsPrefix = west => generated service name = west.stage.servicename.global' + type: string + lbType: + description: 'REQUIRED: type of global load distrubtion' + format: int32 + type: integer + outlier_detection: + description: 'OPTIONAL: to configure the outlierDetection in + DestinationRule' + properties: + base_ejection_time: + description: 'REQUIRED: Minimum duration of time in seconds, + the endpoint will be ejected' + format: int64 + type: integer + consecutive_gateway_errors: + description: 'REQUIRED: No. of consecutive failures in specified + interval after which the endpoint will be ejected' + format: int32 + type: integer + interval: + description: 'REQUIRED: Time interval between ejection sweep + analysis' + format: int64 + type: integer + type: object + target: + description: weigth of primary and secondary must each 100 + items: + properties: + region: + description: region for the traffic + type: string + weight: + description: weight for traffic this region should get. + format: int32 + type: integer + type: object + type: array + type: object + type: array + selector: + additionalProperties: + type: string + description: 'REQUIRED: One or more labels that indicate a specific + set of pods/VMs on which this global routing policy should be applied. + The scope of label search is restricted to namespace mark for mesh + enablement this will scan all cluster and namespace' + type: object + type: object + status: + properties: + clustersSynced: + format: int32 + type: integer + state: + type: string + required: + - clustersSynced + - state + type: object + required: + - metadata + - spec + - status + type: object + served: true + storage: true \ No newline at end of file diff --git a/admiral/crd/routingPolicy.yaml b/admiral/crd/routingPolicy.yaml index 1b3926449..bb5a06b22 100644 --- a/admiral/crd/routingPolicy.yaml +++ b/admiral/crd/routingPolicy.yaml @@ -4,11 +4,61 @@ metadata: name: routingpolicies.admiral.io spec: group: admiral.io - version: v1alpha1 names: kind: RoutingPolicy + listKind: RoutingPolicyList plural: routingpolicies shortNames: - rp - rps - scope: Namespaced \ No newline at end of file + singular: routingpolicy + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: generic cdr object to wrap the GlobalTrafficPolicy api + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + properties: + config: + additionalProperties: + type: string + type: object + hosts: + items: + type: string + type: array + plugin: + type: string + type: object + status: + properties: + clustersSynced: + format: int32 + type: integer + state: + type: string + required: + - clustersSynced + - state + type: object + required: + - metadata + - spec + - status + type: object + served: true + storage: true diff --git a/install/admiral/base/crds.yaml b/install/admiral/base/crds.yaml index f99b8c10a..672f6622c 100644 --- a/install/admiral/base/crds.yaml +++ b/install/admiral/base/crds.yaml @@ -1,36 +1,134 @@ --- -apiVersion: apiextensions.k8s.io/v1beta1 +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: dependencies.admiral.io spec: group: admiral.io - version: v1alpha1 names: kind: Dependency plural: dependencies - singular: dependency - shortNames: - - dep - - deps scope: Namespaced - + versions: + - name: v1 + schema: + openAPIV3Schema: + description: generic cdr object to wrap the dependency api + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + properties: + destinations: + description: 'REQUIRED: A list of workloads that source workload depends + on.' + items: + type: string + type: array + identityLabel: + description: 'REQUIRED: the label on the workload for selecting source + and destination' + type: string + source: + description: 'REQUIRED: identifier for the source workload' + type: string + type: object + status: + description: "" + properties: + clustersSynced: + format: int32 + type: integer + state: + type: string + required: + - clustersSynced + - state + type: object + required: + - metadata + - spec + - status + type: object + served: true + storage: true --- -apiVersion: apiextensions.k8s.io/v1beta1 +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: routingpolicies.admiral.io spec: group: admiral.io - version: v1alpha1 names: kind: RoutingPolicy + listKind: RoutingPolicyList plural: routingpolicies shortNames: - rp - rps + singular: routingpolicy scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: generic cdr object to wrap the GlobalTrafficPolicy api + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + properties: + config: + additionalProperties: + type: string + type: object + hosts: + items: + type: string + type: array + plugin: + type: string + type: object + status: + properties: + clustersSynced: + format: int32 + type: integer + state: + type: string + required: + - clustersSynced + - state + type: object + required: + - metadata + - spec + - status + type: object + served: true + storage: true + diff --git a/install/admiralremote/base/crds.yaml b/install/admiralremote/base/crds.yaml index 79199a38a..578f9a9cb 100644 --- a/install/admiralremote/base/crds.yaml +++ b/install/admiralremote/base/crds.yaml @@ -1,14 +1,111 @@ --- -apiVersion: apiextensions.k8s.io/v1beta1 +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: globaltrafficpolicies.admiral.io spec: group: admiral.io - version: v1alpha1 names: kind: GlobalTrafficPolicy plural: globaltrafficpolicies - shortNames: - - gtp - scope: Namespaced \ No newline at end of file + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: generic cdr object to wrap the GlobalTrafficPolicy api + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + properties: + policy: + description: 'REQUIRED: A list host name .' + items: + description: TrafficPolicy describes routing for a hostname. + properties: + dns: + description: 'REQUIRED: dns that can be used by client. This + name will have the traffic type applied to it' + type: string + dnsPrefix: + description: 'REQUIRED: dnsPrefix that will be prefixed for + the service names being generated with this traffic policy + Ex: dnsPrefix = west => generated service name = west.stage.servicename.global' + type: string + lbType: + description: 'REQUIRED: type of global load distrubtion' + format: int32 + type: integer + outlier_detection: + description: 'OPTIONAL: to configure the outlierDetection in + DestinationRule' + properties: + base_ejection_time: + description: 'REQUIRED: Minimum duration of time in seconds, + the endpoint will be ejected' + format: int64 + type: integer + consecutive_gateway_errors: + description: 'REQUIRED: No. of consecutive failures in specified + interval after which the endpoint will be ejected' + format: int32 + type: integer + interval: + description: 'REQUIRED: Time interval between ejection sweep + analysis' + format: int64 + type: integer + type: object + target: + description: weigth of primary and secondary must each 100 + items: + properties: + region: + description: region for the traffic + type: string + weight: + description: weight for traffic this region should get. + format: int32 + type: integer + type: object + type: array + type: object + type: array + selector: + additionalProperties: + type: string + description: 'REQUIRED: One or more labels that indicate a specific + set of pods/VMs on which this global routing policy should be applied. + The scope of label search is restricted to namespace mark for mesh + enablement this will scan all cluster and namespace' + type: object + type: object + status: + properties: + clustersSynced: + format: int32 + type: integer + state: + type: string + required: + - clustersSynced + - state + type: object + required: + - metadata + - spec + - status + type: object + served: true + storage: true \ No newline at end of file From 58d00dfd6d19db1afb69e50973339d3552f8195a Mon Sep 17 00:00:00 2001 From: Shriram Sharma Date: Mon, 3 Oct 2022 18:06:45 -0700 Subject: [PATCH 2/5] fixed the install yamls Signed-off-by: Shriram Sharma --- install/sample/gtp-priority.yaml | 2 +- install/sample/gtp.yaml | 2 +- install/sample/gtp_failover.yaml | 2 +- install/sample/gtp_topology.yaml | 2 +- install/sample/rp.yaml | 2 +- install/sample/sample_dep.yaml | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/install/sample/gtp-priority.yaml b/install/sample/gtp-priority.yaml index 774e9b7e5..feeb3612a 100644 --- a/install/sample/gtp-priority.yaml +++ b/install/sample/gtp-priority.yaml @@ -1,4 +1,4 @@ -apiVersion: admiral.io/v1alpha1 +apiVersion: admiral.io/v1 kind: GlobalTrafficPolicy metadata: name: gtp-service1 diff --git a/install/sample/gtp.yaml b/install/sample/gtp.yaml index 6c282eb95..083ae7d91 100644 --- a/install/sample/gtp.yaml +++ b/install/sample/gtp.yaml @@ -1,4 +1,4 @@ -apiVersion: admiral.io/v1alpha1 +apiVersion: admiral.io/v1 kind: GlobalTrafficPolicy metadata: name: gtp-service1 diff --git a/install/sample/gtp_failover.yaml b/install/sample/gtp_failover.yaml index 06783d67c..ccf051646 100644 --- a/install/sample/gtp_failover.yaml +++ b/install/sample/gtp_failover.yaml @@ -1,4 +1,4 @@ -apiVersion: admiral.io/v1alpha1 +apiVersion: admiral.io/v1 kind: GlobalTrafficPolicy metadata: name: gtp-service1 diff --git a/install/sample/gtp_topology.yaml b/install/sample/gtp_topology.yaml index 3657e047c..726fe8c49 100644 --- a/install/sample/gtp_topology.yaml +++ b/install/sample/gtp_topology.yaml @@ -1,4 +1,4 @@ -apiVersion: admiral.io/v1alpha1 +apiVersion: admiral.io/v1 kind: GlobalTrafficPolicy metadata: name: gtp-service1 diff --git a/install/sample/rp.yaml b/install/sample/rp.yaml index 9bc81c2da..7cee5aa7e 100644 --- a/install/sample/rp.yaml +++ b/install/sample/rp.yaml @@ -1,4 +1,4 @@ -apiVersion: admiral.io/v1alpha1 +apiVersion: admiral.io/v1 kind: RoutingPolicy metadata: name: greeting-routing-policy diff --git a/install/sample/sample_dep.yaml b/install/sample/sample_dep.yaml index 040edf2a3..2ac679d5d 100644 --- a/install/sample/sample_dep.yaml +++ b/install/sample/sample_dep.yaml @@ -1,5 +1,5 @@ --- -apiVersion: admiral.io/v1alpha1 +apiVersion: admiral.io/v1 kind: Dependency metadata: name: dependency @@ -13,7 +13,7 @@ spec: --- --- -apiVersion: admiral.io/v1alpha1 +apiVersion: admiral.io/v1 kind: Dependency metadata: name: dependency-grpc-client From 81a8f2c7f2f2261f816f36b6d0340ec1c79006c4 Mon Sep 17 00:00:00 2001 From: Shriram Sharma Date: Mon, 3 Oct 2022 22:34:41 -0700 Subject: [PATCH 3/5] fixed the CRDs by removing status Signed-off-by: Shriram Sharma --- admiral/crd/dependency.yaml | 15 +-------------- admiral/crd/globalTraffic.yaml | 14 +------------- admiral/crd/routingPolicy.yaml | 14 +------------- 3 files changed, 3 insertions(+), 40 deletions(-) diff --git a/admiral/crd/dependency.yaml b/admiral/crd/dependency.yaml index dd24e1d81..9b387a2f7 100644 --- a/admiral/crd/dependency.yaml +++ b/admiral/crd/dependency.yaml @@ -9,7 +9,7 @@ spec: plural: dependencies scope: Namespaced versions: - - name: v1 + - name: v1alpha1 schema: openAPIV3Schema: description: generic cdr object to wrap the dependency api @@ -42,22 +42,9 @@ spec: description: 'REQUIRED: identifier for the source workload' type: string type: object - status: - description: "" - properties: - clustersSynced: - format: int32 - type: integer - state: - type: string - required: - - clustersSynced - - state - type: object required: - metadata - spec - - status type: object served: true storage: true \ No newline at end of file diff --git a/admiral/crd/globalTraffic.yaml b/admiral/crd/globalTraffic.yaml index 655516824..399daa909 100644 --- a/admiral/crd/globalTraffic.yaml +++ b/admiral/crd/globalTraffic.yaml @@ -9,7 +9,7 @@ spec: plural: globaltrafficpolicies scope: Namespaced versions: - - name: v1 + - name: v1alpha1 schema: openAPIV3Schema: description: generic cdr object to wrap the GlobalTrafficPolicy api @@ -90,21 +90,9 @@ spec: enablement this will scan all cluster and namespace' type: object type: object - status: - properties: - clustersSynced: - format: int32 - type: integer - state: - type: string - required: - - clustersSynced - - state - type: object required: - metadata - spec - - status type: object served: true storage: true \ No newline at end of file diff --git a/admiral/crd/routingPolicy.yaml b/admiral/crd/routingPolicy.yaml index bb5a06b22..1b918399f 100644 --- a/admiral/crd/routingPolicy.yaml +++ b/admiral/crd/routingPolicy.yaml @@ -14,7 +14,7 @@ spec: singular: routingpolicy scope: Namespaced versions: - - name: v1 + - name: v1alpha1 schema: openAPIV3Schema: description: generic cdr object to wrap the GlobalTrafficPolicy api @@ -44,21 +44,9 @@ spec: plugin: type: string type: object - status: - properties: - clustersSynced: - format: int32 - type: integer - state: - type: string - required: - - clustersSynced - - state - type: object required: - metadata - spec - - status type: object served: true storage: true From 589c28d6234617f35df5803dfa5423445ac8cb4d Mon Sep 17 00:00:00 2001 From: Shriram Sharma Date: Mon, 3 Oct 2022 22:54:51 -0700 Subject: [PATCH 4/5] fixed the version Signed-off-by: Shriram Sharma --- install/sample/gtp-priority.yaml | 2 +- install/sample/gtp.yaml | 2 +- install/sample/gtp_failover.yaml | 2 +- install/sample/gtp_topology.yaml | 2 +- install/sample/rp.yaml | 2 +- install/sample/sample_dep.yaml | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/install/sample/gtp-priority.yaml b/install/sample/gtp-priority.yaml index feeb3612a..774e9b7e5 100644 --- a/install/sample/gtp-priority.yaml +++ b/install/sample/gtp-priority.yaml @@ -1,4 +1,4 @@ -apiVersion: admiral.io/v1 +apiVersion: admiral.io/v1alpha1 kind: GlobalTrafficPolicy metadata: name: gtp-service1 diff --git a/install/sample/gtp.yaml b/install/sample/gtp.yaml index 083ae7d91..6c282eb95 100644 --- a/install/sample/gtp.yaml +++ b/install/sample/gtp.yaml @@ -1,4 +1,4 @@ -apiVersion: admiral.io/v1 +apiVersion: admiral.io/v1alpha1 kind: GlobalTrafficPolicy metadata: name: gtp-service1 diff --git a/install/sample/gtp_failover.yaml b/install/sample/gtp_failover.yaml index ccf051646..06783d67c 100644 --- a/install/sample/gtp_failover.yaml +++ b/install/sample/gtp_failover.yaml @@ -1,4 +1,4 @@ -apiVersion: admiral.io/v1 +apiVersion: admiral.io/v1alpha1 kind: GlobalTrafficPolicy metadata: name: gtp-service1 diff --git a/install/sample/gtp_topology.yaml b/install/sample/gtp_topology.yaml index 726fe8c49..3657e047c 100644 --- a/install/sample/gtp_topology.yaml +++ b/install/sample/gtp_topology.yaml @@ -1,4 +1,4 @@ -apiVersion: admiral.io/v1 +apiVersion: admiral.io/v1alpha1 kind: GlobalTrafficPolicy metadata: name: gtp-service1 diff --git a/install/sample/rp.yaml b/install/sample/rp.yaml index 7cee5aa7e..9bc81c2da 100644 --- a/install/sample/rp.yaml +++ b/install/sample/rp.yaml @@ -1,4 +1,4 @@ -apiVersion: admiral.io/v1 +apiVersion: admiral.io/v1alpha1 kind: RoutingPolicy metadata: name: greeting-routing-policy diff --git a/install/sample/sample_dep.yaml b/install/sample/sample_dep.yaml index 2ac679d5d..040edf2a3 100644 --- a/install/sample/sample_dep.yaml +++ b/install/sample/sample_dep.yaml @@ -1,5 +1,5 @@ --- -apiVersion: admiral.io/v1 +apiVersion: admiral.io/v1alpha1 kind: Dependency metadata: name: dependency @@ -13,7 +13,7 @@ spec: --- --- -apiVersion: admiral.io/v1 +apiVersion: admiral.io/v1alpha1 kind: Dependency metadata: name: dependency-grpc-client From db7d944c3ab68758ffcc41bf534033660e064ced Mon Sep 17 00:00:00 2001 From: Shriram Sharma Date: Tue, 4 Oct 2022 09:29:31 -0700 Subject: [PATCH 5/5] fixed the crds in install Signed-off-by: Shriram Sharma --- install/admiral/base/crds.yaml | 29 ++-------------------------- install/admiralremote/base/crds.yaml | 14 +------------- 2 files changed, 3 insertions(+), 40 deletions(-) diff --git a/install/admiral/base/crds.yaml b/install/admiral/base/crds.yaml index 672f6622c..f96ad4851 100644 --- a/install/admiral/base/crds.yaml +++ b/install/admiral/base/crds.yaml @@ -12,7 +12,7 @@ spec: plural: dependencies scope: Namespaced versions: - - name: v1 + - name: v1alpha1 schema: openAPIV3Schema: description: generic cdr object to wrap the dependency api @@ -45,22 +45,9 @@ spec: description: 'REQUIRED: identifier for the source workload' type: string type: object - status: - description: "" - properties: - clustersSynced: - format: int32 - type: integer - state: - type: string - required: - - clustersSynced - - state - type: object required: - metadata - spec - - status type: object served: true storage: true @@ -82,7 +69,7 @@ spec: singular: routingpolicy scope: Namespaced versions: - - name: v1 + - name: v1alpha1 schema: openAPIV3Schema: description: generic cdr object to wrap the GlobalTrafficPolicy api @@ -112,21 +99,9 @@ spec: plugin: type: string type: object - status: - properties: - clustersSynced: - format: int32 - type: integer - state: - type: string - required: - - clustersSynced - - state - type: object required: - metadata - spec - - status type: object served: true storage: true diff --git a/install/admiralremote/base/crds.yaml b/install/admiralremote/base/crds.yaml index 578f9a9cb..a10512d5b 100644 --- a/install/admiralremote/base/crds.yaml +++ b/install/admiralremote/base/crds.yaml @@ -10,7 +10,7 @@ spec: plural: globaltrafficpolicies scope: Namespaced versions: - - name: v1 + - name: v1alpha1 schema: openAPIV3Schema: description: generic cdr object to wrap the GlobalTrafficPolicy api @@ -91,21 +91,9 @@ spec: enablement this will scan all cluster and namespace' type: object type: object - status: - properties: - clustersSynced: - format: int32 - type: integer - state: - type: string - required: - - clustersSynced - - state - type: object required: - metadata - spec - - status type: object served: true storage: true \ No newline at end of file