summaryrefslogtreecommitdiff
path: root/pkg/common
diff options
context:
space:
mode:
authorjannfis <jann@mistrust.net>2020-08-04 19:45:46 +0200
committerjannfis <jann@mistrust.net>2020-08-04 19:45:46 +0200
commitbb184543e516f17c5801242645b5d77d0244c538 (patch)
tree79913d38a3f4566a4547d0923452a625518437c3 /pkg/common
Initial commit
Diffstat (limited to 'pkg/common')
-rw-r--r--pkg/common/constants.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/common/constants.go b/pkg/common/constants.go
new file mode 100644
index 0000000..9488be5
--- /dev/null
+++ b/pkg/common/constants.go
@@ -0,0 +1,14 @@
+package common
+
+// This file contains a list of constants required by other packages
+
+// The annotation on the application resources to indicate the list of images
+// allowed for updates.
+const ImageUpdaterAnnotation = "argocd-image-updater.argoproj.io/image-list"
+
+const HelmParamImageNameAnnotation = "argocd-image-update.argoproj.io/%s.image-name"
+const HelmParamImageTagAnnotation = "argocd-image-update.argoproj.io/%s.image-tag"
+const HelmParamImageSpecAnnotation = "argocd-image-update.argoproj.io/%s.image-spec"
+
+// gcr.io=secret:argocd/mysecret,docker.io=env:FOOBAR
+const SecretListAnnotation = "argocd-image-updater.argoproj.io/pullsecrets"