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

Add support for PartitionExports #802

Merged
merged 3 commits into from
Oct 27, 2021
Merged

Add support for PartitionExports #802

merged 3 commits into from
Oct 27, 2021

Conversation

thisisnotashwin
Copy link
Contributor

Changes proposed in this PR:

  • Add support for ServiceExports CRD
  • This PR does not include acceptance tests. The desired acceptance tests will be determined based on the expected behavior of ServiceExports when partitions are disabled.
  • Similarly, controller tests have not been added as our existing controller tests only account for namespace. The behavior with partitions has not been resolved.

How I've tested this PR:

  • Unit tests

How I expect reviewers to test this PR:

  • Code Review

The behavior of ServiceExports can be tested once changes are made to the mesh gateway to support Cross Partitions communication.
A follow-up PR will contain a refactor to the ConfigEntry interface which should simplify testing validation behavior when partitions are enabled/disabled.
Once the behavior of Consul OSS has been determined wrt to ServiceExports, Acceptance tests and controller tests will be updated with the tests to comprehensively test the ServiceExport CRD.

Checklist:

  • Tests added
  • CHANGELOG entry added

    HashiCorp engineers only, community PRs should not add a changelog entry.
    Entries should use present tense (e.g. Add support for...)

- This PR does not include acceptance tests. The desired acceptance
  tests will be determined based on the expected behavior of
ServiceExports when partitions are disabled.

- Similarly, controller tests have not been added as our existing
  controller tests only account for namespace. The behavior with
partitions has not been resolved.
@thisisnotashwin thisisnotashwin requested review from ndhanushkodi, a team and ishustava and removed request for a team October 21, 2021 18:25
@thisisnotashwin thisisnotashwin marked this pull request as draft October 25, 2021 20:30
@thisisnotashwin thisisnotashwin marked this pull request as ready for review October 26, 2021 15:23
Copy link
Contributor

@ndhanushkodi ndhanushkodi left a comment

Choose a reason for hiding this comment

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

looks great, ashwin!! just had a few questions

Copy link
Contributor

@ndhanushkodi ndhanushkodi left a comment

Choose a reason for hiding this comment

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

🚢

@ndhanushkodi
Copy link
Contributor

Just in case it wasn't already on your radar -- Could you also just change the PR title/commit message when merging?

@thisisnotashwin thisisnotashwin changed the title Add support for ServiceExports Add support for PartitionExports Oct 26, 2021
Copy link
Contributor

@ishustava ishustava left a comment

Choose a reason for hiding this comment

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

💯

@thisisnotashwin thisisnotashwin merged commit e7c2ad3 into main Oct 27, 2021
@thisisnotashwin thisisnotashwin deleted the service-exports branch October 27, 2021 14:14
ottaviohartman pushed a commit to ottaviohartman/consul-k8s that referenced this pull request Nov 3, 2021
* Create templates for grafana and prometheus
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.

3 participants