Skip to content

Commit ad4b776

Browse files
committed
remove references to gitops operator notifications controller
1 parent ac56fca commit ad4b776

File tree

3 files changed

+0
-91
lines changed

3 files changed

+0
-91
lines changed

charts/gitops-runtime/tests/external_argocd_test.yaml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -257,35 +257,6 @@ tests:
257257
name: ARGO_CD_URL
258258
value: my-argocd-server:80
259259

260-
- it: gitops-operator Deployment should have a valid --argocd-repo-server arg set in notifications container
261-
values:
262-
- ./values/mandatory-values-ingress.yaml
263-
- ./values/external-argocd-values.yaml
264-
template: gitops-operator.yaml
265-
documentSelector:
266-
path: kind
267-
value: Deployment
268-
asserts:
269-
- contains:
270-
path: spec.template.spec.containers[1].args
271-
content:
272-
--argocd-repo-server=my-argocd-repo-server:8081
273-
274-
- it: gitops-operator Deployment should have a valid image set in notifications container
275-
values:
276-
- ./values/mandatory-values-ingress.yaml
277-
- ./values/external-argocd-values.yaml
278-
template: gitops-operator.yaml
279-
documentSelector:
280-
path: kind
281-
value: Deployment
282-
set:
283-
global.external-argo-cd.server.image.tag: v1.2.3
284-
asserts:
285-
- equal:
286-
path: spec.template.spec.containers[1].image
287-
value: quay.io/argoproj/argocd:v1.2.3
288-
289260
- it: event-reporter ConfigMap should have valid ArgoCd URL
290261
template: event-reporter.yaml
291262
documentSelector:

charts/gitops-runtime/tests/gitops-controller-misc_test.yaml

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -274,30 +274,6 @@ tests:
274274
name: leader-election
275275
any: true
276276

277-
- it: argocd and workflows overrides for notifications controller
278-
template: gitops-operator.yaml
279-
documentSelector:
280-
path: kind
281-
value: Deployment
282-
values:
283-
- ./values/mandatory-values.yaml
284-
set:
285-
argo-cd.global.image:
286-
repository: "argocd/test"
287-
tag: "test"
288-
argo-cd.fullnameOverride: myargocd
289-
argo-cd.repoServer.service.port: 9080
290-
argo-workflows.enabled: true
291-
argo-workflows.fullnameOverride: argo-test
292-
argo-workflows.server.secure: false
293-
asserts:
294-
- equal:
295-
path: spec.template.spec.containers[1].image
296-
value: argocd/test:test
297-
- contains:
298-
path: spec.template.spec.containers[1].args
299-
content: --argocd-repo-server=myargocd-repo-server:9080
300-
301277
- it: argocd and workflows overrides for manager
302278
template: gitops-operator.yaml
303279
documentSelector:
@@ -324,35 +300,6 @@ tests:
324300
name: ARGO_CD_URL
325301
value: myargocd-server:80/some-path
326302

327-
- it: contains all resources for notifications controller
328-
template: gitops-operator.yaml
329-
values:
330-
- ./values/mandatory-values.yaml
331-
set:
332-
gitops-operator.argoCdNotifications.cm.name: "test-notifications-cm"
333-
gitops-operator.argoCdNotifications.secret.name: "test-notifications-secret"
334-
asserts:
335-
- containsDocument:
336-
kind: ConfigMap
337-
apiVersion: v1
338-
name: test-notifications-cm
339-
any: true
340-
- containsDocument:
341-
kind: Secret
342-
apiVersion: v1
343-
name: test-notifications-secret
344-
any: true
345-
- containsDocument:
346-
kind: ClusterRole
347-
apiVersion: rbac.authorization.k8s.io/v1
348-
name: codefresh-gitops-operator-notifications
349-
any: true
350-
- containsDocument:
351-
kind: ClusterRoleBinding
352-
apiVersion: rbac.authorization.k8s.io/v1
353-
name: codefresh-gitops-operator-notifications
354-
any: true
355-
356303
- it: uses explicit ARGO_CD_URL instead of value defined by argo-cd settings
357304
template: gitops-operator.yaml
358305
documentSelector:

charts/gitops-runtime/values.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -671,15 +671,6 @@ gitops-operator:
671671
annotations: {}
672672
name: "gitops-operator-controller-manager"
673673

674-
# -- Builtin notifications controller used by gitops-operator for promotion related notifications
675-
argoCdNotifications:
676-
# -- If set to true allows to override notifications image used by the gitops operator. When set to false the version of ArgoCD will be set to the version used for all other ArgoCD components.
677-
imageOverride: false
678-
# -- Set image.repository and image.tag notifications image used by the gitops operator. Ignored unless imageOverride is set to true.
679-
image: {}
680-
# -- Resources for notifications controller used by gitops-operator.
681-
resources: {}
682-
683674
imagePullSecrets: []
684675
nameOverride: ""
685676
fullnameOverride: ""

0 commit comments

Comments
 (0)