Skip to content

Fix the sidecar can't work as expected and replace the kind version with v0.19.0#1438

Merged
sighingnow merged 1 commit intov6d-io:mainfrom
dashanji:fix-sidecar
Jun 29, 2023
Merged

Fix the sidecar can't work as expected and replace the kind version with v0.19.0#1438
sighingnow merged 1 commit intov6d-io:mainfrom
dashanji:fix-sidecar

Conversation

@dashanji
Copy link
Member

@dashanji dashanji commented Jun 28, 2023

What do these changes do?

  • Fix the bug the sidecar template is not injected into the workload yaml.
  • Fix the bug the workload yaml can't contains the special character like '/' during sidecar injection.
  • Add the ownerReferences to the Sidecar CR so that all injected resources will be deleted after deleting the workload.
  • Add a test case for testing the vineyard sidecar via kubectl.
  • Replace the kind version with v0.19.0 rather than v0.20.0.

Related issue number

Related to #1355

@dashanji dashanji requested a review from sighingnow June 28, 2023 13:50
@sighingnow
Copy link
Member

Hi @dashanji,

Could you please

  1. add a more detailed description of this pull request, and
  2. if needed, add a regression test cases to prevent such a bug happen again?

@dashanji dashanji changed the title Fix the sidecar can't work as expected Fix the sidecar can't work as expected and replace the kind version with v0.19.0 Jun 29, 2023
@dashanji dashanji force-pushed the fix-sidecar branch 2 times, most recently from cb11481 to 176ad46 Compare June 29, 2023 07:04
* Fix the bug the sidecar template is not injected into the workload yaml.
* Fix the bug the workload yaml can't contains the special character like '/' during sidecar injection.
* Add the ownerReferences to the Sidecar CR so that all injected resources will be deleted after deleting the workload.
* Add a test case for testing the vineyard sidecar via kubectl.
* Replace the kind version with v0.19.0 rather than v0.20.0.
* Support to set the required job annotation as null string.

Signed-off-by: Ye Cao <caoye.cao@alibaba-inc.com>
@sighingnow sighingnow merged commit 62a14ef into v6d-io:main Jun 29, 2023
@dashanji dashanji deleted the fix-sidecar branch June 30, 2023 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants