diff --git a/.gitlab/agents/gitlab-agent/config.yaml b/.gitlab/agents/gitlab-agent/config.yaml index 8b137891791fe96927ad78e64b0aad7bded08bdc..119161438ab18dd4a91bc7f355d45f7328bcd1bb 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