-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude backingStore.etcd's image from getting populated when disabled #2411
Open
ApsTomar
wants to merge
1
commit into
loft-sh:v0.20
Choose a base branch
from
infracloudio:issue-2398-fix-helm-values
base: v0.20
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you still need to set the image when the etcd deployment is enabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With these changes, the behaviour is now consistent with the latest vcluster (v0.22) when
etcd.Deploy
is enabled. But I understand the concern, I will check again to be sure and update with more details.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lizardruss I have checked and verified about the scenario that you mentioned-
when etcd deployment is enabled
- in that case it's going to take the default image value present in default values.yaml, as expected.The reason being, we first get the default helm values (as mentioned above), then we read the values.yaml file provided by the user and merge override only those values which are supplied by the user to create the vcluster config. So,
etcd.Deploy
will be set to true and the image value will be used from default values.Below are the test artifacts supporting the above-mentioned facts-
Here is the values.yaml file (vc20.yaml) which sets
![image](https://private-user-images.githubusercontent.com/29798017/407737722-482782ff-e2a0-458b-ad90-56ce477c39de.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzUxNDEsIm5iZiI6MTczOTE3NDg0MSwicGF0aCI6Ii8yOTc5ODAxNy80MDc3Mzc3MjItNDgyNzgyZmYtZTJhMC00NThiLWFkOTAtNTZjZTQ3N2MzOWRlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA4MDcyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkzYzQ2ZjQ5YmFhMDYyYjkzZGIyNWUyNGMwNjhlOTNiNmY2NmVjZmI5MzJkNzhlMTA0NTU1NjlhYTk0MjdkYmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.nZvGG4BUmDgZatuAbg0axS09F-BVz-8vPcBBIC9yGvc)
etcd.Deploy.Enabled = true
and the etcd pod with the expected image version3.5.13
:Here is the result of
![image](https://private-user-images.githubusercontent.com/29798017/407738097-da489434-4aa0-4990-be36-28a301dcce6e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzUxNDEsIm5iZiI6MTczOTE3NDg0MSwicGF0aCI6Ii8yOTc5ODAxNy80MDc3MzgwOTctZGE0ODk0MzQtNGFhMC00OTkwLWJlMzYtMjhhMzAxZGNjZTZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA4MDcyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk0NTMxODE2YmE0MjhiMjc5YjhmMzk3ZWQ5NzE2MjlkYjJhMDlhYzQ3MmY5OTIwNzYwOGJlMTczMWYyNzAxODImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.-8Tcdt6vdcnV45Ijru9j27br1Wh0Rimr0yLiLxUMThY)
helm get values
command: