Patterns are always relative so start them with a file or folder name. eg: my and **.
Directory separators should be forward slashes / for all platforms. Backslashes \ only work when the server and worker are running on Windows.
Glob patterns cannot contain folders stemming from a root directory. eg: / and C
Glob patterns cannot start with a relative path indicator. eg: . and .
The directory traversal path . is not supported.
? matches any single character in a file or directory name:
Text
deployments/resource-?.yaml => deployments/resource-1.yaml, deployments/resource-g.yaml* matches zero or more characters in a file or directory name:
Text
deployments/*.yaml => deployments/anything-here.yaml, deployments/123-another-file.yaml
*/resource.yaml => deployments/resource.yaml, services/resource.yaml** matches zero or more recursive directories:
Text
**/resource.yaml => deployments/resource.yaml, services/resource.yaml, deployments/child-folder/resource.yamlHelp us continuously improve
Please let us know if you have any feedback about this page.
Page updated on Tuesday, March 25, 2025