Skip to content
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

Argo CD integration request #63

Closed
LinuxSuRen opened this issue Jul 19, 2021 · 5 comments
Closed

Argo CD integration request #63

LinuxSuRen opened this issue Jul 19, 2021 · 5 comments
Assignees
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Milestone

Comments

@LinuxSuRen
Copy link
Member

LinuxSuRen commented Jul 19, 2021

Currently, the KubeSphere community provides a CD solution that takes advantage of kubernetes-cd-plugin. But this plugin is out-of-date and lacks maintenance. So I highly don't recommend you continue to use it.

We're looking forward to a better CD solution.

I don't have enough information for this. But Argo CD is a very popular GitOps project. Please contact us, if there's anyone who wants to help with this.

/help
/stage alpha

@ks-ci-bot
Copy link
Collaborator

@LinuxSuRen:
This request has been marked as needing help from a contributor.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help command.

In response to this:

Currently, I don't have enough information for this. But Argo CD is a very popular GitOps project. Please contact us, if there's anyone who wants to help with this.

/help
/stage alpha

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ks-ci-bot ks-ci-bot added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Jul 19, 2021
@LinuxSuRen LinuxSuRen added this to the Backlog milestone Nov 10, 2021
@JohnNiang JohnNiang modified the milestones: Backlog, v3.3 Jan 12, 2022
@LinuxSuRen LinuxSuRen self-assigned this Jan 25, 2022
@LinuxSuRen
Copy link
Member Author

We can expand the devopsproject with the project of Argo CD.

apiVersion: devops.kubesphere.io/v1alpha4
kind: devopsproject
spec:
  kind: argo-project
  resource:
    apiVersion: argoproj.io/v1alpha1
    kind: appproject
    spec:
      xxx: xx

Application sample:

apiVersion: devops.kubesphere.io/v1alpha1
kind: Application
metadata:
  name: xxx
spec:
    kind: argocd-app|fluxcd|argocd-appset|argocd-app-patch
    source:
      repoURL: https://xx
      path: "/"
      targetRevision: ""
    destination:
      server: xxx
      namespace: xxx
      name: xx
    syncPolicy:
      automated:
        prune: true
        allowEmpty: true
    resource:
      apiVersion: argoproj.io/v1alpha1
      kind: ApplicationSet
      metadata:
        name: ks-devops-appset
        namespace: argocd
      spec:
        generators:

@LinuxSuRen
Copy link
Member Author

LinuxSuRen commented Feb 16, 2022

We might be able to have a UI design this week.

@LinuxSuRen
Copy link
Member Author

Let's assume there are two environments: int and prod, and one project ks-releaser.

Use cases:

  • Once a PR got merged, deploy the latest development version to the int environment
    • In this case, we can add a stage at the end of the pipeline. Change the image tag or digest from the ks-infra. We can commit and push it directly, or just file a PR for it.
  • Once a release was created, deploy the latest release version to the prod environment
    • In this case, we can add a stage as well. Or, change the repo ks-infra manually.

@LinuxSuRen
Copy link
Member Author

We might have some potential known issues which come from the upstream project Argo CD. See also #553

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Projects
None yet
Development

No branches or pull requests

3 participants