Skip to content
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

Reduce duplicated contents #796

Merged
merged 7 commits into from
Dec 27, 2023
Merged

Reduce duplicated contents #796

merged 7 commits into from
Dec 27, 2023

Conversation

toshipp
Copy link
Contributor

@toshipp toshipp commented Dec 20, 2023

There are many duplicated contents, but they can be reduced by helm functionality.

@toshipp toshipp force-pushed the improve-test branch 7 times, most recently from 8ecf0c7 to a92893b Compare December 21, 2023 12:08
Previously, helm values files were prepared for each test, so the
contents were duplicated. Duplication was eliminated by dividing the
file by the required function.

Signed-off-by: Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp>
Signed-off-by: Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp>
kubernetes does not require specifying fsType in SC, we follow it in our
helm chart.

Signed-off-by: Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp>
kubernetes accepts the field in SC, we follow it.

Signed-off-by: Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp>
@toshipp toshipp force-pushed the improve-test branch 2 times, most recently from d64c8fc to f2a7a70 Compare December 22, 2023 08:40
Since TopoLVM uses its domain name for key names in StorageClass
parameter, it is nice to use directives.

Signed-off-by: Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp>
StorageClasses were defined in not only the helm values file but also
provisioner.yaml. To ease maintenability, put them all in the values
file.

Signed-off-by: Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp>
Now it has only VolumeSnapshotClass, rename it. Also dedup the legacy
variant by using sed.

Signed-off-by: Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp>
@toshipp toshipp changed the title Reduce duplicate contents Reduce duplicated contents Dec 22, 2023
@toshipp toshipp marked this pull request as ready for review December 22, 2023 10:08
@toshipp toshipp requested a review from a team as a code owner December 22, 2023 10:08
@toshipp toshipp requested review from daichimukai, satoru-takeuchi and peng225 and removed request for daichimukai December 22, 2023 10:08
@peng225 peng225 self-requested a review December 26, 2023 23:58
@satoru-takeuchi satoru-takeuchi merged commit c58ec84 into main Dec 27, 2023
25 checks passed
@satoru-takeuchi satoru-takeuchi deleted the improve-test branch December 27, 2023 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants