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

1Password Connect Improved Networking #107

Merged
merged 13 commits into from
Oct 17, 2022

Conversation

klaus385
Copy link
Contributor

@klaus385 klaus385 commented Jul 7, 2022

1Password Connect - (Improved Networking)

The changes I made here will allow for a multitude of things for users trying to interact with the 1Password Connect and Sync applications deployed.

Changes

Below is a list of changes with detailed descriptions of the changes I made and why I made them.

Documentation

  1. Updated values.yaml to have the individual comments to allow for an inline view
  2. Re-ordered values.yaml to have a flow that tries to follow a purpose for each section.

Syntax

  1. Removed trailing whitespace.
  2. Added some templated for the improvements section that will allow ingress definitions and load balancer definitions.

Explanation of Changes

  1. Updated the values.yaml to have an example to use the ingress.yaml template, additional functionality for the service.yaml to use loadBalancerIP which would satisfy this GitHub issue, and loadBalancerSourceRanges to further extend on the service configuration for Load Balancer type.
  2. Created the ingress.yaml template to allow for the ingress values to be deployed.
  3. Created the service.yaml changes to allow for what is mentioned above.
  4. Updated _helpers.tpl to allow for easy means of templating out loadBalancerIP and loadBalancerSourceRanges.

Future Improvements

This section is kinda a QA in regards to this helm chart. In which I had other changes in mind but decided to NOT at this time. This is related to how the service.yaml and connect-deployment.yaml is written.

Potential Future Changes Questions

  1. Within service.yaml the API and Sync service are defined. Was there a particular reason why these were or are NOT separate templates? I ask this question due to the nature of needing to make a change to service.yaml in which by doing so you don't affect just API or Sync you affect change essentially to both.
  2. Within connect-deployment.yaml similar question in regards to splitting these deployments out. Because, if let's say one wants to affect how API or Sync have deployed any changes to one effect the code which indirectly affects the other.
  3. For ingress.yaml leverage if/else to discern the port when .Values.connect.tls.enabled is true or false.

@klaus385
Copy link
Contributor Author

Just curious if there is anything else needed for this to get merged?

@klaus385
Copy link
Contributor Author

klaus385 commented Aug 4, 2022

@edif2008 maybe when I made this PR I missed something. Anyway, we can get some traction on this?

@klaus385
Copy link
Contributor Author

Thought to bump this again and see what can be done to look into merging this into the helm chart?

@zifeo
Copy link

zifeo commented Oct 7, 2022

@florisvdg Is there anything blocking this to get reviewed/merged?

@edif2008
Copy link
Member

edif2008 commented Oct 12, 2022

Hey folks.
Thank you so much for your contribution in making the helm charts better. It's so cool to see this big enhancement made by the community. ❤️

Apologies for keeping this PR hanging for a while. I've brought this PR on my team's radar to review it as soon as possible.

charts/connect/templates/ingress.yaml Outdated Show resolved Hide resolved
charts/connect/values.yaml Show resolved Hide resolved
charts/connect/values.yaml Outdated Show resolved Hide resolved
@volodymyrZotov
Copy link
Contributor

@klaus385 Hey. I looked at the PR. Looks very good! Thank you! 👍
I left several small comments, please take a look.

@jpcoenen jpcoenen merged commit ef37bdd into 1Password:main Oct 17, 2022
@jpcoenen
Copy link
Member

Thanks for your contribution, @klaus385! 🙌

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.

5 participants