Skip to content

Commit 4b16a41

Browse files
authored
Update to latest commit of argo-rollouts-manager ''efd9a78591b8be58cd65529dbd624306590911b0' (#688)
Signed-off-by: Jonathan West <[email protected]>
1 parent 5d26d68 commit 4b16a41

File tree

7 files changed

+191
-30
lines changed

7 files changed

+191
-30
lines changed

bundle/manifests/argoproj.io_rolloutmanagers.yaml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ spec:
153153
image:
154154
description: Image defines Argo Rollouts controller image (optional)
155155
type: string
156+
namespaceScoped:
157+
description: NamespaceScoped lets you specify if RolloutManager has
158+
to watch a namespace or the whole cluster
159+
type: boolean
156160
nodePlacement:
157161
description: NodePlacement defines NodeSelectors and Taints for Rollouts
158162
workloads
@@ -213,6 +217,76 @@ spec:
213217
status:
214218
description: RolloutManagerStatus defines the observed state of RolloutManager
215219
properties:
220+
conditions:
221+
description: Conditions is an array of the RolloutManager's status
222+
conditions
223+
items:
224+
description: "Condition contains details for one aspect of the current
225+
state of this API Resource. --- This struct is intended for direct
226+
use as an array at the field path .status.conditions. For example,
227+
\n type FooStatus struct{ // Represents the observations of a
228+
foo's current state. // Known .status.conditions.type are: \"Available\",
229+
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
230+
// +listType=map // +listMapKey=type Conditions []metav1.Condition
231+
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
232+
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
233+
properties:
234+
lastTransitionTime:
235+
description: lastTransitionTime is the last time the condition
236+
transitioned from one status to another. This should be when
237+
the underlying condition changed. If that is not known, then
238+
using the time when the API field changed is acceptable.
239+
format: date-time
240+
type: string
241+
message:
242+
description: message is a human readable message indicating
243+
details about the transition. This may be an empty string.
244+
maxLength: 32768
245+
type: string
246+
observedGeneration:
247+
description: observedGeneration represents the .metadata.generation
248+
that the condition was set based upon. For instance, if .metadata.generation
249+
is currently 12, but the .status.conditions[x].observedGeneration
250+
is 9, the condition is out of date with respect to the current
251+
state of the instance.
252+
format: int64
253+
minimum: 0
254+
type: integer
255+
reason:
256+
description: reason contains a programmatic identifier indicating
257+
the reason for the condition's last transition. Producers
258+
of specific condition types may define expected values and
259+
meanings for this field, and whether the values are considered
260+
a guaranteed API. The value should be a CamelCase string.
261+
This field may not be empty.
262+
maxLength: 1024
263+
minLength: 1
264+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
265+
type: string
266+
status:
267+
description: status of the condition, one of True, False, Unknown.
268+
enum:
269+
- "True"
270+
- "False"
271+
- Unknown
272+
type: string
273+
type:
274+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
275+
--- Many .condition.type values are consistent across resources
276+
like Available, but because arbitrary conditions can be useful
277+
(see .node.status.conditions), the ability to deconflict is
278+
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
279+
maxLength: 316
280+
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
281+
type: string
282+
required:
283+
- lastTransitionTime
284+
- message
285+
- reason
286+
- status
287+
- type
288+
type: object
289+
type: array
216290
phase:
217291
description: 'Phase is a simple, high-level summary of where the RolloutManager
218292
is in its lifecycle. There are three possible phase values: Pending:

bundle/manifests/gitops-operator.clusterserviceversion.yaml

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -179,15 +179,15 @@ spec:
179179
apiservicedefinitions: {}
180180
customresourcedefinitions:
181181
owned:
182-
- description: An AnalysisRun is an instantiation of an AnalysisTemplate.
183-
AnalysisRuns are like Jobs in that they eventually complete.
182+
- description: An AnalysisRun is an instantiation of an AnalysisTemplate. AnalysisRuns
183+
are like Jobs in that they eventually complete.
184184
displayName: AnalysisRun
185185
kind: AnalysisRun
186186
name: analysisruns.argoproj.io
187187
version: v1alpha1
188-
- description: An AnalysisTemplate is a template spec which defines how to
189-
perform a canary analysis, such as the metrics, its frequency,
190-
and the values which are considered successful or failed.
188+
- description: An AnalysisTemplate is a template spec which defines how to perform
189+
a canary analysis, such as the metrics, its frequency, and the values which
190+
are considered successful or failed.
191191
displayName: AnalysisTemplate
192192
kind: AnalysisTemplate
193193
name: analysistemplates.argoproj.io
@@ -209,6 +209,9 @@ spec:
209209
kind: AppProject
210210
name: appprojects.argoproj.io
211211
version: v1alpha1
212+
- kind: ArgoCD
213+
name: argocds.argoproj.io
214+
version: v1alpha1
212215
- description: Argo CD is the representation of an Argo CD deployment.
213216
displayName: Argo CD
214217
kind: ArgoCD
@@ -260,14 +263,16 @@ spec:
260263
name: ""
261264
version: v1
262265
version: v1beta1
263-
- description: A ClusterAnalysisTemplate is like an AnalysisTemplate,but it is not limited to its namespace.
264-
It can be used by any Rollout throughout the cluster.
266+
- description: A ClusterAnalysisTemplate is like an AnalysisTemplate,but it is
267+
not limited to its namespace. It can be used by any Rollout throughout the
268+
cluster.
265269
displayName: ClusterAnalysisTemplate
266270
kind: ClusterAnalysisTemplate
267271
name: clusteranalysistemplates.argoproj.io
268272
version: v1alpha1
269-
- description: An Experiment is limited run of one or more ReplicaSets for the purposes of analysis.
270-
Experiments typically run for a pre-determined duration, but can also run indefinitely until stopped.
273+
- description: An Experiment is limited run of one or more ReplicaSets for the
274+
purposes of analysis. Experiments typically run for a pre-determined duration,
275+
but can also run indefinitely until stopped.
271276
displayName: Experiment
272277
kind: Experiment
273278
name: experiments.argoproj.io
@@ -277,8 +282,9 @@ spec:
277282
kind: GitopsService
278283
name: gitopsservices.pipelines.openshift.io
279284
version: v1alpha1
280-
- description: NotificationsConfigurations contains the notification template used to generate notifications
281-
that notify users about important changes in the application state.
285+
- description: NotificationsConfigurations contains the notification template
286+
used to generate notifications that notify users about important changes in
287+
the application state.
282288
displayName: NotificationsConfiguration
283289
kind: NotificationsConfiguration
284290
name: notificationsconfigurations.argoproj.io
@@ -288,6 +294,9 @@ spec:
288294
kind: RolloutManager
289295
name: rolloutmanagers.argoproj.io
290296
version: v1alpha1
297+
- kind: Rollout
298+
name: rollouts.argoproj.io
299+
version: v1alpha1
291300
description: "Red Hat OpenShift GitOps is a declarative continuous delivery platform
292301
based on [Argo CD](https://argoproj.github.io/argo-cd/). It enables teams to adopt
293302
GitOps principles for managing cluster configurations and automating secure and

config/crd/bases/argoproj.io_rolloutmanagers.yaml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ spec:
154154
image:
155155
description: Image defines Argo Rollouts controller image (optional)
156156
type: string
157+
namespaceScoped:
158+
description: NamespaceScoped lets you specify if RolloutManager has
159+
to watch a namespace or the whole cluster
160+
type: boolean
157161
nodePlacement:
158162
description: NodePlacement defines NodeSelectors and Taints for Rollouts
159163
workloads
@@ -214,6 +218,76 @@ spec:
214218
status:
215219
description: RolloutManagerStatus defines the observed state of RolloutManager
216220
properties:
221+
conditions:
222+
description: Conditions is an array of the RolloutManager's status
223+
conditions
224+
items:
225+
description: "Condition contains details for one aspect of the current
226+
state of this API Resource. --- This struct is intended for direct
227+
use as an array at the field path .status.conditions. For example,
228+
\n type FooStatus struct{ // Represents the observations of a
229+
foo's current state. // Known .status.conditions.type are: \"Available\",
230+
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
231+
// +listType=map // +listMapKey=type Conditions []metav1.Condition
232+
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
233+
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
234+
properties:
235+
lastTransitionTime:
236+
description: lastTransitionTime is the last time the condition
237+
transitioned from one status to another. This should be when
238+
the underlying condition changed. If that is not known, then
239+
using the time when the API field changed is acceptable.
240+
format: date-time
241+
type: string
242+
message:
243+
description: message is a human readable message indicating
244+
details about the transition. This may be an empty string.
245+
maxLength: 32768
246+
type: string
247+
observedGeneration:
248+
description: observedGeneration represents the .metadata.generation
249+
that the condition was set based upon. For instance, if .metadata.generation
250+
is currently 12, but the .status.conditions[x].observedGeneration
251+
is 9, the condition is out of date with respect to the current
252+
state of the instance.
253+
format: int64
254+
minimum: 0
255+
type: integer
256+
reason:
257+
description: reason contains a programmatic identifier indicating
258+
the reason for the condition's last transition. Producers
259+
of specific condition types may define expected values and
260+
meanings for this field, and whether the values are considered
261+
a guaranteed API. The value should be a CamelCase string.
262+
This field may not be empty.
263+
maxLength: 1024
264+
minLength: 1
265+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
266+
type: string
267+
status:
268+
description: status of the condition, one of True, False, Unknown.
269+
enum:
270+
- "True"
271+
- "False"
272+
- Unknown
273+
type: string
274+
type:
275+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
276+
--- Many .condition.type values are consistent across resources
277+
like Available, but because arbitrary conditions can be useful
278+
(see .node.status.conditions), the ability to deconflict is
279+
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
280+
maxLength: 316
281+
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
282+
type: string
283+
required:
284+
- lastTransitionTime
285+
- message
286+
- reason
287+
- status
288+
- type
289+
type: object
290+
type: array
217291
phase:
218292
description: 'Phase is a simple, high-level summary of where the RolloutManager
219293
is in its lifecycle. There are three possible phase values: Pending:

config/manifests/bases/gitops-operator.clusterserviceversion.yaml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ spec:
1818
apiservicedefinitions: {}
1919
customresourcedefinitions:
2020
owned:
21-
- description: An AnalysisRun is an instantiation of an AnalysisTemplate.
22-
AnalysisRuns are like Jobs in that they eventually complete.
21+
- description: An AnalysisRun is an instantiation of an AnalysisTemplate. AnalysisRuns
22+
are like Jobs in that they eventually complete.
2323
displayName: AnalysisRun
2424
kind: AnalysisRun
2525
name: analysisruns.argoproj.io
2626
version: v1alpha1
27-
- description: An AnalysisTemplate is a template spec which defines how to
28-
perform a canary analysis, such as the metrics, its frequency,
29-
and the values which are considered successful or failed.
27+
- description: An AnalysisTemplate is a template spec which defines how to perform
28+
a canary analysis, such as the metrics, its frequency, and the values which
29+
are considered successful or failed.
3030
displayName: AnalysisTemplate
3131
kind: AnalysisTemplate
3232
name: analysistemplates.argoproj.io
@@ -99,25 +99,23 @@ spec:
9999
name: ""
100100
version: v1
101101
version: v1beta1
102-
- description: A ClusterAnalysisTemplate is like an AnalysisTemplate,but it is not limited to its namespace.
103-
It can be used by any Rollout throughout the cluster.
102+
- description: A ClusterAnalysisTemplate is like an AnalysisTemplate,but it is
103+
not limited to its namespace. It can be used by any Rollout throughout the
104+
cluster.
104105
displayName: ClusterAnalysisTemplate
105106
kind: ClusterAnalysisTemplate
106107
name: clusteranalysistemplates.argoproj.io
107108
version: v1alpha1
108-
- description: An Experiment is limited run of one or more ReplicaSets for the purposes of analysis.
109-
Experiments typically run for a pre-determined duration, but can also run indefinitely until stopped.
109+
- description: An Experiment is limited run of one or more ReplicaSets for the
110+
purposes of analysis. Experiments typically run for a pre-determined duration,
111+
but can also run indefinitely until stopped.
110112
displayName: Experiment
111113
kind: Experiment
112114
name: experiments.argoproj.io
113115
version: v1alpha1
114-
- description: GitopsService is the Schema for the gitopsservices API
115-
displayName: Gitops Service
116-
kind: GitopsService
117-
name: gitopsservices.pipelines.openshift.io
118-
version: v1alpha1
119-
- description: NotificationsConfigurations contains the notification template used to generate notifications
120-
that notify users about important changes in the application state.
116+
- description: NotificationsConfigurations contains the notification template
117+
used to generate notifications that notify users about important changes in
118+
the application state.
121119
displayName: NotificationsConfiguration
122120
kind: NotificationsConfiguration
123121
name: notificationsconfigurations.argoproj.io
@@ -127,6 +125,11 @@ spec:
127125
kind: RolloutManager
128126
name: rolloutmanagers.argoproj.io
129127
version: v1alpha1
128+
- description: GitopsService is the Schema for the gitopsservices API
129+
displayName: Gitops Service
130+
kind: GitopsService
131+
name: gitopsservices.pipelines.openshift.io
132+
version: v1alpha1
130133
displayName: Red Hat OpenShift GitOps
131134
install:
132135
spec:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/redhat-developer/gitops-operator
33
go 1.21
44

55
require (
6-
github.com/argoproj-labs/argo-rollouts-manager v0.0.3-0.20240326092147-38002185fc1f
6+
github.com/argoproj-labs/argo-rollouts-manager v0.0.3-0.20240411091021-efd9a78591b8
77
github.com/argoproj-labs/argocd-operator v0.10.0
88
github.com/coreos/prometheus-operator v0.40.0
99
github.com/go-logr/logr v1.4.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,8 +637,8 @@ github.com/apache/arrow/go/v11 v11.0.0/go.mod h1:Eg5OsL5H+e299f7u5ssuXsuHQVEGC4x
637637
github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
638638
github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
639639
github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU=
640-
github.com/argoproj-labs/argo-rollouts-manager v0.0.3-0.20240326092147-38002185fc1f h1:ntW8MHRZTmolj5ukRov0vU6vxFohRlXUkwmfvFWcSZM=
641-
github.com/argoproj-labs/argo-rollouts-manager v0.0.3-0.20240326092147-38002185fc1f/go.mod h1:IsuKl+7NkL/yYh+0H2+Oo3qGoT75f1CcKKfPZaN4XbE=
640+
github.com/argoproj-labs/argo-rollouts-manager v0.0.3-0.20240411091021-efd9a78591b8 h1:udzUF+oAWFWq4p8MB01q8ZpMVDf9V/8T8fpUnddgNXI=
641+
github.com/argoproj-labs/argo-rollouts-manager v0.0.3-0.20240411091021-efd9a78591b8/go.mod h1:aCj8qr73LKlj6wtXF7GWJSZJJ8pYAbZSXkKGhwLeI3E=
642642
github.com/argoproj-labs/argocd-operator v0.10.0 h1:B2k6Rwiff3O7fG3K7nNiFuo9TV7Kr0s/K9f4Mo+5Qak=
643643
github.com/argoproj-labs/argocd-operator v0.10.0/go.mod h1:4TThdvK88j46P6ybACEhHHqJstdnF+CFHkmlS068dqk=
644644
github.com/argoproj/argo-cd/v2 v2.10.1 h1:VD06GPeoq14Bo7IfiW+EKim3T1C9xaMElVrEtw+zll0=

scripts/openshiftci-presubmit-all-tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ export KUBECONFIG=$TMP_DIR/kubeconfig
2727
# Run e2e test
2828
make test-e2e
2929

30+

0 commit comments

Comments
 (0)