summaryrefslogtreecommitdiff
path: root/pkg/common
diff options
context:
space:
mode:
authorFlorin Hillebrand <flozzone@gmail.com>2023-08-15 17:09:25 +0200
committerGitHub <noreply@github.com>2023-08-15 11:09:25 -0400
commit202f6bf966566f8a7f9186dced962e517ceb4a3f (patch)
tree3190fe28eb126ca591d3b85b222066cb85ce1596 /pkg/common
parent31484fcaf05cc6033defcc14af391501f4d5699c (diff)
feat: Add possibility to specify write-back GIT repository as annotation (#424)
* Add possibility to specify write-back GIT repository as annotation. Signed-off-by: flozzone <flozzone@gmail.com> * Update golangci-lint to 1.52.2. Signed-off-by: flozzone <flozzone@gmail.com> * Replace deprecated golangci linters with 'unused' linter. Signed-off-by: flozzone <flozzone@gmail.com> * Fix Goimport issues. Signed-off-by: flozzone <flozzone@gmail.com> --------- Signed-off-by: flozzone <flozzone@gmail.com>
Diffstat (limited to 'pkg/common')
-rw-r--r--pkg/common/constants.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/common/constants.go b/pkg/common/constants.go
index 527b200..5abf6da 100644
--- a/pkg/common/constants.go
+++ b/pkg/common/constants.go
@@ -50,6 +50,7 @@ const (
const (
WriteBackMethodAnnotation = ImageUpdaterAnnotationPrefix + "/write-back-method"
GitBranchAnnotation = ImageUpdaterAnnotationPrefix + "/git-branch"
+ GitRepositoryAnnotation = ImageUpdaterAnnotationPrefix + "/git-repository"
WriteBackTargetAnnotation = ImageUpdaterAnnotationPrefix + "/write-back-target"
KustomizationPrefix = "kustomization"
)