mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-26 01:15:00 +00:00
Add trace back to Git story
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
ae9f3128e8
commit
59d1c7e62f
1 changed files with 14 additions and 0 deletions
|
|
@ -349,6 +349,20 @@ flux create secret oci flux-system \
|
||||||
|
|
||||||
Another option is to rerun the bootstrap command with the new credentials.
|
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
|
## Design Details
|
||||||
|
|
||||||
The bootstrap feature will be implemented as a Go package under `fluxcd/flux2/pkg/bootstrap/oci`
|
The bootstrap feature will be implemented as a Go package under `fluxcd/flux2/pkg/bootstrap/oci`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue