Registry alias for Helm upgrades #23351
Unanswered
mihaigalos
asked this question in
Request Help
Replies: 3 comments 1 reply
-
registry aliases is a top-level option, so don't use inside package rules |
Beta Was this translation helpful? Give feedback.
1 reply
-
I've found this comment from @rarkins:
Can you please confirm that this discussion is pertaining to the referenced issue? It looks like a feature request. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Tried this (single {
"packageRules": [
{
"matchDatasources": ["docker"],
"matchPackagePatterns": ["^ghcr\\.io/.+$"],
"replacementNameTemplate": "{{{replace 'ghcr\\.io/' 'docker.artifacts.company.com/' packageName}}}"
}
]
} Result: {
"deps": [
{
"depName": "ghcr.io/kyverno/policy-reporter-ui",
"currentValue": "1.7.2",
"datasource": "docker",
"replaceString": "1.7.2",
"versioning": "docker",
"autoReplaceStringTemplate": "{{newValue}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"updates": [],
"packageName": "ghcr.io/kyverno/policy-reporter-ui",
"warnings": [
{
"topic": "ghcr.io/kyverno/policy-reporter-ui",
"message": "Failed to look up docker package ghcr.io/kyverno/policy-reporter-ui"
}
]
}
],
"packageFile": "deployment/charts/policy-reporter/charts/ui/values.yaml"
}, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us what version of Renovate you run.
36.8.1
If you're self-hosting Renovate, select which platform you are using.
GitHub Enterprise Server
Was this something which used to work for you, and then stopped?
I never saw this working
Wanted end result.
We would like to automatically upgrade dependencies from upstream helm charts which contain fully-qualified image names.
From kyverno upstream chart, we expected the
ghcr.io
to be aliased to our internal container registry (Artifactory).What you tried so far.
We tried setting
registryAliases
like in the following:config.js
:renovate.json
:ci.yaml
:Relevant debug logs
Validation Logs
Run Logs
Beta Was this translation helpful? Give feedback.
All reactions