Skip to content

Merge controller subcommand into connect inject subcommand#1697

Merged
thisisnotashwin merged 1 commit intomainfrom
ashwin/merge-controllers
Nov 11, 2022
Merged

Merge controller subcommand into connect inject subcommand#1697
thisisnotashwin merged 1 commit intomainfrom
ashwin/merge-controllers

Conversation

@thisisnotashwin
Copy link
Copy Markdown
Contributor

@thisisnotashwin thisisnotashwin commented Nov 10, 2022

Changes proposed in this PR:

  • Merge the controller subcommand into the connect inject subcommand.
  • This requires the CRDs to be deployed into the cluster when connectInject.enabled = true.
  • The ACL policy for connect inject needs to be updated to be a super set and include controller policies where it previously didnt.
  • Delete the controller sections from the values files, webhook config, the acceptance tests and the project at large.

How I've tested this PR:

  • Acceptance and unit tests

How I expect reviewers to test this PR:

  • 👀
  • Anything missing?

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...)

@thisisnotashwin thisisnotashwin force-pushed the ashwin/merge-controllers branch 6 times, most recently from f317a11 to 437eee1 Compare November 10, 2022 20:30
Copy link
Copy Markdown
Contributor

@curtbushko curtbushko left a comment

Choose a reason for hiding this comment

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

Looks Good! There are a lot of changes but the tests make this feel a lot safer to do.

I only had a couple questions but nothing I would block you on. Ping me tomorrow if you need an approval.

Copy link
Copy Markdown
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.

Awesome work!! Please remember to add a changelog entry with the breaking change

IngressGateway string = "ingressgateway"
```
1. Update `control-plane/subcommand/controller/command.go` and add your controller:
1. Update `control-plane/subcommand/inject-connect/command.go` and add your controller:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🙏

@thisisnotashwin thisisnotashwin force-pushed the ashwin/merge-controllers branch from 437eee1 to 2c63ccc Compare November 11, 2022 23:53
@thisisnotashwin thisisnotashwin merged commit 2ec38fd into main Nov 11, 2022
@thisisnotashwin thisisnotashwin deleted the ashwin/merge-controllers branch November 11, 2022 23:54
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