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

Add Pomerium Zero Helm chart #3

Merged
merged 7 commits into from
Nov 4, 2024
Merged

Add Pomerium Zero Helm chart #3

merged 7 commits into from
Nov 4, 2024

Conversation

desimone
Copy link
Contributor

  • Create initial Helm chart for deploying Pomerium Zero
  • Implement basic deployment, service, and secret resources
  • Add configurable values for token, image, and service settings
  • Include health check test for /healthz endpoint
  • Provide comprehensive README with installation and usage instructions
  • Ensure chart follows Helm best practices and naming conventions
  • Add Apache 2.0 license

This PR introduces a new Helm chart for easy deployment and management of Pomerium Zero in Kubernetes environments. It includes essential resources, configuration options, and a basic health check test.

Summary

Related issues

Checklist

  • reference any related issues
  • add appropriate tag (improvement / bug / etc)
  • ready for review

- Create initial Helm chart for deploying Pomerium Zero
- Implement basic deployment, service, and secret resources
- Add configurable values for token, image, and service settings
- Include health check test for /healthz endpoint
- Provide comprehensive README with installation and usage instructions
- Ensure chart follows Helm best practices and naming conventions
- Add Apache 2.0 license

This PR introduces a new Helm chart for easy deployment and management
of Pomerium Zero in Kubernetes environments. It includes essential
resources, configuration options, and a basic health check test.
labels:
{{- include "pomerium-zero.selectorLabels" . | nindent 8 }}
spec:
containers:
Copy link
Contributor

Choose a reason for hiding this comment

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

can we make it non-root and readonly fs (see https://github.com/pomerium/install/pull/4/files)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this (why only port 80), the additional tmp files, and why/how you are sourcing secrets is a little over my head.

desimone and others added 2 commits October 25, 2024 16:39
type instead of ClusterIP. This enables external accessibility for
Pomerium Zero in cloud environments supporting LoadBalancer services.

Important considerations for this change include:
- Allowing time for LoadBalancer IP assignment
- Configuring DNS to point to the LoadBalancer IP
- Properly setting up SSL/TLS certificates
- Configuring necessary firewall rules
- Being aware of potential additional costs

The README has been updated with detailed notes to guide users through
these aspects when exposing Pomerium Zero externally. This change
facilitates easier access to Pomerium Zero for users in supported
environments, but proper security measures must be taken.
@kralicky
Copy link
Contributor

@gaurdro Is the repo name pomerium/pomerium-zero available for us to use in our docker hub to host this chart?

@desimone
Copy link
Contributor Author

nota bene: The original chart uses pomerium.io

https://artifacthub.io/packages/helm/pomerium/pomerium

@kralicky
Copy link
Contributor

I'd suggest keeping the chart oci-only (much easier to maintain), so we would push to docker.io/pomerium/pomerium-zero instead of using artifact hub.

@wasaga wasaga requested review from gaurdro and wrmedford October 31, 2024 15:58
@wasaga wasaga marked this pull request as ready for review October 31, 2024 15:58
@wasaga wasaga requested a review from a team as a code owner October 31, 2024 15:58
@wasaga wasaga requested a review from calebdoxsey October 31, 2024 15:58
s/info/support/g

Co-authored-by: Denis Mishin <denis.s.mishin@gmail.com>
@kralicky kralicky merged commit 039b7b2 into main Nov 4, 2024
1 check passed
@kralicky kralicky deleted the desimone/helm-zero-poc branch November 4, 2024 17:15
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.

6 participants