Repository navigation
[stable/mattemost-team-edition] Add initial charts for Mattermost Team Edition - #5987
Conversation
jwilander
left a comment
There was a problem hiding this comment.
Awesome! Just a few minor comments
There was a problem hiding this comment.
Might be a good idea to remove any of the enterprise related settings so it's a little cleaner as those won't be needed in the chart
There was a problem hiding this comment.
Maybe default this to just Mattermost
There was a problem hiding this comment.
Might be a good idea to stress that it's team edition so:
This chart creates a Mattermost deployment...
to
This chart creates a Mattermost Team Edition deployment...
|
/assign @lachie83 |
|
Thanks for the chart! I wonder if it is possible to define a configmap generated by the |
There was a problem hiding this comment.
should there be an option for /mattermost/data be persistent with a pvc?
There was a problem hiding this comment.
for the data we are using minio
There was a problem hiding this comment.
ahh, sorry minio is for the other edition. Will add the persistence for that 😄 thanks for the catch!
clkao
left a comment
There was a problem hiding this comment.
For people using hosted sql, it'd be useful if this chart provides extraContainers and extraVolumes to configure cloud proxy. See the keycloak chart for example
There was a problem hiding this comment.
it seem this should be SMTPServer according to config.tpl
|
hello @clkao thanks for all review and feedback!
|
|
@clkao for this request:
I think it is better to add in a follow up, we need to change how we handle our configuration and this change will allow better manipulation. For now I will put this as TODO. is that ok for you? |
|
I've added a few things including postgresql support, recreate on config changes, and the required hooks for cloud sql proxy. Let me push somewhere for you to see if the changes can be incorporated. |
|
@clkao Hello, I was reading more about the cloud sql proxy that you mentioned, and the problem for that it is limited only to Google cloud i thought that was more generic. |
|
Hi @cpanato I made a few improvements in separate commits so it should be easier for you to review and cherry-pick from: pull/5987/head...clkao:mattermost |
|
hi @clkao sorry for the delay I was in vacations. I cherry pick all suggestions thanks!! |
unguiculus
left a comment
There was a problem hiding this comment.
Please use a consistent list indentation style throughout the chart. Either use zero or two spaces.
Why does the chart have dependencies on kube-lego and nginx-ingress? You don't install these on a per-chart basis. You usually have multiple services use the same ingress controller. Also, the ingress that's included is tied to nginx-ingress. What if someone wants to use a different ingress controller? kube-lego is deprecated. I would rather use cert-manager, but again, not on a per-chart basis. I'd suggest you remove these dependencies.
There was a problem hiding this comment.
Add release label to selector.
There was a problem hiding this comment.
my fault added only in the label.
There was a problem hiding this comment.
Add release and heritage labels.
There was a problem hiding this comment.
Add release and heritage labels.
There was a problem hiding this comment.
Add release label to selector.
|
/assign |
|
@unguiculus thanks so much for your review and the ingress/kubelego makes sense. removed. ptal |
unguiculus
left a comment
There was a problem hiding this comment.
Again, please fix list indentation as mentioned above.
There was a problem hiding this comment.
Convention is to use lower camel case.
There was a problem hiding this comment.
Please be consistent. Add a space after {{ am before }}. Apply throughout the chart.
There was a problem hiding this comment.
Don't set nginx-ingress specific annotations by default. Instead provide an option to configure annotations. You may add these defaults to values.yaml and comment them out.
There was a problem hiding this comment.
Add release label to selector.
unguiculus
left a comment
There was a problem hiding this comment.
Again, please fix list indentation.
There was a problem hiding this comment.
Don't set a default password.
There was a problem hiding this comment.
What if I run multiple replicas? How would Mattermost behave?
There was a problem hiding this comment.
For team edition, you can run just one instance.
There was a problem hiding this comment.
made note in the Readme.md as limitation.
Signed-off-by: cpanato <[email protected]>
Signed-off-by: cpanato <[email protected]>
Signed-off-by: cpanato <[email protected]>
|
/ok-to-test |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cpanato, unguiculus The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@unguiculus thanks for all the review! |
…m Edition (helm#5987) * Add initial charts for Mattermost Team Edition Signed-off-by: cpanato <[email protected]> * update based on feedback Signed-off-by: cpanato <[email protected]> * update dependencies Signed-off-by: cpanato <[email protected]> Signed-off-by: jenkin-x <[email protected]>
…m Edition (helm#5987) * Add initial charts for Mattermost Team Edition Signed-off-by: cpanato <[email protected]> * update based on feedback Signed-off-by: cpanato <[email protected]> * update dependencies Signed-off-by: cpanato <[email protected]> Signed-off-by: Jakob Niggel <[email protected]>
…m Edition (helm#5987) * Add initial charts for Mattermost Team Edition Signed-off-by: cpanato <[email protected]> * update based on feedback Signed-off-by: cpanato <[email protected]> * update dependencies Signed-off-by: cpanato <[email protected]>
What this PR does / why we need it:
Add Mattermost Team Edition to Helm charts
Special notes for your reviewer:
Please let me know if need any clarifications