diff --git a/charts/argo-rollouts/Chart.yaml b/charts/argo-rollouts/Chart.yaml index 21275d94..64b29329 100644 --- a/charts/argo-rollouts/Chart.yaml +++ b/charts/argo-rollouts/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: "v1.1.1" +appVersion: "v1.2.0" description: A Helm chart for Argo Rollouts name: argo-rollouts -version: 2.11.0 +version: 2.12.0 icon: https://argoproj.github.io/argo-rollouts/assets/logo.png home: https://github.com/argoproj/argo-helm maintainers: @@ -11,4 +11,4 @@ maintainers: - name: jessesuen annotations: artifacthub.io/changes: | - - "[Added]: Argo rollouts notification secret and configmap" + - "[Added]: Upgrade argo-rollouts to v1.2.0" diff --git a/charts/argo-rollouts/README.md b/charts/argo-rollouts/README.md index b8aa2b95..51d798c0 100644 --- a/charts/argo-rollouts/README.md +++ b/charts/argo-rollouts/README.md @@ -74,7 +74,7 @@ If dashboard is installed by `--set dashboard.enabled=true`, checkout the argo-r | controller.metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor | | controller.nodeSelector | object | `{}` | [Node selector] | | controller.readinessProbe | object | See [values.yaml] | Configure readiness [probe] for the controller | -| controller.replicas | int | `1` | The number of controller pods to run | +| controller.replicas | int | `2` | The number of controller pods to run | | controller.resources | object | `{}` | Resource limits and requests for the controller pods. | | controller.tolerations | list | `[]` | [Tolerations] for use with node taints | | podAnnotations | object | `{}` | Annotations to be added to the Rollout pods | @@ -153,4 +153,4 @@ Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/ [Node selector]: https://kubernetes.io/docs/user-guide/node-selection/ [probe]: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes [Tolerations]: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ -[values.yaml]: https://github.com/argoproj/argo-helm/blob/argo-rollouts-2.11.0/charts/argo-rollouts/values.yaml +[values.yaml]: https://github.com/argoproj/argo-helm/blob/argo-rollouts-2.12.0/charts/argo-rollouts/values.yaml diff --git a/charts/argo-rollouts/templates/controller/clusterrole.yaml b/charts/argo-rollouts/templates/controller/clusterrole.yaml index 18318e44..9581ef96 100644 --- a/charts/argo-rollouts/templates/controller/clusterrole.yaml +++ b/charts/argo-rollouts/templates/controller/clusterrole.yaml @@ -68,7 +68,7 @@ rules: - list - watch # services patch needed to update selector of canary/stable/active/preview services -# services create needed to create services for experiments +# services create needed to create and delete services for experiments - apiGroups: - "" resources: @@ -79,6 +79,7 @@ rules: - watch - patch - create + - delete # leases create/get/update needed for leader election - apiGroups: - coordination.k8s.io @@ -198,4 +199,25 @@ rules: verbs: - list - get +# AppMesh virtualservices/virtualrouter CRD read-only access needed for using the App Mesh provider +- apiGroups: + - appmesh.k8s.aws + resources: + - virtualservices + verbs: + - watch + - get + - list +# AppMesh virtualnode CRD r/w access needed for using the App Mesh provider +- apiGroups: + - appmesh.k8s.aws + resources: + - virtualnodes + - virtualrouters + verbs: + - watch + - get + - list + - update + - patch {{- end }} diff --git a/charts/argo-rollouts/templates/controller/deployment.yaml b/charts/argo-rollouts/templates/controller/deployment.yaml index b1f80534..46795b98 100644 --- a/charts/argo-rollouts/templates/controller/deployment.yaml +++ b/charts/argo-rollouts/templates/controller/deployment.yaml @@ -48,6 +48,8 @@ spec: ports: - containerPort: 8090 name: metrics + - containerPort: 8080 + name: healthz livenessProbe: {{- toYaml .Values.controller.livenessProbe | nindent 10 }} readinessProbe: diff --git a/charts/argo-rollouts/templates/crds/analysis-run-crd.yaml b/charts/argo-rollouts/templates/crds/analysis-run-crd.yaml index 42496b96..f5cba997 100644 --- a/charts/argo-rollouts/templates/crds/analysis-run-crd.yaml +++ b/charts/argo-rollouts/templates/crds/analysis-run-crd.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.5.0 + controller-gen.kubebuilder.io/version: v0.7.0 {{- if .Values.keepCRDs }} "helm.sh/resource-policy": keep {{- end }} @@ -31,6 +31,10 @@ spec: jsonPath: .status.phase name: Status type: string + - description: Time since resource was created + jsonPath: .metadata.creationTimestamp + name: Age + type: date name: v1alpha1 schema: openAPIV3Schema: @@ -74,6 +78,28 @@ spec: - name type: object type: array + dryRun: + items: + properties: + metricName: + type: string + required: + - metricName + type: object + type: array + measurementRetention: + items: + properties: + limit: + format: int32 + type: integer + metricName: + type: string + required: + - limit + - metricName + type: object + type: array metrics: items: properties: @@ -197,6 +223,8 @@ spec: backoffLimit: format: int32 type: integer + completionMode: + type: string completions: format: int32 type: integer @@ -228,6 +256,8 @@ spec: type: string type: object type: object + suspend: + type: boolean template: properties: metadata: @@ -369,6 +399,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -412,6 +465,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -453,6 +529,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -496,6 +595,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -721,6 +843,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -770,6 +902,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -812,6 +947,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -861,6 +1006,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -927,6 +1075,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -943,6 +1093,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -992,6 +1152,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1279,6 +1442,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1328,6 +1501,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1354,6 +1530,10 @@ spec: - containerPort type: object type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map readinessProbe: properties: exec: @@ -1366,6 +1546,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1415,6 +1605,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1481,6 +1674,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -1497,6 +1692,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1546,6 +1751,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1837,6 +2045,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1886,6 +2104,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1928,6 +2149,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1977,6 +2208,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -2043,6 +2277,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2059,6 +2295,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -2108,6 +2354,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -2166,6 +2415,14 @@ spec: additionalProperties: type: string type: object + x-kubernetes-map-type: atomic + os: + properties: + name: + type: string + required: + - name + type: object overhead: additionalProperties: anyOf: @@ -2254,6 +2511,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2457,6 +2716,8 @@ spec: type: object web: properties: + body: + type: string headers: items: properties: @@ -2473,6 +2734,8 @@ spec: type: boolean jsonPath: type: string + method: + type: string timeoutSeconds: format: int64 type: integer @@ -2496,6 +2759,24 @@ spec: type: object status: properties: + dryRunSummary: + properties: + count: + format: int32 + type: integer + error: + format: int32 + type: integer + failed: + format: int32 + type: integer + inconclusive: + format: int32 + type: integer + successful: + format: int32 + type: integer + type: object message: type: string metricResults: @@ -2507,6 +2788,8 @@ spec: count: format: int32 type: integer + dryRun: + type: boolean error: format: int32 type: integer @@ -2544,6 +2827,10 @@ spec: type: array message: type: string + metadata: + additionalProperties: + type: string + type: object name: type: string phase: @@ -2558,6 +2845,24 @@ spec: type: array phase: type: string + runSummary: + properties: + count: + format: int32 + type: integer + error: + format: int32 + type: integer + failed: + format: int32 + type: integer + inconclusive: + format: int32 + type: integer + successful: + format: int32 + type: integer + type: object startedAt: format: date-time type: string @@ -2570,4 +2875,5 @@ spec: served: true storage: true subresources: {} + {{- end }} diff --git a/charts/argo-rollouts/templates/crds/analysis-template-crd.yaml b/charts/argo-rollouts/templates/crds/analysis-template-crd.yaml index f81efd4d..7b23b54d 100644 --- a/charts/argo-rollouts/templates/crds/analysis-template-crd.yaml +++ b/charts/argo-rollouts/templates/crds/analysis-template-crd.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.5.0 + controller-gen.kubebuilder.io/version: v0.7.0 {{- if .Values.keepCRDs }} "helm.sh/resource-policy": keep {{- end }} @@ -26,7 +26,12 @@ spec: preserveUnknownFields: false scope: Namespaced versions: - - name: v1alpha1 + - additionalPrinterColumns: + - description: Time since resource was created + jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 schema: openAPIV3Schema: properties: @@ -69,6 +74,28 @@ spec: - name type: object type: array + dryRun: + items: + properties: + metricName: + type: string + required: + - metricName + type: object + type: array + measurementRetention: + items: + properties: + limit: + format: int32 + type: integer + metricName: + type: string + required: + - limit + - metricName + type: object + type: array metrics: items: properties: @@ -192,6 +219,8 @@ spec: backoffLimit: format: int32 type: integer + completionMode: + type: string completions: format: int32 type: integer @@ -223,6 +252,8 @@ spec: type: string type: object type: object + suspend: + type: boolean template: properties: metadata: @@ -364,6 +395,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -407,6 +461,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -448,6 +525,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -491,6 +591,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -716,6 +839,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -765,6 +898,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -807,6 +943,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -856,6 +1002,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -922,6 +1071,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -938,6 +1089,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -987,6 +1148,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1274,6 +1438,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1323,6 +1497,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1349,6 +1526,10 @@ spec: - containerPort type: object type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map readinessProbe: properties: exec: @@ -1361,6 +1542,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1410,6 +1601,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1476,6 +1670,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -1492,6 +1688,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1541,6 +1747,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1832,6 +2041,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1881,6 +2100,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1923,6 +2145,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1972,6 +2204,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -2038,6 +2273,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2054,6 +2291,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -2103,6 +2350,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -2161,6 +2411,14 @@ spec: additionalProperties: type: string type: object + x-kubernetes-map-type: atomic + os: + properties: + name: + type: string + required: + - name + type: object overhead: additionalProperties: anyOf: @@ -2249,6 +2507,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2452,6 +2712,8 @@ spec: type: object web: properties: + body: + type: string headers: items: properties: @@ -2468,6 +2730,8 @@ spec: type: boolean jsonPath: type: string + method: + type: string timeoutSeconds: format: int64 type: integer @@ -2492,4 +2756,5 @@ spec: type: object served: true storage: true + subresources: {} {{- end }} diff --git a/charts/argo-rollouts/templates/crds/cluster-analysis-template-crd.yaml b/charts/argo-rollouts/templates/crds/cluster-analysis-template-crd.yaml index d8435bda..8ea109f7 100644 --- a/charts/argo-rollouts/templates/crds/cluster-analysis-template-crd.yaml +++ b/charts/argo-rollouts/templates/crds/cluster-analysis-template-crd.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.5.0 + controller-gen.kubebuilder.io/version: v0.7.0 {{- if .Values.keepCRDs }} "helm.sh/resource-policy": keep {{- end }} @@ -26,7 +26,12 @@ spec: preserveUnknownFields: false scope: Cluster versions: - - name: v1alpha1 + - additionalPrinterColumns: + - description: Time since resource was created + jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 schema: openAPIV3Schema: properties: @@ -69,6 +74,28 @@ spec: - name type: object type: array + dryRun: + items: + properties: + metricName: + type: string + required: + - metricName + type: object + type: array + measurementRetention: + items: + properties: + limit: + format: int32 + type: integer + metricName: + type: string + required: + - limit + - metricName + type: object + type: array metrics: items: properties: @@ -192,6 +219,8 @@ spec: backoffLimit: format: int32 type: integer + completionMode: + type: string completions: format: int32 type: integer @@ -223,6 +252,8 @@ spec: type: string type: object type: object + suspend: + type: boolean template: properties: metadata: @@ -364,6 +395,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -407,6 +461,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -448,6 +525,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -491,6 +591,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -716,6 +839,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -765,6 +898,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -807,6 +943,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -856,6 +1002,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -922,6 +1071,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -938,6 +1089,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -987,6 +1148,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1274,6 +1438,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1323,6 +1497,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1349,6 +1526,10 @@ spec: - containerPort type: object type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map readinessProbe: properties: exec: @@ -1361,6 +1542,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1410,6 +1601,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1476,6 +1670,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -1492,6 +1688,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1541,6 +1747,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1832,6 +2041,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1881,6 +2100,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1923,6 +2145,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1972,6 +2204,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -2038,6 +2273,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2054,6 +2291,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -2103,6 +2350,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -2161,6 +2411,14 @@ spec: additionalProperties: type: string type: object + x-kubernetes-map-type: atomic + os: + properties: + name: + type: string + required: + - name + type: object overhead: additionalProperties: anyOf: @@ -2249,6 +2507,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2452,6 +2712,8 @@ spec: type: object web: properties: + body: + type: string headers: items: properties: @@ -2468,6 +2730,8 @@ spec: type: boolean jsonPath: type: string + method: + type: string timeoutSeconds: format: int64 type: integer @@ -2492,4 +2756,5 @@ spec: type: object served: true storage: true + subresources: {} {{- end }} diff --git a/charts/argo-rollouts/templates/crds/experiment-crd.yaml b/charts/argo-rollouts/templates/crds/experiment-crd.yaml index 634b03f3..90b4b499 100644 --- a/charts/argo-rollouts/templates/crds/experiment-crd.yaml +++ b/charts/argo-rollouts/templates/crds/experiment-crd.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.5.0 + controller-gen.kubebuilder.io/version: v0.7.0 {{- if .Values.keepCRDs }} "helm.sh/resource-policy": keep {{- end }} @@ -31,6 +31,10 @@ spec: jsonPath: .status.phase name: Status type: string + - description: Time since resource was created + jsonPath: .metadata.creationTimestamp + name: Age + type: date name: v1alpha1 schema: openAPIV3Schema: @@ -90,8 +94,30 @@ spec: - templateName type: object type: array + dryRun: + items: + properties: + metricName: + type: string + required: + - metricName + type: object + type: array duration: type: string + measurementRetention: + items: + properties: + limit: + format: int32 + type: integer + metricName: + type: string + required: + - limit + - metricName + type: object + type: array progressDeadlineSeconds: format: int32 type: integer @@ -275,6 +301,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -318,6 +367,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -359,6 +431,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -402,6 +497,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -627,6 +745,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -676,6 +804,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -718,6 +849,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -767,6 +908,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -833,6 +977,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -849,6 +995,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -898,6 +1054,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1185,6 +1344,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1234,6 +1403,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1260,6 +1432,10 @@ spec: - containerPort type: object type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map readinessProbe: properties: exec: @@ -1272,6 +1448,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1321,6 +1507,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1387,6 +1576,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -1403,6 +1594,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1452,6 +1653,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1743,6 +1947,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1792,6 +2006,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1834,6 +2051,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1883,6 +2110,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1949,6 +2179,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -1965,6 +2197,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -2014,6 +2256,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -2072,6 +2317,14 @@ spec: additionalProperties: type: string type: object + x-kubernetes-map-type: atomic + os: + properties: + name: + type: string + required: + - name + type: object overhead: additionalProperties: anyOf: @@ -2160,6 +2413,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2351,4 +2606,4 @@ spec: served: true storage: true subresources: {} -{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/argo-rollouts/templates/crds/rollout-crd.yaml b/charts/argo-rollouts/templates/crds/rollout-crd.yaml index cbde1256..596f55ca 100644 --- a/charts/argo-rollouts/templates/crds/rollout-crd.yaml +++ b/charts/argo-rollouts/templates/crds/rollout-crd.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.5.0 + controller-gen.kubebuilder.io/version: v0.7.0 {{- if .Values.keepCRDs }} "helm.sh/resource-policy": keep {{- end }} @@ -45,6 +45,10 @@ spec: jsonPath: .status.availableReplicas name: Available type: integer + - description: Time since resource was created + jsonPath: .metadata.creationTimestamp + name: Age + type: date name: v1alpha1 schema: openAPIV3Schema: @@ -176,6 +180,28 @@ spec: - name type: object type: array + dryRun: + items: + properties: + metricName: + type: string + required: + - metricName + type: object + type: array + measurementRetention: + items: + properties: + limit: + format: int32 + type: integer + metricName: + type: string + required: + - limit + - metricName + type: object + type: array templates: items: properties: @@ -211,6 +237,28 @@ spec: - name type: object type: array + dryRun: + items: + properties: + metricName: + type: string + required: + - metricName + type: object + type: array + measurementRetention: + items: + properties: + limit: + format: int32 + type: integer + metricName: + type: string + required: + - limit + - metricName + type: object + type: array templates: items: properties: @@ -276,6 +324,28 @@ spec: - name type: object type: array + dryRun: + items: + properties: + metricName: + type: string + required: + - metricName + type: object + type: array + measurementRetention: + items: + properties: + limit: + format: int32 + type: integer + metricName: + type: string + required: + - limit + - metricName + type: object + type: array startingStep: format: int32 type: integer @@ -327,6 +397,16 @@ spec: - type: integer - type: string x-kubernetes-int-or-string: true + pingPong: + properties: + pingService: + type: string + pongService: + type: string + required: + - pingService + - pongService + type: object scaleDownDelayRevisionLimit: format: int32 type: integer @@ -374,6 +454,28 @@ spec: - name type: object type: array + dryRun: + items: + properties: + metricName: + type: string + required: + - metricName + type: object + type: array + measurementRetention: + items: + properties: + limit: + format: int32 + type: integer + metricName: + type: string + required: + - limit + - metricName + type: object + type: array templates: items: properties: @@ -519,6 +621,17 @@ spec: servicePort: format: int32 type: integer + stickinessConfig: + properties: + durationSeconds: + format: int64 + type: integer + enabled: + type: boolean + required: + - durationSeconds + - enabled + type: object required: - ingress - servicePort @@ -532,6 +645,40 @@ spec: required: - mappings type: object + appMesh: + properties: + virtualNodeGroup: + properties: + canaryVirtualNodeRef: + properties: + name: + type: string + required: + - name + type: object + stableVirtualNodeRef: + properties: + name: + type: string + required: + - name + type: object + required: + - canaryVirtualNodeRef + - stableVirtualNodeRef + type: object + virtualService: + properties: + name: + type: string + routes: + items: + type: string + type: array + required: + - name + type: object + type: object istio: properties: destinationRule: @@ -760,6 +907,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -803,6 +973,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -844,6 +1037,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -887,6 +1103,29 @@ spec: type: string type: object type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object namespaces: items: type: string @@ -1112,6 +1351,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1161,6 +1410,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1203,6 +1455,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1252,6 +1514,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1318,6 +1583,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -1334,6 +1601,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1383,6 +1660,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1670,6 +1950,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1719,6 +2009,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1745,6 +2038,10 @@ spec: - containerPort type: object type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map readinessProbe: properties: exec: @@ -1757,6 +2054,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1806,6 +2113,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -1872,6 +2182,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -1888,6 +2200,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -1937,6 +2259,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -2228,6 +2553,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -2277,6 +2612,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -2319,6 +2657,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -2368,6 +2716,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -2434,6 +2785,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2450,6 +2803,16 @@ spec: failureThreshold: format: int32 type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object httpGet: properties: host: @@ -2499,6 +2862,9 @@ spec: required: - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer timeoutSeconds: format: int32 type: integer @@ -2557,6 +2923,14 @@ spec: additionalProperties: type: string type: object + x-kubernetes-map-type: atomic + os: + properties: + name: + type: string + required: + - name + type: object overhead: additionalProperties: anyOf: @@ -2645,6 +3019,8 @@ spec: type: string gmsaCredentialSpecName: type: string + hostProcess: + type: boolean runAsUserName: type: string type: object @@ -2722,7 +3098,9 @@ spec: - whenUnsatisfiable x-kubernetes-list-type: map volumes: - x-kubernetes-preserve-unknown-fields: true + items: + x-kubernetes-preserve-unknown-fields: true + type: array required: - containers type: object @@ -2747,6 +3125,39 @@ spec: abortedAt: format: date-time type: string + alb: + properties: + canaryTargetGroup: + properties: + arn: + type: string + name: + type: string + required: + - arn + - name + type: object + loadBalancer: + properties: + arn: + type: string + name: + type: string + required: + - arn + - name + type: object + stableTargetGroup: + properties: + arn: + type: string + name: + type: string + required: + - arn + - name + type: object + type: object availableReplicas: format: int32 type: integer @@ -2811,6 +3222,8 @@ spec: - name - status type: object + stablePingPong: + type: string weights: properties: additional: diff --git a/charts/argo-rollouts/values.yaml b/charts/argo-rollouts/values.yaml index 42d32de0..f99af0bb 100644 --- a/charts/argo-rollouts/values.yaml +++ b/charts/argo-rollouts/values.yaml @@ -32,7 +32,7 @@ controller: # -- Assign custom [affinity] rules to the deployment affinity: {} # -- The number of controller pods to run - replicas: 1 + replicas: 2 image: # -- Registry to use registry: quay.io @@ -75,8 +75,8 @@ controller: # @default -- See [values.yaml] livenessProbe: httpGet: - path: /metrics - port: 8090 + path: /healthz + port: healthz initialDelaySeconds: 30 periodSeconds: 20 failureThreshold: 3 @@ -88,7 +88,7 @@ controller: readinessProbe: httpGet: path: /metrics - port: 8090 + port: metrics initialDelaySeconds: 15 periodSeconds: 5 failureThreshold: 3