Making casing of annotations consistent

This commit is contained in:
jillianwilson
2021-04-07 17:18:23 -03:00
parent 990ac86297
commit 62ca0c25fd
6 changed files with 20 additions and 20 deletions

View File

@@ -8,12 +8,12 @@ import (
)
const (
OnepasswordPrefix = "onepasswordoperator"
OnepasswordPrefix = "operator.1password.io"
ItemPathAnnotation = OnepasswordPrefix + "/item-path"
NameAnnotation = OnepasswordPrefix + "/item-name"
VersionAnnotation = OnepasswordPrefix + "/item-version"
RestartAnnotation = OnepasswordPrefix + "/lastRestarted"
RestartDeploymentsAnnotation = OnepasswordPrefix + "/auto_restart"
RestartAnnotation = OnepasswordPrefix + "/last-restarted"
RestartDeploymentsAnnotation = OnepasswordPrefix + "/auto-restart"
)
func GetAnnotationsForDeployment(deployment *appsv1.Deployment, regex *regexp.Regexp) (map[string]string, bool) {