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

feat(kuma-cp) Fault Injection entity #643

Merged
merged 11 commits into from
Mar 27, 2020
Merged

Conversation

lobkovilya
Copy link
Contributor

Summary

Add FaultInjection entity

Full changelog

  • Add *.proto
  • Add CRD
  • Add to API
  • Add support to kumactl

@lobkovilya lobkovilya requested a review from a team March 24, 2020 16:32
Copy link
Contributor

@jakubdyszkiewicz jakubdyszkiewicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also add the test case to k8s global_type_registry_test.go

api/mesh/v1alpha1/fault_injection.proto Show resolved Hide resolved
api/mesh/v1alpha1/fault_injection.pb.validate.go Outdated Show resolved Hide resolved
@@ -93,7 +93,7 @@ var _ = Describe("kumactl install control-plane", func() {
// then
Expect(actual).To(MatchYAML(expected))
// and
actualManifests := data.SplitYAML(data.File{Data: expected})
actualManifests := data.SplitYAML(data.File{Data: actual})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! I was having problems with this last time I edited the install script and was wondering what is going on.

@jakubdyszkiewicz
Copy link
Contributor

don't forget about Kuma GUI but this comes with a separate PR. You can ask @bloqhead for help if needed.

@subnetmarco
Copy link
Contributor

subnetmarco commented Mar 24, 2020

Please remember to also write documentation for this on https://github.com/Kong/kuma-website, and update the CHANGELOG.md.

api/mesh/v1alpha1/fault_injection.proto Show resolved Hide resolved
api/mesh/v1alpha1/fault_injection.proto Outdated Show resolved Hide resolved
api/mesh/v1alpha1/fault_injection.proto Outdated Show resolved Hide resolved
api/mesh/v1alpha1/fault_injection.proto Outdated Show resolved Hide resolved
api/mesh/v1alpha1/fault_injection.proto Outdated Show resolved Hide resolved
api/mesh/v1alpha1/fault_injection.proto Outdated Show resolved Hide resolved
api/mesh/v1alpha1/fault_injection.proto Outdated Show resolved Hide resolved
api/mesh/v1alpha1/fault_injection.proto Outdated Show resolved Hide resolved
api/mesh/v1alpha1/fault_injection.proto Show resolved Hide resolved
api/mesh/v1alpha1/fault_injection.proto Outdated Show resolved Hide resolved
Copy link
Contributor

@jakubdyszkiewicz jakubdyszkiewicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more thing to do in validators and we are good to go

api/mesh/v1alpha1/fault_injection.proto Outdated Show resolved Hide resolved
pkg/core/resources/apis/mesh/fault_injection_validator.go Outdated Show resolved Hide resolved
pkg/core/resources/apis/mesh/fault_injection_validator.go Outdated Show resolved Hide resolved
@lobkovilya lobkovilya merged commit 34eaffe into master Mar 27, 2020
@devadvocado devadvocado deleted the feat/fault-injection-api branch March 30, 2020 13:16
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.

None yet

3 participants