open-webui / helm-charts

72 stars 47 forks source link

Allow service accounts #110

Closed alexnederlof closed 5 days ago

alexnederlof commented 5 days ago

I was missing service accounts from the helm chart, so added the default stuff to use those. This helps people running on Amazon EKS that use this to authenticate against AWS services.

Tested it by running helm template . with and without the config.

This change is backwards compatible (ie, it's a no-op if you don't enable serviceAccount)

@0xThresh can you take a look?

0xThresh commented 5 days ago

Thanks for the PR @alexnederlof. Note that I changed .Values.serviceAccount.create to .Values.serviceAccount.enable for consistency with the wording to enable the PVC, but everything else looked great!