Skip to content

Add helm example project #360

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

Merged
merged 1 commit into from
Jun 4, 2025
Merged

Add helm example project #360

merged 1 commit into from
Jun 4, 2025

Conversation

pjaudiomv
Copy link
Contributor

I have created a helm chart for deploying the proxy to Kubernetes and thought it may be useful for others to use.

as a minimal example to test locally you could use minikube

minikube start --memory=4192 --cpus=4 --kubernetes-version=v1.30.0
helm repo add email-oauth2-proxy  https://pjaudiomv.github.io/email-oauth2-proxy-helm
helm repo update
kubectl create namespace email-oauth2-proxy
helm install email-oauth2-proxy email-oauth2-proxy/email-oauth2-proxy -f values.yaml

example values.yaml

setupPod:
  enabled: true
config:
  DEBUG: true
  CACHE_STORE: /app/cache/credstore.config
configMap:
  enabled: true
  data: |
      [IMAP-2993]
      server_address = imap.gmail.com
      server_port = 993
      local_address = 0.0.0.0
    
      [[email protected]]
      permission_url = https://accounts.google.com/o/oauth2/auth
      redirect_uri = http://localhost/
      oauth2_scope = https://mail.google.com/
      token_url = https://oauth2.googleapis.com/token
      client_id = 167903-obfusicated-3hol.apps.googleusercontent.com
      client_secret = GOCSPX-Pet-rdummy-data-gPIOc

For my purposes, I get the proxy going in setup pod interactively and from there the proxy service pod uses the cache store persistent volume

@simonrob
Copy link
Owner

simonrob commented Jun 4, 2025

Thanks for the contribution!

@simonrob simonrob merged commit 7f3a25d into simonrob:main Jun 4, 2025
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.

2 participants