settings field in the Repository spec contains configuration settings for the repository, including authorization policies, provider-specific configuration, and provenance settings.
Settings Fields
Configures how PipelineRun definitions are fetched.Options:
source- Fetch definitions from the event source branch/SHA (default)default_branch- Fetch definitions from the repository default branch
Lists repositories that can access the GitHub App token when using the GitHub App authentication method. This allows specific repositories to use tokens generated for the GitHub App installation, useful for cross-repository access.
Defines authorization policies for the repository, controlling who can trigger PipelineRuns under different conditions.
Provider-Specific Settings
GitHub Settings
GitHub-specific settings for repositories hosted on GitHub.
GitLab Settings
GitLab-specific settings for repositories hosted on GitLab.
Forgejo/Gitea Settings
Forgejo/Gitea-specific settings for repositories hosted on Forgejo or Gitea.
AI Analysis Settings
AI/LLM analysis configuration for automated CI/CD pipeline analysis.
Complete Example
Settings Inheritance
Settings can be defined at both the global level (in the ConfigMap) and the repository level (in the Repository CR). Repository-level settings override global settings when both are present.Related Resources
- Repository Spec - Complete Repository specification
- ConfigMap Reference - Global configuration settings