Skip to content

[Feature][ArgoCD Plugin] Parse ArgoCD metadata for docker image #8630

@ppapp92

Description

@ppapp92

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Use case

As DevOps Engineer I want to be able to write a blueprint that can correlate the Git Hash with the Docker Tag of an image that gets deployed by ArgoCD.

Description

Currently we have a GitLab pipeline that builds our Docker Images. However we use a different repo for the Helm Chart which ArgoCD uses to deploy the application. With the current configuration DevLake can't correlate the build and the deployment because they happen in different repos with different commit SHAs.

The idea with the change is that the image tags are the build SHA in our setup. So if query-able I could use the image tag and the commit hash to match the build and deployment.

The metadata is already ingested by the plugin under the data column in the _raw_argocd_api_sync_operations table. However it doesn't get processed into the _tool_argocd_sync_operations table and therefore can't be queried by the Blueprint.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    add-a-pluginThis issue is to add a plugincomponent/pluginsThis issue or PR relates to pluginspriority/mediumThis issue is medium importanttype/feature-requestThis issue is a proposal for something new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions