updates rollout crd

This commit is contained in:
Aaron Weisberg 2020-08-31 14:19:39 -07:00
parent 6f1b19317e
commit 966c17a428

View file

@ -1,4 +1,3 @@
{{- if .Values.installCRDs }}
apiVersion: apiextensions.k8s.io/v1beta1 apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
@ -16,13 +15,11 @@ spec:
name: Current name: Current
type: integer type: integer
- JSONPath: .status.updatedReplicas - JSONPath: .status.updatedReplicas
description: Total number of non-terminated pods targeted by this rollout that description: Total number of non-terminated pods targeted by this rollout that have the desired template spec
have the desired template spec
name: Up-to-date name: Up-to-date
type: integer type: integer
- JSONPath: .status.availableReplicas - JSONPath: .status.availableReplicas
description: Total number of available pods (ready for at least minReadySeconds) description: Total number of available pods (ready for at least minReadySeconds) targeted by this rollout
targeted by this rollout
name: Available name: Available
type: integer type: integer
group: argoproj.io group: argoproj.io
@ -132,15 +129,17 @@ spec:
- name - name
type: object type: object
type: array type: array
clusterScope:
type: boolean
templateName: templateName:
type: string type: string
templates: templates:
items: items:
properties: properties:
clusterScope:
type: boolean
templateName: templateName:
type: string type: string
required:
- templateName
type: object type: object
type: array type: array
type: object type: object
@ -162,15 +161,17 @@ spec:
- name - name
type: object type: object
type: array type: array
clusterScope:
type: boolean
templateName: templateName:
type: string type: string
templates: templates:
items: items:
properties: properties:
clusterScope:
type: boolean
templateName: templateName:
type: string type: string
required:
- templateName
type: object type: object
type: array type: array
type: object type: object
@ -208,6 +209,8 @@ spec:
- name - name
type: object type: object
type: array type: array
clusterScope:
type: boolean
startingStep: startingStep:
format: int32 format: int32
type: integer type: integer
@ -216,10 +219,10 @@ spec:
templates: templates:
items: items:
properties: properties:
clusterScope:
type: boolean
templateName: templateName:
type: string type: string
required:
- templateName
type: object type: object
type: array type: array
type: object type: object
@ -271,15 +274,17 @@ spec:
- name - name
type: object type: object
type: array type: array
clusterScope:
type: boolean
templateName: templateName:
type: string type: string
templates: templates:
items: items:
properties: properties:
clusterScope:
type: boolean
templateName: templateName:
type: string type: string
required:
- templateName
type: object type: object
type: array type: array
type: object type: object
@ -304,6 +309,8 @@ spec:
- name - name
type: object type: object
type: array type: array
clusterScope:
type: boolean
name: name:
type: string type: string
templateName: templateName:
@ -375,6 +382,17 @@ spec:
- type: string - type: string
x-kubernetes-int-or-string: true x-kubernetes-int-or-string: true
type: object type: object
setCanaryScale:
properties:
matchTrafficWeight:
type: boolean
replicas:
format: int32
type: integer
weight:
format: int32
type: integer
type: object
setWeight: setWeight:
format: int32 format: int32
type: integer type: integer
@ -388,6 +406,8 @@ spec:
type: string type: string
ingress: ingress:
type: string type: string
rootService:
type: string
servicePort: servicePort:
format: int32 format: int32
type: integer type: integer
@ -425,12 +445,28 @@ spec:
required: required:
- stableIngress - stableIngress
type: object type: object
smi:
properties:
rootService:
type: string
trafficSplitName:
type: string
type: object
type: object type: object
type: object type: object
type: object type: object
template: template:
properties: properties:
metadata: metadata:
properties:
annotations:
additionalProperties:
type: string
type: object
labels:
additionalProperties:
type: string
type: object
type: object type: object
spec: spec:
properties: properties:
@ -1052,23 +1088,6 @@ spec:
type: integer type: integer
type: object type: object
resources: resources:
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
type: object type: object
securityContext: securityContext:
properties: properties:
@ -1608,23 +1627,6 @@ spec:
type: integer type: integer
type: object type: object
resources: resources:
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
type: object type: object
securityContext: securityContext:
properties: properties:
@ -2168,23 +2170,6 @@ spec:
type: integer type: integer
type: object type: object
resources: resources:
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
type: object type: object
securityContext: securityContext:
properties: properties:
@ -2935,6 +2920,9 @@ spec:
type: integer type: integer
abort: abort:
type: boolean type: boolean
abortedAt:
format: date-time
type: string
availableReplicas: availableReplicas:
format: int32 format: int32
type: integer type: integer
@ -2944,8 +2932,32 @@ spec:
type: string type: string
postPromotionAnalysisRun: postPromotionAnalysisRun:
type: string type: string
postPromotionAnalysisRunStatus:
properties:
message:
type: string
name:
type: string
status:
type: string
required:
- name
- status
type: object
prePromotionAnalysisRun: prePromotionAnalysisRun:
type: string type: string
prePromotionAnalysisRunStatus:
properties:
message:
type: string
name:
type: string
status:
type: string
required:
- name
- status
type: object
previewSelector: previewSelector:
type: string type: string
previousActiveSelector: previousActiveSelector:
@ -2960,10 +2972,34 @@ spec:
properties: properties:
currentBackgroundAnalysisRun: currentBackgroundAnalysisRun:
type: string type: string
currentBackgroundAnalysisRunStatus:
properties:
message:
type: string
name:
type: string
status:
type: string
required:
- name
- status
type: object
currentExperiment: currentExperiment:
type: string type: string
currentStepAnalysisRun: currentStepAnalysisRun:
type: string type: string
currentStepAnalysisRunStatus:
properties:
message:
type: string
name:
type: string
status:
type: string
required:
- name
- status
type: object
stableRS: stableRS:
type: string type: string
type: object type: object
@ -3045,4 +3081,3 @@ spec:
- name: v1alpha1 - name: v1alpha1
served: true served: true
storage: true storage: true
{{- end }}