You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to adopt some resources in Kuberntes cluster, manaully created before. To do that, I create a git repository, set up deployment into Kubernetes using werf.
During the first execution of werf plan (or werf deploy) I get error message:
Error: plan release: process resources: error validating adoptable resources: adoption validation failed: resource "<resource kind>/<resource name>" is not adoptable: annotation "meta.helm.sh/release-name" not found, must be set to "<release name>", annotation "meta.helm.sh/release-namespace" not found, must be set to "<release namespace>"
To deploy these resources first time, I need manually add these annotations and label.
Solution (if you have one)
Add an option to automatically create the label and annotations, if they don't exist.
Additional information
No response
The text was updated successfully, but these errors were encountered:
Before proceeding
Problem
I want to adopt some resources in Kuberntes cluster, manaully created before. To do that, I create a git repository, set up deployment into Kubernetes using werf.
During the first execution of
werf plan
(orwerf deploy
) I get error message:Error: plan release: process resources: error validating adoptable resources: adoption validation failed: resource "<resource kind>/<resource name>" is not adoptable: annotation "meta.helm.sh/release-name" not found, must be set to "<release name>", annotation "meta.helm.sh/release-namespace" not found, must be set to "<release namespace>"
To deploy these resources first time, I need manually add these annotations and label.
Solution (if you have one)
Add an option to automatically create the label and annotations, if they don't exist.
Additional information
No response
The text was updated successfully, but these errors were encountered: