Giter Club home page Giter Club logo

Comments (3)

merenbach avatar merenbach commented on May 18, 2024

@alexmt Where could I go to start understanding how to do the first subtask? What would this "persisting" consist ofโ€”just making available to the UI through an API?

from argo-cd.

alexmt avatar alexmt commented on May 18, 2024

@merenbach, right now we only need to show parameters to user. I would propose to store in Application CRD in AppStatus.RecentDeployment field:

// ApplicationStatus contains information about application status in target environment.
type ApplicationStatus struct {
	ComparisonResult ComparisonResult `json:"comparisonResult" protobuf:"bytes,1,opt,name=comparisonResult"`
// new field:
        RecentDeployment DeploymentInfo `json:"deploymentInfo" protobuf:"bytes,2,opt,name=deploymentInfo"`
}

RecentDeployment should be set in https://github.com/argoproj/argo-cd/blob/master/server/application/application.go#L117.

Parameters can be retrieved using ks param list --env <envNameHere>

from argo-cd.

merenbach avatar merenbach commented on May 18, 2024

This is being worked on in the https://github.com/merenbach/argo-cd/tree/recent-deployments branch. Ksonnet data retrieval is implemented, and the RPC retrieval should be there (untested so far). To finish fleshing out, need to determine proper data structure for storing DeploymentInfo.

from argo-cd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.