Skip to content

Commit ce8ac80

Browse files
authored
Upgrade to Argo Rollouts operator v0.0.4.1 (#785)
Signed-off-by: Jonathan West <[email protected]>
1 parent 4d26225 commit ce8ac80

File tree

10 files changed

+19
-4
lines changed

10 files changed

+19
-4
lines changed

bundle/manifests/gitops-operator.clusterserviceversion.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -994,6 +994,8 @@ spec:
994994
env:
995995
- name: ARGOCD_CLUSTER_CONFIG_NAMESPACES
996996
value: openshift-gitops
997+
- name: CLUSTER_SCOPED_ARGO_ROLLOUTS_NAMESPACES
998+
value: openshift-gitops
997999
- name: OPERATOR_NAME
9981000
value: gitops-operator
9991001
- name: LABEL_SELECTOR

config/manager/manager.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ spec:
3232
env:
3333
- name: ARGOCD_CLUSTER_CONFIG_NAMESPACES
3434
value: openshift-gitops
35+
- name: CLUSTER_SCOPED_ARGO_ROLLOUTS_NAMESPACES
36+
value: openshift-gitops
3537
- name: OPERATOR_NAME
3638
value: gitops-operator
3739
- name : LABEL_SELECTOR

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.0
44

55
require (
6-
github.com/argoproj-labs/argo-rollouts-manager v0.0.4-0.20240807084148-a96aa79b5464
6+
github.com/argoproj-labs/argo-rollouts-manager v0.0.5-0.20241004094712-aea86d7ae590
77
github.com/argoproj-labs/argocd-operator v0.12.0-rc3
88
github.com/coreos/prometheus-operator v0.40.0
99
github.com/go-logr/logr v1.4.2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,8 @@ github.com/apache/arrow/go/v11 v11.0.0/go.mod h1:Eg5OsL5H+e299f7u5ssuXsuHQVEGC4x
620620
github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
621621
github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
622622
github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU=
623-
github.com/argoproj-labs/argo-rollouts-manager v0.0.4-0.20240807084148-a96aa79b5464 h1:LTMoDmQoIjqhe+pulFiG7l80pnjjZX6WiivURO2uXsQ=
624-
github.com/argoproj-labs/argo-rollouts-manager v0.0.4-0.20240807084148-a96aa79b5464/go.mod h1:seR9B+tx6AbGaya+JA61HDBFciKx7FM7t/1IMhOwXlM=
623+
github.com/argoproj-labs/argo-rollouts-manager v0.0.5-0.20241004094712-aea86d7ae590 h1:UJWMptB+Vi1KwRmzkdr0aGkyOE4YP2VDg59Lt9S3AEI=
624+
github.com/argoproj-labs/argo-rollouts-manager v0.0.5-0.20241004094712-aea86d7ae590/go.mod h1:seR9B+tx6AbGaya+JA61HDBFciKx7FM7t/1IMhOwXlM=
625625
github.com/argoproj-labs/argocd-operator v0.12.0-rc3 h1:UqHQFeaZKWY8IqsAgLU3CwjRymcYCsJ01Wysqf7nDiY=
626626
github.com/argoproj-labs/argocd-operator v0.12.0-rc3/go.mod h1:+yvFAnSJZL8iOTWI3cTQ9qwXfh40lLyOI4ghDFqM8S0=
627627
github.com/argoproj/argo-cd/v2 v2.12.3 h1:Bi4QahHTnKl3esU5MplQP1wraGhaTpvgAV4GsMqc3Zc=

hack/non-olm-install/install-gitops-operator.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ REGCTL_VERSION=${REGCTL_VERSION:-"v0.5.1"}
3737

3838
# Operator configurations
3939
ARGOCD_CLUSTER_CONFIG_NAMESPACES=${ARGOCD_CLUSTER_CONFIG_NAMESPACES:-"openshift-gitops"}
40+
CLUSTER_SCOPED_ARGO_ROLLOUTS_NAMESPACES=${CLUSTER_SCOPED_ARGO_ROLLOUTS_NAMESPACES:-"openshift-gitops"}
4041
CONTROLLER_CLUSTER_ROLE=${CONTROLLER_CLUSTER_ROLE:-""}
4142
DISABLE_DEFAULT_ARGOCD_INSTANCE=${DISABLE_DEFAULT_ARGOCD_INSTANCE:-"false"}
4243
SERVER_CLUSTER_ROLE=${SERVER_CLUSTER_ROLE:-""}
@@ -225,6 +226,8 @@ spec:
225226
value: ${KAM_IMAGE}
226227
- name: ARGOCD_CLUSTER_CONFIG_NAMESPACES
227228
value: \"${ARGOCD_CLUSTER_CONFIG_NAMESPACES}\"
229+
- name: CLUSTER_SCOPED_ARGO_ROLLOUTS_NAMESPACES
230+
value: \"${CLUSTER_SCOPED_ARGO_ROLLOUTS_NAMESPACES}\"
228231
- name: CONTROLLER_CLUSTER_ROLE
229232
value: \"${CONTROLLER_CLUSTER_ROLE}\"
230233
- name: DISABLE_DEFAULT_ARGOCD_INSTANCE
@@ -442,6 +445,7 @@ function print_info() {
442445
echo "Operator configurations:"
443446
echo "------------------------"
444447
echo "ARGOCD_CLUSTER_CONFIG_NAMESPACES: ${ARGOCD_CLUSTER_CONFIG_NAMESPACES}"
448+
echo "CLUSTER_SCOPED_ARGO_ROLLOUTS_NAMESPACES: ${CLUSTER_SCOPED_ARGO_ROLLOUTS_NAMESPACES}"
445449
if [ ! -z "${CONTROLLER_CLUSTER_ROLE}" ]; then
446450
echo "CONTROLLER_CLUSTER_ROLE: ${CONTROLLER_CLUSTER_ROLE}"
447451
fi

scripts/run-rollouts-e2e-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cd "$ROLLOUTS_TMP_DIR/argo-rollouts-manager"
1616

1717
# This commit value will be automatically updated by calling 'hack/upgrade-rollouts-manager/go-run.sh':
1818
# - It should always point to the same argo-rollouts-manager commit that is referenced in go.mod of gitops-operator (which will usually be the most recent argo-rollouts-manager commit)
19-
TARGET_ROLLOUT_MANAGER_COMMIT=a96aa79b546433ee2d68f48d424baaabed0cb2ac
19+
TARGET_ROLLOUT_MANAGER_COMMIT=aea86d7ae5902e2ee8d0e652a2770484d9fa09df
2020

2121
# This commit value will be automatically updated by calling 'hack/upgrade-rollouts-manager/go-run.sh':
2222
# - It should always point to the same argo-rollouts-manager commit that is referenced in the version of argo-rollouts-manager that is in go.mod

test/openshift/e2e/sequential/1-100_validate_rollouts_resources_creation/01-assert.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ apiVersion: v1
33
kind: ServiceAccount
44
metadata:
55
name: argo-rollouts
6+
namespace: openshift-gitops
67
---
78
apiVersion: rbac.authorization.k8s.io/v1
89
kind: ClusterRole
@@ -33,15 +34,18 @@ kind: Secret
3334
apiVersion: v1
3435
metadata:
3536
name: argo-rollouts-notification-secret
37+
namespace: openshift-gitops
3638
---
3739
apiVersion: apps/v1
3840
kind: Deployment
3941
metadata:
4042
name: argo-rollouts
43+
namespace: openshift-gitops
4144
status:
4245
readyReplicas: 1
4346
---
4447
apiVersion: v1
4548
kind: Service
4649
metadata:
4750
name: argo-rollouts-metrics
51+
namespace: openshift-gitops

test/openshift/e2e/sequential/1-100_validate_rollouts_resources_creation/01-install-rolloutmanager.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ apiVersion: argoproj.io/v1alpha1
22
kind: RolloutManager
33
metadata:
44
name: example-rollout-manager
5+
namespace: openshift-gitops
56
labels:
67
example: example-rollout-manager
78
spec: {}

test/openshift/e2e/sequential/1-100_validate_rollouts_resources_creation/02-assert.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ apiVersion: argoproj.io/v1alpha1
33
kind: RolloutManager
44
metadata:
55
name: example-rollout-manager
6+
namespace: openshift-gitops
67
status:
78
phase: Available

test/openshift/e2e/sequential/1-101_validate_rollout_policyrules/01-install-rollloutmanager.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ apiVersion: argoproj.io/v1alpha1
22
kind: RolloutManager
33
metadata:
44
name: example-rollout-manager
5+
namespace: openshift-gitops
56
labels:
67
example: example-rollout-manager
78
spec: {}

0 commit comments

Comments
 (0)