# oblt-updatecli-policies
**Repository Path**: mirrors_elastic/oblt-updatecli-policies
## Basic Information
- **Project Name**: oblt-updatecli-policies
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-10-03
- **Last Updated**: 2025-12-07
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# oblt-updatecli-policies
This repository contains a list of common Updatecli published on `ghcr.io/elastic/oblt-updatecli-policies/**`.
**NOTE**: Used some bits and pieces from https://github.com/updatecli/policies
## Contributing
See the [contributing documentation](CONTRIBUTING.md).
## HOWTO
**Login**
Even though all Updatecli policies published on `ghcr.io` are meant to be public, you'll probably need to authenticate to reduce rate limiting by running:
docker login ghcr.io
**Publish**
Each policy defined in this repository is automatically published on [ghcr.io](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry) via a GitHub Action workflow.
**Show**
We can see the content of the policy by running:
updatecli manifest show ghcr.io/elastic/oblt-updatecli-policies/:latest
**Use**
There are two ways to execute an Updatecli policy, either running one policy or several policies at once.
One policy can be executed by running:
updatecli apply --config ghcr.io/elastic/oblt-updatecli-policies/:latest
**IMPORTANT**: Any values files specified at runtime will override the default values setting from the policy bundle.
Assuming we have a file named `update-compose.yaml`, multiple policies can be composed and executed by running:
updatecli compose apply
.update-compose.yaml
```yaml
policies:
- policy: "ghcr.io/elastic/oblt-updatecli-policies/golang:latest"
```
More information about Updatecli compose feature can be found [here](https://www.updatecli.io/docs/core/compose).
**Enrol a new Repository**
If you want to use the Observability Updatecli policies in a new GitHub repository, you need to
grant `read` access to the specific policy, this is a private GitHub repository hence a private
`ghcr.io`. Those steps are explained in the official [docs](https://docs.github.com/en/packages/learn-github-packages/configuring-a-packages-access-control-and-visibility#ensuring-workflow-access-to-your-package).