Skip to content

Commit

Permalink
chore: updated example config
Browse files Browse the repository at this point in the history
Signed-off-by: leonsteinhaeuser <[email protected]>
  • Loading branch information
leonsteinhaeuser committed Oct 27, 2023
1 parent 9f6c4e0 commit 7b6c0ab
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,17 @@ module "example" {
self_heal = true
allow_empty = true
}
env_context_annotations = {
"argocd-image-updater.argoproj.io/image-list" = "xyz=tagesspiegel/xyz"
"argocd-image-updater.argoproj.io/xyz.update-strategy" = "latest"
"argocd-image-updater.argoproj.io/xyz.allow-tags" = <<EOT
{{- if eq $cluster "staging" }}
regex:v[0-9]{1,}.[0-9]{1,}.[0-9]{1,}-rc.[0-9]{1,}
{{- else if eq $cluster "production" }}
regex:v[0-9]{1,}.[0-9]{1,}.[0-9]{1,}
{{- else }}
develop
{{- end }}"
EOT
}
}

0 comments on commit 7b6c0ab

Please sign in to comment.