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

Create separate gateway sub chart #145

Merged
merged 8 commits into from
Feb 3, 2022
Merged

Create separate gateway sub chart #145

merged 8 commits into from
Feb 3, 2022

Conversation

Zelldon
Copy link
Member

@Zelldon Zelldon commented Feb 1, 2022

Create a separate sub chart for the standalone gateway.

  • For better separation of concerns and improving maintainability (makes the charts smaller / simplifies them).
  • It would be easier to disable the gateway (if necessary)
  • In the parent values file we have a new separate section for the gateway (zeebe-gateway)

related #124

@@ -0,0 +1,174 @@
[![Community Extension](https://img.shields.io/badge/Community%20Extension-An%20open%20source%20community%20maintained%20project-FF4700)](https://github.com/camunda-community-hub/community)[![Lifecycle: Incubating](https://img.shields.io/badge/Lifecycle-Incubating-blue)](https://github.com/Camunda-Community-Hub/community/blob/main/extension-lifecycle.md#incubating-)[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
Copy link
Member Author

Choose a reason for hiding this comment

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

This file will be completely replaced later, when I iterate over the readmes.

Template definitions for zeebe are already defined in zeebe subchart
@Zelldon Zelldon mentioned this pull request Feb 2, 2022
25 tasks
@npepinpe npepinpe removed their request for review February 2, 2022 13:51
@npepinpe
Copy link
Member

npepinpe commented Feb 2, 2022

Let me know if you need a reviewer additionally, but I assumed one was OK 👍

Copy link
Contributor

@menski menski left a comment

Choose a reason for hiding this comment

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

lgtm to me, just two comments


{{- define "zeebe.labels.gateway" -}}
{{- template "zeebe.labels" . }}
app.kubernetes.io/component: gateway
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
app.kubernetes.io/component: gateway
app.kubernetes.io/component: zeebe-gateway

Would this be more consistent?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure, for the brokers we have as label, component: broker 🤷 Would you prefer it ? :)

Copy link
Contributor

Choose a reason for hiding this comment

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

I guess if we not look from a zeebe focused perspective but from a CCSM user perspective, I would expect prefixed labels with the component names, i.e. zeebe-, operate- etc.

So yes personally I would expect zeebe-gateway and zeebe-broker

Copy link
Member Author

Choose a reason for hiding this comment

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

Makes sense to me let me do that as part of #147

@Zelldon Zelldon merged commit 8bf4c03 into main Feb 3, 2022
@Zelldon Zelldon mentioned this pull request Feb 3, 2022
@Zelldon
Copy link
Member Author

Zelldon commented Feb 3, 2022

Thanks @menski for the review 🙇

@Zelldon Zelldon deleted the zell-gateway-sub-chart branch February 3, 2022 05: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