Issue:
GitOps is omitting files in a non-default branch even though the branch is listed in the cortex-properties.yaml file and the corresponding YAML file is placed correctly in the repository. The cortex-properties.yaml file is also present in the root of the main branch, but the changes are still not being picked up.
Explanation:
Processing of cortex-properties.yaml files is controlled by the Process Cortex Properties toggle inside GitOps settings. If this setting is disabled, Cortex will not evaluate or apply the configuration inside the cortex-properties.yaml file, even if the file is correctly placed in the main branch and referenced properly. As a result, GitOps will skip files or branches listed in the file.
Solution:
Enable the Process Cortex Properties toggle so Cortex can process the cortex-properties.yaml file.
After enabling, make a minor commit to the YAML in the non-default branch to trigger reprocessing and ensure GitOps picks up the previously omitted file.
Additional Troubleshooting:
Verify that the
cortex-properties.yamlfile is located in the root of the main branchVerify the correct branch(es) is listed in the
cortex-properties.yamlVerify the corresponding yaml is placed in the correct filepath
Resources: