mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
* docs(proposal): manifest hydrator Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * whitespace Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * whitespace Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * remove old references to drySources as an array Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * rename fields Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * opinions Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * document limitations Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * updates Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * updates Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * multi-source is nondeterministic Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * Update docs/proposals/manifest-hydrator/commit-server/README.md Co-authored-by: joe miller <joeym@joeym.net> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> --------- Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: joe miller <joeym@joeym.net>
1.6 KiB
1.6 KiB
Commit Server
The Argo CD Commit Server provides push access to git repositories for hydrated manifests.
The server exposes a gRPC service which accepts requests to push hydrated manifests to a git repository. This is the interface:
// CommitManifests represents the caller's request for some Kubernetes manifests to be pushed to a git repository.
message CommitManifests {
// repoURL is the URL of the repo we're pushing to. HTTPS or SSH URLs are acceptable.
required string repoURL = 1;
// targetBranch is the name of the branch we're pushing to.
required string targetBranch = 2;
// drySHA is the full SHA256 hash of the "dry commit" from which the manifests were hydrated.
required string drySHA = 3;
// commitAuthor is the name of the author of the dry commit.
required string commitAuthor = 4;
// commitMessage is the short commit message from the dry commit.
required string commitMessage = 5;
// commitTime is the dry commit timestamp.
required string commitTime = 6;
// details holds the information about the actual hydrated manifests.
repeated CommitPathDetails details = 7;
}
// CommitManifestDetails represents the details about a
message CommitPathDetails {
// path is the path to the directory to which these manifests should be written.
required string path = 1;
// manifests is a list of JSON documents representing the Kubernetes manifests.
repeated string manifests = 2;
// readme is a string which will be written to a README.md alongside the manifest.yaml.
required string readme = 3;
}
message CommitManifestsResponse {
}