Updates
Phoebe uses Renovate to automatically propose updates for all dependencies. This includes Helm chart versions, container images, and GitHub Actions.
How Renovate Works
1. Automated Scanning
Renovate scans the repository for:
- Helm charts (via HelmRelease manifests)
- Container images (via Kubernetes deployments, pods, etc.)
- Flux OCI repositories (container-based Helm charts)
- GitHub Actions (in
.github/workflows/)
2. Pull Request Creation
When updates are available, Renovate:
- Creates a new branch with the update
- Opens a pull request with detailed changelog information
- Automatically merges if configured (via
:automergeBranch)
3. Flux Reconciliation
After merging:
- Flux detects the change in the Git repository
- HelmRelease or manifest changes are applied to the cluster
- New container images are pulled and deployed
Configuration
Renovate configuration is in .renovaterc.json5:
{
extends: [
"config:recommended",
"docker:enableMajor",
":automergeBranch", // Auto-merge to branch
":disableRateLimiting", // No rate limits
":dependencyDashboard", // Dashboard issue for tracking
],
}Custom Managers
Located in .renovate/customManagers.json5, these handle special update patterns like:
- Talos version updates
- Kubernetes version updates in Talos config
- Custom image references
Grouping
Updates are grouped to reduce PR noise (.renovate/groups.json5):
- Related dependencies are updated together
- Major version updates may be grouped separately
Update Types
Helm Chart Updates
Helm charts are defined in HelmRelease resources:
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: example
spec:
chartRef:
kind: OCIRepository
name: exampleRenovate updates the OCIRepository tag and Flux deploys the new version.
Container Image Updates
Container images in deployments are automatically detected and updated:
spec:
containers:
- name: app
image: ghcr.io/example/app:v1.2.3 # Renovate updates thisTalos and Kubernetes Versions
Version updates for Talos and Kubernetes are managed through:
talos/topf.yaml- Contains the Talos and Kubernetes version references- Custom Renovate managers detect and update these versions
Dashboard
Renovate maintains a Dependency Dashboard issue that shows:
- Pending updates
- Awaiting merge PRs
- Ignored updates
- Update history
Manual Updates
To manually trigger a Renovate run:
- Go to the Renovate Dashboard issue
- Check the "Rebase/retry this update" checkbox for specific PRs
- Or wait for the next scheduled run
Best Practices
- Review breaking changes - Check changelogs in PRs before merging
- Monitor after merge - Ensure Flux successfully reconciles
- Use the dashboard - Track pending updates and ignored items
- Group wisely - Related updates should deploy together
Troubleshooting
Update Not Appearing
- Check if the dependency is in
.renovaterc.json5ignorePaths - Verify the dependency manager is enabled
- Check the Dependency Dashboard for status
Failed Deployments After Update
- Check HelmRelease status:
kubectl get hr -A - View Flux logs:
kubectl logs -n flux-system deployment/helm-controller - Rollback by reverting the PR if needed