jenkins-x / issues

Issue tracker for Jenkins X v3
1 stars 0 forks source link

avoid modifying git when we annotate lighthouse/jx-slack #42

Closed jstrachan closed 3 years ago

jstrachan commented 3 years ago

we currently use this command to annotate deployments...

    jx gitops annotate --pod-spec --dir  $(OUTPUT_DIR)/namespaces --kind Deployment --selector git.jenkins-x.io/sha=annotate git.jenkins-x.io/sha=$(GIT_SHA)

though this creates unnecessary merge conflicts for promote PRs.

So lets avoid changing git for this and just do this annotation on the live k8s objects