mirror of https://github.com/fluxcd/flagger.git
Upgrade CRDs to apiextensions.k8s.io/v1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
aca6b2b558
commit
b6880213ce
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: apiextensions.k8s.io/v1beta1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
name: canaries.flagger.app
|
name: canaries.flagger.app
|
||||||
|
|
@ -6,67 +6,74 @@ metadata:
|
||||||
helm.sh/resource-policy: keep
|
helm.sh/resource-policy: keep
|
||||||
spec:
|
spec:
|
||||||
group: flagger.app
|
group: flagger.app
|
||||||
version: v1beta1
|
names:
|
||||||
|
kind: Canary
|
||||||
|
listKind: CanaryList
|
||||||
|
plural: canaries
|
||||||
|
singular: canary
|
||||||
|
categories:
|
||||||
|
- all
|
||||||
|
scope: Namespaced
|
||||||
versions:
|
versions:
|
||||||
- name: v1beta1
|
- name: v1beta1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
- name: v1alpha3
|
|
||||||
served: true
|
|
||||||
storage: false
|
|
||||||
- name: v1alpha2
|
|
||||||
served: false
|
|
||||||
storage: false
|
|
||||||
- name: v1alpha1
|
|
||||||
served: false
|
|
||||||
storage: false
|
|
||||||
names:
|
|
||||||
plural: canaries
|
|
||||||
singular: canary
|
|
||||||
kind: Canary
|
|
||||||
categories:
|
|
||||||
- all
|
|
||||||
scope: Namespaced
|
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
additionalPrinterColumns:
|
additionalPrinterColumns:
|
||||||
- name: Status
|
- name: Status
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .status.phase
|
jsonPath: .status.phase
|
||||||
- name: Weight
|
- name: Weight
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .status.canaryWeight
|
jsonPath: .status.canaryWeight
|
||||||
- name: FailedChecks
|
- name: FailedChecks
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .status.failedChecks
|
jsonPath: .status.failedChecks
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: Interval
|
- name: Interval
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.analysis.interval
|
jsonPath: .spec.analysis.interval
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: Mirror
|
- name: Mirror
|
||||||
type: boolean
|
type: boolean
|
||||||
JSONPath: .spec.analysis.mirror
|
jsonPath: .spec.analysis.mirror
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: StepWeight
|
- name: StepWeight
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.analysis.stepWeight
|
jsonPath: .spec.analysis.stepWeight
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: StepWeights
|
- name: StepWeights
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.analysis.stepWeights
|
jsonPath: .spec.analysis.stepWeights
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: MaxWeight
|
- name: MaxWeight
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.analysis.maxWeight
|
jsonPath: .spec.analysis.maxWeight
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: LastTransitionTime
|
- name: LastTransitionTime
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .status.lastTransitionTime
|
jsonPath: .status.lastTransitionTime
|
||||||
validation:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
|
description: Canary is the Schema for the Canary API.
|
||||||
|
type: object
|
||||||
properties:
|
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:
|
spec:
|
||||||
|
description: CanarySpec defines the desired state of a Canary.
|
||||||
|
type: object
|
||||||
required:
|
required:
|
||||||
- targetRef
|
- targetRef
|
||||||
- service
|
- service
|
||||||
|
|
@ -110,7 +117,7 @@ spec:
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
ingressRef:
|
ingressRef:
|
||||||
description: NGINX ingress selector
|
description: Ingress selector
|
||||||
type: object
|
type: object
|
||||||
required: ["apiVersion", "kind", "name"]
|
required: ["apiVersion", "kind", "name"]
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -138,9 +145,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
targetPort:
|
targetPort:
|
||||||
description: Container target port name
|
description: Container target port name
|
||||||
anyOf:
|
x-kubernetes-int-or-string: true
|
||||||
- type: string
|
|
||||||
- type: number
|
|
||||||
portDiscovery:
|
portDiscovery:
|
||||||
description: Enable port dicovery
|
description: Enable port dicovery
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
@ -314,6 +319,7 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
connectionPool:
|
connectionPool:
|
||||||
|
type: object
|
||||||
properties:
|
properties:
|
||||||
http:
|
http:
|
||||||
description: HTTP connection pool settings.
|
description: HTTP connection pool settings.
|
||||||
|
|
@ -698,6 +704,8 @@ spec:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
|
description: CanaryStatus defines the observed state of a canary.
|
||||||
|
type: object
|
||||||
properties:
|
properties:
|
||||||
phase:
|
phase:
|
||||||
description: Analysis phase of this canary
|
description: Analysis phase of this canary
|
||||||
|
|
@ -735,7 +743,7 @@ spec:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
required: ["type", "status", "reason"]
|
required: [ "type", "status", "reason" ]
|
||||||
properties:
|
properties:
|
||||||
lastTransitionTime:
|
lastTransitionTime:
|
||||||
description: LastTransitionTime of this condition
|
description: LastTransitionTime of this condition
|
||||||
|
|
@ -758,7 +766,7 @@ spec:
|
||||||
description: Type of this condition
|
description: Type of this condition
|
||||||
type: string
|
type: string
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1beta1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
name: metrictemplates.flagger.app
|
name: metrictemplates.flagger.app
|
||||||
|
|
@ -766,31 +774,44 @@ metadata:
|
||||||
helm.sh/resource-policy: keep
|
helm.sh/resource-policy: keep
|
||||||
spec:
|
spec:
|
||||||
group: flagger.app
|
group: flagger.app
|
||||||
version: v1beta1
|
names:
|
||||||
|
kind: MetricTemplate
|
||||||
|
listKind: MetricTemplateList
|
||||||
|
plural: metrictemplates
|
||||||
|
singular: metrictemplate
|
||||||
|
categories:
|
||||||
|
- all
|
||||||
|
scope: Namespaced
|
||||||
versions:
|
versions:
|
||||||
- name: v1beta1
|
- name: v1beta1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
- name: v1alpha1
|
|
||||||
served: true
|
|
||||||
storage: false
|
|
||||||
names:
|
|
||||||
plural: metrictemplates
|
|
||||||
singular: metrictemplate
|
|
||||||
kind: MetricTemplate
|
|
||||||
categories:
|
|
||||||
- all
|
|
||||||
scope: Namespaced
|
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
additionalPrinterColumns:
|
additionalPrinterColumns:
|
||||||
- name: Provider
|
- name: Provider
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.provider.type
|
jsonPath: .spec.provider.type
|
||||||
validation:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
|
description: MetricTemplate is the Schema for the MetricTemplates API.
|
||||||
|
type: object
|
||||||
properties:
|
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:
|
spec:
|
||||||
|
description: MetricTemplateSpec defines the desired state of a MetricTemplate.
|
||||||
|
type: object
|
||||||
required:
|
required:
|
||||||
- provider
|
- provider
|
||||||
- query
|
- query
|
||||||
|
|
@ -829,7 +850,7 @@ spec:
|
||||||
description: Query of this metric template
|
description: Query of this metric template
|
||||||
type: string
|
type: string
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1beta1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
name: alertproviders.flagger.app
|
name: alertproviders.flagger.app
|
||||||
|
|
@ -837,28 +858,44 @@ metadata:
|
||||||
helm.sh/resource-policy: keep
|
helm.sh/resource-policy: keep
|
||||||
spec:
|
spec:
|
||||||
group: flagger.app
|
group: flagger.app
|
||||||
version: v1beta1
|
names:
|
||||||
|
kind: AlertProvider
|
||||||
|
listKind: AlertProviderList
|
||||||
|
plural: alertproviders
|
||||||
|
singular: alertprovider
|
||||||
|
categories:
|
||||||
|
- all
|
||||||
|
scope: Namespaced
|
||||||
versions:
|
versions:
|
||||||
- name: v1beta1
|
- name: v1beta1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
names:
|
|
||||||
plural: alertproviders
|
|
||||||
singular: alertprovider
|
|
||||||
kind: AlertProvider
|
|
||||||
categories:
|
|
||||||
- all
|
|
||||||
scope: Namespaced
|
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
additionalPrinterColumns:
|
additionalPrinterColumns:
|
||||||
- name: Type
|
- name: Type
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.type
|
jsonPath: .spec.type
|
||||||
validation:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
|
description: AlertProvider is the Schema for the AlertProvider API.
|
||||||
|
type: object
|
||||||
properties:
|
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:
|
spec:
|
||||||
|
description: AlertProviderSpec defines the desired state of a AlertProvider.
|
||||||
|
type: object
|
||||||
oneOf:
|
oneOf:
|
||||||
- required:
|
- required:
|
||||||
- type
|
- type
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: apiextensions.k8s.io/v1beta1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
name: canaries.flagger.app
|
name: canaries.flagger.app
|
||||||
|
|
@ -6,67 +6,74 @@ metadata:
|
||||||
helm.sh/resource-policy: keep
|
helm.sh/resource-policy: keep
|
||||||
spec:
|
spec:
|
||||||
group: flagger.app
|
group: flagger.app
|
||||||
version: v1beta1
|
names:
|
||||||
|
kind: Canary
|
||||||
|
listKind: CanaryList
|
||||||
|
plural: canaries
|
||||||
|
singular: canary
|
||||||
|
categories:
|
||||||
|
- all
|
||||||
|
scope: Namespaced
|
||||||
versions:
|
versions:
|
||||||
- name: v1beta1
|
- name: v1beta1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
- name: v1alpha3
|
|
||||||
served: true
|
|
||||||
storage: false
|
|
||||||
- name: v1alpha2
|
|
||||||
served: false
|
|
||||||
storage: false
|
|
||||||
- name: v1alpha1
|
|
||||||
served: false
|
|
||||||
storage: false
|
|
||||||
names:
|
|
||||||
plural: canaries
|
|
||||||
singular: canary
|
|
||||||
kind: Canary
|
|
||||||
categories:
|
|
||||||
- all
|
|
||||||
scope: Namespaced
|
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
additionalPrinterColumns:
|
additionalPrinterColumns:
|
||||||
- name: Status
|
- name: Status
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .status.phase
|
jsonPath: .status.phase
|
||||||
- name: Weight
|
- name: Weight
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .status.canaryWeight
|
jsonPath: .status.canaryWeight
|
||||||
- name: FailedChecks
|
- name: FailedChecks
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .status.failedChecks
|
jsonPath: .status.failedChecks
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: Interval
|
- name: Interval
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.analysis.interval
|
jsonPath: .spec.analysis.interval
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: Mirror
|
- name: Mirror
|
||||||
type: boolean
|
type: boolean
|
||||||
JSONPath: .spec.analysis.mirror
|
jsonPath: .spec.analysis.mirror
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: StepWeight
|
- name: StepWeight
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.analysis.stepWeight
|
jsonPath: .spec.analysis.stepWeight
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: StepWeights
|
- name: StepWeights
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.analysis.stepWeights
|
jsonPath: .spec.analysis.stepWeights
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: MaxWeight
|
- name: MaxWeight
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.analysis.maxWeight
|
jsonPath: .spec.analysis.maxWeight
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: LastTransitionTime
|
- name: LastTransitionTime
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .status.lastTransitionTime
|
jsonPath: .status.lastTransitionTime
|
||||||
validation:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
|
description: Canary is the Schema for the Canary API.
|
||||||
|
type: object
|
||||||
properties:
|
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:
|
spec:
|
||||||
|
description: CanarySpec defines the desired state of a Canary.
|
||||||
|
type: object
|
||||||
required:
|
required:
|
||||||
- targetRef
|
- targetRef
|
||||||
- service
|
- service
|
||||||
|
|
@ -110,7 +117,7 @@ spec:
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
ingressRef:
|
ingressRef:
|
||||||
description: NGINX ingress selector
|
description: Ingress selector
|
||||||
type: object
|
type: object
|
||||||
required: ["apiVersion", "kind", "name"]
|
required: ["apiVersion", "kind", "name"]
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -138,9 +145,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
targetPort:
|
targetPort:
|
||||||
description: Container target port name
|
description: Container target port name
|
||||||
anyOf:
|
x-kubernetes-int-or-string: true
|
||||||
- type: string
|
|
||||||
- type: number
|
|
||||||
portDiscovery:
|
portDiscovery:
|
||||||
description: Enable port dicovery
|
description: Enable port dicovery
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
@ -314,6 +319,7 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
connectionPool:
|
connectionPool:
|
||||||
|
type: object
|
||||||
properties:
|
properties:
|
||||||
http:
|
http:
|
||||||
description: HTTP connection pool settings.
|
description: HTTP connection pool settings.
|
||||||
|
|
@ -698,6 +704,8 @@ spec:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
|
description: CanaryStatus defines the observed state of a canary.
|
||||||
|
type: object
|
||||||
properties:
|
properties:
|
||||||
phase:
|
phase:
|
||||||
description: Analysis phase of this canary
|
description: Analysis phase of this canary
|
||||||
|
|
@ -735,7 +743,7 @@ spec:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
required: ["type", "status", "reason"]
|
required: [ "type", "status", "reason" ]
|
||||||
properties:
|
properties:
|
||||||
lastTransitionTime:
|
lastTransitionTime:
|
||||||
description: LastTransitionTime of this condition
|
description: LastTransitionTime of this condition
|
||||||
|
|
@ -758,7 +766,7 @@ spec:
|
||||||
description: Type of this condition
|
description: Type of this condition
|
||||||
type: string
|
type: string
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1beta1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
name: metrictemplates.flagger.app
|
name: metrictemplates.flagger.app
|
||||||
|
|
@ -766,31 +774,44 @@ metadata:
|
||||||
helm.sh/resource-policy: keep
|
helm.sh/resource-policy: keep
|
||||||
spec:
|
spec:
|
||||||
group: flagger.app
|
group: flagger.app
|
||||||
version: v1beta1
|
names:
|
||||||
|
kind: MetricTemplate
|
||||||
|
listKind: MetricTemplateList
|
||||||
|
plural: metrictemplates
|
||||||
|
singular: metrictemplate
|
||||||
|
categories:
|
||||||
|
- all
|
||||||
|
scope: Namespaced
|
||||||
versions:
|
versions:
|
||||||
- name: v1beta1
|
- name: v1beta1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
- name: v1alpha1
|
|
||||||
served: true
|
|
||||||
storage: false
|
|
||||||
names:
|
|
||||||
plural: metrictemplates
|
|
||||||
singular: metrictemplate
|
|
||||||
kind: MetricTemplate
|
|
||||||
categories:
|
|
||||||
- all
|
|
||||||
scope: Namespaced
|
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
additionalPrinterColumns:
|
additionalPrinterColumns:
|
||||||
- name: Provider
|
- name: Provider
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.provider.type
|
jsonPath: .spec.provider.type
|
||||||
validation:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
|
description: MetricTemplate is the Schema for the MetricTemplates API.
|
||||||
|
type: object
|
||||||
properties:
|
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:
|
spec:
|
||||||
|
description: MetricTemplateSpec defines the desired state of a MetricTemplate.
|
||||||
|
type: object
|
||||||
required:
|
required:
|
||||||
- provider
|
- provider
|
||||||
- query
|
- query
|
||||||
|
|
@ -829,7 +850,7 @@ spec:
|
||||||
description: Query of this metric template
|
description: Query of this metric template
|
||||||
type: string
|
type: string
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1beta1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
name: alertproviders.flagger.app
|
name: alertproviders.flagger.app
|
||||||
|
|
@ -837,28 +858,44 @@ metadata:
|
||||||
helm.sh/resource-policy: keep
|
helm.sh/resource-policy: keep
|
||||||
spec:
|
spec:
|
||||||
group: flagger.app
|
group: flagger.app
|
||||||
version: v1beta1
|
names:
|
||||||
|
kind: AlertProvider
|
||||||
|
listKind: AlertProviderList
|
||||||
|
plural: alertproviders
|
||||||
|
singular: alertprovider
|
||||||
|
categories:
|
||||||
|
- all
|
||||||
|
scope: Namespaced
|
||||||
versions:
|
versions:
|
||||||
- name: v1beta1
|
- name: v1beta1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
names:
|
|
||||||
plural: alertproviders
|
|
||||||
singular: alertprovider
|
|
||||||
kind: AlertProvider
|
|
||||||
categories:
|
|
||||||
- all
|
|
||||||
scope: Namespaced
|
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
additionalPrinterColumns:
|
additionalPrinterColumns:
|
||||||
- name: Type
|
- name: Type
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.type
|
jsonPath: .spec.type
|
||||||
validation:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
|
description: AlertProvider is the Schema for the AlertProvider API.
|
||||||
|
type: object
|
||||||
properties:
|
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:
|
spec:
|
||||||
|
description: AlertProviderSpec defines the desired state of a AlertProvider.
|
||||||
|
type: object
|
||||||
oneOf:
|
oneOf:
|
||||||
- required:
|
- required:
|
||||||
- type
|
- type
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: apiextensions.k8s.io/v1beta1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
name: canaries.flagger.app
|
name: canaries.flagger.app
|
||||||
|
|
@ -6,67 +6,74 @@ metadata:
|
||||||
helm.sh/resource-policy: keep
|
helm.sh/resource-policy: keep
|
||||||
spec:
|
spec:
|
||||||
group: flagger.app
|
group: flagger.app
|
||||||
version: v1beta1
|
names:
|
||||||
|
kind: Canary
|
||||||
|
listKind: CanaryList
|
||||||
|
plural: canaries
|
||||||
|
singular: canary
|
||||||
|
categories:
|
||||||
|
- all
|
||||||
|
scope: Namespaced
|
||||||
versions:
|
versions:
|
||||||
- name: v1beta1
|
- name: v1beta1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
- name: v1alpha3
|
|
||||||
served: true
|
|
||||||
storage: false
|
|
||||||
- name: v1alpha2
|
|
||||||
served: false
|
|
||||||
storage: false
|
|
||||||
- name: v1alpha1
|
|
||||||
served: false
|
|
||||||
storage: false
|
|
||||||
names:
|
|
||||||
plural: canaries
|
|
||||||
singular: canary
|
|
||||||
kind: Canary
|
|
||||||
categories:
|
|
||||||
- all
|
|
||||||
scope: Namespaced
|
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
additionalPrinterColumns:
|
additionalPrinterColumns:
|
||||||
- name: Status
|
- name: Status
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .status.phase
|
jsonPath: .status.phase
|
||||||
- name: Weight
|
- name: Weight
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .status.canaryWeight
|
jsonPath: .status.canaryWeight
|
||||||
- name: FailedChecks
|
- name: FailedChecks
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .status.failedChecks
|
jsonPath: .status.failedChecks
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: Interval
|
- name: Interval
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.analysis.interval
|
jsonPath: .spec.analysis.interval
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: Mirror
|
- name: Mirror
|
||||||
type: boolean
|
type: boolean
|
||||||
JSONPath: .spec.analysis.mirror
|
jsonPath: .spec.analysis.mirror
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: StepWeight
|
- name: StepWeight
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.analysis.stepWeight
|
jsonPath: .spec.analysis.stepWeight
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: StepWeights
|
- name: StepWeights
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.analysis.stepWeights
|
jsonPath: .spec.analysis.stepWeights
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: MaxWeight
|
- name: MaxWeight
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.analysis.maxWeight
|
jsonPath: .spec.analysis.maxWeight
|
||||||
priority: 1
|
priority: 1
|
||||||
- name: LastTransitionTime
|
- name: LastTransitionTime
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .status.lastTransitionTime
|
jsonPath: .status.lastTransitionTime
|
||||||
validation:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
|
description: Canary is the Schema for the Canary API.
|
||||||
|
type: object
|
||||||
properties:
|
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:
|
spec:
|
||||||
|
description: CanarySpec defines the desired state of a Canary.
|
||||||
|
type: object
|
||||||
required:
|
required:
|
||||||
- targetRef
|
- targetRef
|
||||||
- service
|
- service
|
||||||
|
|
@ -110,7 +117,7 @@ spec:
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
ingressRef:
|
ingressRef:
|
||||||
description: NGINX ingress selector
|
description: Ingress selector
|
||||||
type: object
|
type: object
|
||||||
required: ["apiVersion", "kind", "name"]
|
required: ["apiVersion", "kind", "name"]
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -138,9 +145,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
targetPort:
|
targetPort:
|
||||||
description: Container target port name
|
description: Container target port name
|
||||||
anyOf:
|
x-kubernetes-int-or-string: true
|
||||||
- type: string
|
|
||||||
- type: number
|
|
||||||
portDiscovery:
|
portDiscovery:
|
||||||
description: Enable port dicovery
|
description: Enable port dicovery
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
@ -314,6 +319,7 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
connectionPool:
|
connectionPool:
|
||||||
|
type: object
|
||||||
properties:
|
properties:
|
||||||
http:
|
http:
|
||||||
description: HTTP connection pool settings.
|
description: HTTP connection pool settings.
|
||||||
|
|
@ -698,6 +704,8 @@ spec:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
|
description: CanaryStatus defines the observed state of a canary.
|
||||||
|
type: object
|
||||||
properties:
|
properties:
|
||||||
phase:
|
phase:
|
||||||
description: Analysis phase of this canary
|
description: Analysis phase of this canary
|
||||||
|
|
@ -735,7 +743,7 @@ spec:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
required: ["type", "status", "reason"]
|
required: [ "type", "status", "reason" ]
|
||||||
properties:
|
properties:
|
||||||
lastTransitionTime:
|
lastTransitionTime:
|
||||||
description: LastTransitionTime of this condition
|
description: LastTransitionTime of this condition
|
||||||
|
|
@ -758,7 +766,7 @@ spec:
|
||||||
description: Type of this condition
|
description: Type of this condition
|
||||||
type: string
|
type: string
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1beta1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
name: metrictemplates.flagger.app
|
name: metrictemplates.flagger.app
|
||||||
|
|
@ -766,31 +774,44 @@ metadata:
|
||||||
helm.sh/resource-policy: keep
|
helm.sh/resource-policy: keep
|
||||||
spec:
|
spec:
|
||||||
group: flagger.app
|
group: flagger.app
|
||||||
version: v1beta1
|
names:
|
||||||
|
kind: MetricTemplate
|
||||||
|
listKind: MetricTemplateList
|
||||||
|
plural: metrictemplates
|
||||||
|
singular: metrictemplate
|
||||||
|
categories:
|
||||||
|
- all
|
||||||
|
scope: Namespaced
|
||||||
versions:
|
versions:
|
||||||
- name: v1beta1
|
- name: v1beta1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
- name: v1alpha1
|
|
||||||
served: true
|
|
||||||
storage: false
|
|
||||||
names:
|
|
||||||
plural: metrictemplates
|
|
||||||
singular: metrictemplate
|
|
||||||
kind: MetricTemplate
|
|
||||||
categories:
|
|
||||||
- all
|
|
||||||
scope: Namespaced
|
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
additionalPrinterColumns:
|
additionalPrinterColumns:
|
||||||
- name: Provider
|
- name: Provider
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.provider.type
|
jsonPath: .spec.provider.type
|
||||||
validation:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
|
description: MetricTemplate is the Schema for the MetricTemplates API.
|
||||||
|
type: object
|
||||||
properties:
|
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:
|
spec:
|
||||||
|
description: MetricTemplateSpec defines the desired state of a MetricTemplate.
|
||||||
|
type: object
|
||||||
required:
|
required:
|
||||||
- provider
|
- provider
|
||||||
- query
|
- query
|
||||||
|
|
@ -829,7 +850,7 @@ spec:
|
||||||
description: Query of this metric template
|
description: Query of this metric template
|
||||||
type: string
|
type: string
|
||||||
---
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1beta1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
name: alertproviders.flagger.app
|
name: alertproviders.flagger.app
|
||||||
|
|
@ -837,28 +858,44 @@ metadata:
|
||||||
helm.sh/resource-policy: keep
|
helm.sh/resource-policy: keep
|
||||||
spec:
|
spec:
|
||||||
group: flagger.app
|
group: flagger.app
|
||||||
version: v1beta1
|
names:
|
||||||
|
kind: AlertProvider
|
||||||
|
listKind: AlertProviderList
|
||||||
|
plural: alertproviders
|
||||||
|
singular: alertprovider
|
||||||
|
categories:
|
||||||
|
- all
|
||||||
|
scope: Namespaced
|
||||||
versions:
|
versions:
|
||||||
- name: v1beta1
|
- name: v1beta1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
names:
|
|
||||||
plural: alertproviders
|
|
||||||
singular: alertprovider
|
|
||||||
kind: AlertProvider
|
|
||||||
categories:
|
|
||||||
- all
|
|
||||||
scope: Namespaced
|
|
||||||
subresources:
|
subresources:
|
||||||
status: {}
|
status: {}
|
||||||
additionalPrinterColumns:
|
additionalPrinterColumns:
|
||||||
- name: Type
|
- name: Type
|
||||||
type: string
|
type: string
|
||||||
JSONPath: .spec.type
|
jsonPath: .spec.type
|
||||||
validation:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
|
description: AlertProvider is the Schema for the AlertProvider API.
|
||||||
|
type: object
|
||||||
properties:
|
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:
|
spec:
|
||||||
|
description: AlertProviderSpec defines the desired state of a AlertProvider.
|
||||||
|
type: object
|
||||||
oneOf:
|
oneOf:
|
||||||
- required:
|
- required:
|
||||||
- type
|
- type
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue