yGuy / chatgpt-mattermost-bot

A very simple implementation of a service for a mattermost bot that uses ChatGPT in the backend.
MIT License
145 stars 50 forks source link

add helm chart #60

Closed DavidKellyonGitHub closed 9 months ago

DavidKellyonGitHub commented 10 months ago

This helm chart will deploy a pod running a containerized version of the chatgpt-bot image. The pod connects to a running mattermost pod's service via the cluster service DNS url (e.g. http://mattermost-team-edition.mattermost.svc.clusterlocal). A mattermost instance deployed with helm will have such a service running.

This chart uses environment variables MATTERMOST_TOKEN OPENAI_API_KEY

and defaults for mattermost-team-edition, and the 'mattermost' namespace

yGuy commented 9 months ago

Sorry, I have absolutely no capabilities to verify/review and merge this. Never used nor even heard of helm charts before... Can you find someone to review this?

m00nyONE commented 9 months ago

@yGuy I'm able to review this. i already created my own working helm chart for the bot. @DavidKellyonGitHub it would be awesome if you could accept my PR to your fork. There are some issues with your current implementation that need to be worked out before merging. https://github.com/DavidKellyonGitHub/chatgpt-mattermost-bot/pull/1

yGuy commented 9 months ago

Awesome! Thanks @m00nyONE and @DavidKellyonGitHub - I think this pull request needs to be updated as the changes by @m00nyONE are now part of your main branch in your fork.

yGuy commented 9 months ago

Thanks, guys!