From 3b4ebffdef67c82d2400693de829ccf039b0ac9f Mon Sep 17 00:00:00 2001 From: Helmut Hutzler <helmut.hutzler@th-nuernberg.de> Date: Wed, 7 Sep 2022 14:42:58 +0000 Subject: [PATCH] Update .gitlab/agents/gitlab-agent/config.yaml --- .gitlab/agents/gitlab-agent/config.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.gitlab/agents/gitlab-agent/config.yaml b/.gitlab/agents/gitlab-agent/config.yaml index 8b13789..1191614 100644 --- a/.gitlab/agents/gitlab-agent/config.yaml +++ b/.gitlab/agents/gitlab-agent/config.yaml @@ -1 +1,17 @@ - +gitops: + manifest_projects: + - id: HutzlerHe/angular-oidc-authorization-sample + default_namespace: my-ns + paths: + # Read all YAML files from this directory. + - glob: '/team1/app1/*.yaml' + # Read all .yaml files from team2/apps and all subdirectories. + - glob: '/team2/apps/**/*.yaml' + # If 'paths' is not specified or is an empty list, the configuration below is used. + - glob: '/**/*.{yaml,yml,json}' + reconcile_timeout: 3600s + dry_run_strategy: none + prune: true + prune_timeout: 3600s + prune_propagation_policy: foreground + inventory_policy: must_match -- GitLab