From 59d1c7e62f98827695ee24cdd8130b0ebe7856b9 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Sun, 28 Apr 2024 10:59:40 +0300 Subject: [PATCH] Add trace back to Git story Signed-off-by: Stefan Prodan --- rfcs/000X-flux-bootstrap-oci/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/rfcs/000X-flux-bootstrap-oci/README.md b/rfcs/000X-flux-bootstrap-oci/README.md index 7cefbd6a..19e4f194 100644 --- a/rfcs/000X-flux-bootstrap-oci/README.md +++ b/rfcs/000X-flux-bootstrap-oci/README.md @@ -349,6 +349,20 @@ flux create secret oci flux-system \ Another option is to rerun the bootstrap command with the new credentials. +#### Story 6 + +> As a platform operator I want to know the Git repository used to generate the OCI artifact +> where a Kubernetes Deployment running on the cluster belongs to. + +To determine the source of a Kubernetes object in-cluster, run: + +```shell +flux -n default trace deploy/podinfo +``` + +The trace command will display the OCI artifact URL, tag and digest along +with the Git repository URL, branch and commit. + ## Design Details The bootstrap feature will be implemented as a Go package under `fluxcd/flux2/pkg/bootstrap/oci`