Skip to content

Unable to install pull integration for pre-existing ArgoCD installation #125

@alexoughton

Description

@alexoughton

Describe the bug
The current helm chart will always attempt to install a namespace for ArgoCD, and then use a CR to install ArgoCD itself. This does not support using the integration with a pre-existing ArgoCD, such as the one we use in our environment which is installed by Terraform.

To Reproduce
Steps to reproduce the behavior:

  1. Install ArgoCD
  2. Run helm install argocd-agent-addon ocm/argocd-agent-addon (or do helm install by Terraform, in our case)
  3. Receive errors that the namespace resource already exists, and that helm does not own it.

Working-around the helm ownership error by adding labels/annotations to the argocd namespace allows installation to complete, but with newly-installed argocd components which are not desired.

Expected behavior
We wish to be able to install this integration and have it work against ArgoCD which has already been installed on the hub, and already installed spokes. The integration (or its helm chart) should not expect to own/managed ArgoCD itself.

Environment ie: Kubernetes version:
In our case, k8s 1.23 on EKS. This should apply to any k8s version.

Additional context
As discussed with @mikeshng on Slack.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions