Skip to content

feat(cli): add step to install ArgoCD#219

Open
bachgg wants to merge 23 commits intomainfrom
bach/install-argocd
Open

feat(cli): add step to install ArgoCD#219
bachgg wants to merge 23 commits intomainfrom
bach/install-argocd

Conversation

@bachgg
Copy link

@bachgg bachgg commented Mar 6, 2026

  • oms beta install argocd to install ArgoCD helm chart with desired version, AppProject resources, secrets for ArgoCD to read manifests from git repo and helm registry
  • One can pass a chart version to --version and if not, the latest chart version is installed
  • Repo & registry secrets are passed into arguments
  • Bootstrap resources after helm install are taken from the charts repo

To manually test this PR:

  • make a kind cluster: kind create cluster
  • install: ./oms beta install argocd --dc-id 7 --git-password 00001112222 --registry-password 12345999
  • open ArgoCD UI according to command output
  • check git secret: kubectl get secrets/argocd-codesphere-repos-read -nargocd -ojson | jq -r ".data.password" | base64 -d
  • check registry secret: kubectl get secrets/argocd-codesphere-oci-read -nargocd -ojson | jq -r ".data.password" | base64 -d

@bachgg bachgg force-pushed the bach/install-argocd branch from 1e382ed to 3d013d4 Compare March 6, 2026 12:20
@bachgg bachgg requested review from NautiluX and dematteob March 6, 2026 12:52
}

// Install the ArgoCD chart
func (a *ArgoCD) Install() error {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function looks a bit complex, did you consider splitting it up?

}
}

func (a *ArgoCD) applyPostInstallResources() error {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

besides the local-cluster thing I think these should be optional

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants