diff --git a/examples/.terraform.lock.hcl b/examples/.terraform.lock.hcl index b69ecd6..e53bfa2 100644 --- a/examples/.terraform.lock.hcl +++ b/examples/.terraform.lock.hcl @@ -2,18 +2,18 @@ # Manual edits may be lost in future updates. provider "registry.terraform.io/oboukili/argocd" { - version = "6.0.3" - constraints = "6.0.3" + version = "6.1.1" + constraints = "6.1.1" hashes = [ - "h1:RDd6Xx9cB6KTHRnXEaaXPvA5QjrNV414sgdqk9yrFMA=", - "zh:45609fb6167e6e54b076e80309d3319b8673b559504d277bbffcab4fde8225b0", - "zh:5e012a689df68fcac4292937a8fa8c701b2ff0d64b558d727b32f051e8e34171", - "zh:647a84ceb10650381d1dfe0d73ff389a0325d5077fafb049a67a705af621341c", - "zh:6ae3986c1554b3ff408d70aef1d7ae45126b912d0e1bddc2b26b1dde833d40c0", - "zh:a11dc01833e609e0e45a8984723ab400d394d3d0b3166dc418e6226715125e44", - "zh:a471c8db6fb91075040d41248a230cebe67e6f30f5a068b48ea2973deae82575", - "zh:a7d9c5b6bebe64a37549d477cb33283068023e09832778e16c3f6503c90779a8", - "zh:b09abfb0233d9e3e4fcef505ddbd19fffbd1a54d17b5cbe10e2ca47d46228ed6", - "zh:b470c2c7e1cbcff772f483a5341470ff2451d92ea9fbfbba7f63ec04aa7e65f8", + "h1:s5VE4XHfWev3AwUK21IEKfyF1uOPCkfluNAUhe3Xm6s=", + "zh:0eeb24ae36d29296e0e4fd0bbaa90bbbb051d6894e1920fe960cb73bf60d68b4", + "zh:4b842983692ff7bc2c40c74feccb902718c59f536fc376ab4d646178ef325b0e", + "zh:576640a6cbba7dfd20ac5399c47b2eb0d25a42c6aa23cf1c00ceb2bc32873a46", + "zh:76a5a1f0c5d2c4b97f51211c14f2abe3bb9ef7e855d44501bf7f661fab31dd55", + "zh:797c14187b2afad3d12a071c002a3ba20366777cecab2e3664cb7cb160658563", + "zh:9f1bb4ee552bc027a54ff99f68b867f76e0567761fe3703d9b7606464ad74276", + "zh:bec504dd356e9b15be2a737a54bdeaebab11c0c23b50d3fc22d01f8d3a4de086", + "zh:c89d3d174b7ef463b0c79e6d5f691a63c9a71973e3e460b8f319e9d6672f15b3", + "zh:d0b410bf208fdb818897109543de7ebcafe479b8de5e7af05a8b0cd5449b4edf", ] } diff --git a/examples/main.tf b/examples/main.tf index d6a8ac5..807a893 100644 --- a/examples/main.tf +++ b/examples/main.tf @@ -48,3 +48,55 @@ develop EOT } } + +module "example_system" { + source = "../" + + name = "example-system" + project_name = "example-system" + generator = { + git = { + repo_url = "https://github.com/urbanmedia/example-deployment.git" + revision = "main" + files = [ + "argo/*/*/example-system.yaml" + ] + } + } + target_namespace_overwrite = "example-system" + manifest_source = { + helm = { + chart = "example-system" + release_name = "example-system" + repo_url = "ghcr.io/urbanmedia/example-deployment" + target_revision = "1.1.16" + } + } + generator_segment_index_overwrite = 1 + application_name_suffix = null + annotations = { + "argocd.argoproj.io/sync-wave" = "2", + } + sync_options = [ + "Validate=false", + "ApplyOutOfSyncOnly=true", + ] + sync_policy = { + prune = true + 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" = <