tkn pac info command provides information about your Pipelines as Code installation and includes utilities for testing configuration.
Subcommands
tkn pac info install
Shows installation information for Pipelines as Code, including controller status and GitHub App configuration (if using GitHub App authentication).Usage
Flags
Namespace where Pipelines as Code is installed
Path to kubeconfig file (defaults to
~/.kube/config)Output
The command displays:- Controller status: Running/stopped state of PAC components
- Version: Installed PAC version
- ConfigMap settings: Key configuration values
- GitHub App info: App ID, webhook URL, and installation details (if applicable)
Examples
Check default installation:tkn pac info globbing
Tests glob pattern expressions used in PipelineRun annotations likeon-path-change and on-path-change-ignore.
Usage
Arguments
PATTERN- Glob pattern to test (e.g.,src/**/*.go)FILE- One or more file paths to match against the pattern
Examples
Test a single file pattern:Use Cases
Validate path patterns
Test
on-path-change patterns before adding them to PipelineRunsDebug file matching
Understand why pipelines aren’t triggering for certain file changes
Test ignore patterns
Verify
on-path-change-ignore patterns work as expectedComplex globs
Test advanced glob patterns with multiple wildcards
Common Patterns
Glob Pattern Examples
Integration with PipelineRuns
Test the same patterns you’ll use in your PipelineRun annotations:Troubleshooting
Connection refused error
Connection refused error
Verify your kubeconfig is correct and the cluster is accessible:If the namespace doesn’t exist, PAC may not be installed.
GitHub App info not showing
GitHub App info not showing
GitHub App information only appears if:
- You’re using GitHub App authentication (not webhook)
- You have admin access to the namespace
- The PAC controller ConfigMap contains GitHub App settings
Glob pattern not matching as expected
Glob pattern not matching as expected
Remember that glob patterns are:
- Case-sensitive on most systems
- Slash-sensitive:
*doesn’t match/ - Prefix matching: Use
**/to match subdirectories
See Also
- Installation Overview - Installing Pipelines as Code
- Event Matching - Using glob patterns in annotations
- Configuration - ConfigMap settings