Skip to content

Upgrade Argo CD to v3 in GitOps operator #918

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .ci-operator.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build_root_image:
name: release
namespace: openshift
tag: golang-1.22
name: builder
namespace: ocp
tag: rhel-9-golang-1.24-openshift-4.20
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.22 as builder
FROM golang:1.24 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/confi
CONTROLLER_GEN = $(shell pwd)/bin/controller-gen
.PHONY: controller-gen
controller-gen: ## Download controller-gen locally if necessary.
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0)
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.18.0)

KUSTOMIZE = $(shell pwd)/bin/kustomize
.PHONY: kustomize
Expand Down
149 changes: 142 additions & 7 deletions bundle/manifests/argoproj.io_applications.yaml

Large diffs are not rendered by default.

204 changes: 204 additions & 0 deletions bundle/manifests/argoproj.io_applicationsets.yaml

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions bundle/manifests/argoproj.io_appprojects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,10 @@ spec:
description: SyncWindow contains the kind, time, duration and attributes
that are used to assign the syncWindows to apps
properties:
andOperator:
description: UseAndOperator use AND operator for matching applications,
namespaces and clusters instead of the default OR operator
type: boolean
applications:
description: Applications contains a list of applications that
the window will apply to
Expand Down
3,118 changes: 2,331 additions & 787 deletions bundle/manifests/argoproj.io_argocds.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.18.0
creationTimestamp: null
name: notificationsconfigurations.argoproj.io
spec:
Expand Down
198 changes: 15 additions & 183 deletions bundle/manifests/gitops-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ metadata:
capabilities: Deep Insights
console.openshift.io/plugins: '["gitops-plugin"]'
containerImage: quay.io/redhat-developer/gitops-operator
createdAt: "2025-06-25T12:59:48Z"
createdAt: "2025-07-10T04:40:01Z"
description: Enables teams to adopt GitOps principles for managing cluster configurations
and application delivery across hybrid multi-cluster Kubernetes environments.
features.operators.openshift.io/disconnected: "true"
Expand Down Expand Up @@ -359,25 +359,6 @@ spec:
- endpoints
- events
- namespaces
- pods
- secrets
- serviceaccounts
- services
- services/finalizers
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- configmaps
- endpoints
- events
- persistentvolumeclaims
- pods
- secrets
Expand All @@ -396,22 +377,11 @@ spec:
- ""
resources:
- deployments
- podtemplates
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- namespaces
- resourcequotas
verbs:
- create
- delete
- get
- list
- update
- watch
- apiGroups:
- ""
resources:
Expand All @@ -427,10 +397,13 @@ spec:
- apiGroups:
- ""
resources:
- podtemplates
- resourcequotas
verbs:
- create
- delete
- get
- list
- update
- watch
- apiGroups:
- apiextensions.k8s.io
Expand Down Expand Up @@ -471,22 +444,9 @@ spec:
resources:
- daemonsets
- deployments
- replicasets
- statefulsets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps
resources:
- deployments
- podtemplates
- replicasets
- statefulsets
verbs:
- create
- delete
Expand Down Expand Up @@ -526,21 +486,14 @@ spec:
resources:
- analysisruns
- analysisruns/finalizers
- analysistemplates
- clusteranalysistemplates
- experiments
- experiments/finalizers
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
- apiGroups:
- argoproj.io
resources:
- analysistemplates
- rollouts
- rollouts/finalizers
- rollouts/scale
- rollouts/status
verbs:
- create
- delete
Expand All @@ -558,6 +511,7 @@ spec:
- argocds
- argocds/finalizers
- argocds/status
- rolloutmanagers
verbs:
- create
- delete
Expand All @@ -566,38 +520,13 @@ spec:
- patch
- update
- watch
- apiGroups:
- argoproj.io
resources:
- clusteranalysistemplates
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
- apiGroups:
- argoproj.io
resources:
- notificationsconfigurations
- notificationsconfigurations/finalizers
verbs:
- '*'
- apiGroups:
- argoproj.io
resources:
- rolloutmanagers
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- argoproj.io
resources:
Expand All @@ -612,22 +541,6 @@ spec:
- get
- patch
- update
- apiGroups:
- argoproj.io
resources:
- rollouts
- rollouts/finalizers
- rollouts/scale
- rollouts/status
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
- apiGroups:
- autoscaling
resources:
Expand All @@ -653,18 +566,6 @@ spec:
- patch
- update
- watch
- apiGroups:
- batch
resources:
- jobs
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- config.openshift.io
resources:
Expand All @@ -688,17 +589,6 @@ spec:
- console.openshift.io
resources:
- consolelinks
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- console.openshift.io
resources:
- consoleplugins
verbs:
- create
Expand Down Expand Up @@ -735,6 +625,7 @@ spec:
- watch
- apiGroups:
- getambassador.io
- x.getambassador.io
resources:
- ambassadormappings
- mappings
Expand Down Expand Up @@ -770,17 +661,6 @@ spec:
- patch
- update
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- create
- get
- list
- patch
- update
- watch
- apiGroups:
- networking.k8s.io
resources:
Expand Down Expand Up @@ -821,17 +701,6 @@ spec:
- pipelines.openshift.io
resources:
- '*'
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- pipelines.openshift.io
resources:
- gitopsservices
verbs:
- create
Expand Down Expand Up @@ -859,20 +728,6 @@ spec:
- rbac.authorization.k8s.io
resources:
- '*'
verbs:
- bind
- create
- delete
- deletecollection
- escalate
- get
- list
- patch
- update
- watch
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterrolebindings
- clusterroles
verbs:
Expand Down Expand Up @@ -903,17 +758,6 @@ spec:
- route.openshift.io
resources:
- '*'
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- route.openshift.io
resources:
- routes
- routes/custom-host
verbs:
Expand Down Expand Up @@ -956,18 +800,6 @@ spec:
- get
- update
- watch
- apiGroups:
- x.getambassador.io
resources:
- ambassadormappings
- mappings
verbs:
- create
- delete
- get
- list
- update
- watch
- apiGroups:
- authentication.k8s.io
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.18.0
creationTimestamp: null
name: gitopsservices.pipelines.openshift.io
spec:
Expand Down
Loading