refactor: improve Velero server deployment retrieval and handling#9746
refactor: improve Velero server deployment retrieval and handling#9746priyansh17 wants to merge 3 commits intovelero-io:mainfrom
Conversation
Signed-off-by: Priyansh Choudhary <im1706@gmail.com>
27a98cf to
edb5b3f
Compare
edb5b3f to
27a98cf
Compare
Signed-off-by: Priyansh Choudhary <im1706@gmail.com>
27a98cf to
104d36e
Compare
|
This way customers only have to add install.Labels() in their own deployment files and it can pick up Velero container from it. |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
See comments #9745 (comment), I believe this is a known behavior and if we need to fill this gap, we need a system wide treatment, only one the current code changes. But before that, let's evaluate the requirement first. |
Hello, I meant we should generalize this behavior so it works for velero as well as others adapting it. Example Deployment: |
In this case, is having Velero instances in different namespace enough? Or why do you have to rename the modules of the Velero instances? |
We also have a dependency to add a fluent-bit container with velero in same deployment to move logs to our custom databases. as the image is being used in a new field now which didn't exist before: Changed here: Now in our case as name was different it failed to identify the deployment and failed going into PartiallyFailed state at the beginning. |
Then I understand why |
I had to make that change because it finds the container in the deployment specified. |
This assumes that Velero supports to customize its modules' name, but it actually doesn't. |
Yes I agree but that's what I intend to achieve here. With this we would be able to support customization. |
This is my suggestion:
|
refactor: improve Velero server deployment retrieval and handling
Signed-off-by: Priyansh Choudhary im1706@gmail.com
Thank you for contributing to Velero!
Please add a summary of your change
Describer in #9745
Does your change fix a particular issue?
Fixes #(issue)
#9745
Please indicate you've done the following:
make new-changelog) or comment/kind changelog-not-requiredon this PR.site/content/docs/main.