Helm Chart Components
Helm chart components allow you to connect an existing Helm chart and deploy it into your customer’s cloud account.
Helm chart components allow you to deploy any helm from a public or connected repo. Please refer to the Helm reference for full configuration options.
Configuring a Helm component
To configure a Helm component, specify a repo, the required configuration values and version to deploy it with.
You can configure Helm components to use either a public repo (using a public_repo
block) or a private GitHub
repo (using a connected_repo
block). Read more about VCS configuration here.
Open Source and Private Charts
Nuon supports any Helm chart that can be accessed using git. It is common for apps to have both a combination of public, open source helm charts for deploying standard components and private helm charts for application specific configuration.
Helm Value Configuration
One of the most important parts of deploying a Helm chart into a customer account, includes setting values properly. Values can be used for everything from accessing infrastructure, setting images or scaling pods.
Variables allow you to set default values for a Nuon app, expose customer configuration options, reference infrastructure from other components or access an image that was synced into the customer account.
Examples for accessing common interpolated variables:
Using a Helm Values File
You can add a values file, and set multiple values at once.
For now, we do not support reading values files from disk. If this is something that would make your configuration easier, let us know!
Default Sandbox Components and DNS
The aws-eks
managed sandbox ships with standard Helm components + DNS zones to solve for common use cases, such
as exposing a public or private https service. This includes:
The sandboxes are open source and can be customized, if these components do not work for your application.
Using Domains
The Nuon managed sandboxes automatically deploy the components required to provision DNS, Certificate and Load Balancer resources using Helm. There are multiple ways to use these components. Here are examples of the two most common.
AWS NLB with AWS ACM
If you want to leverage AWS services, you can provision an NLB that uses an ACM certificate.
Your chart would contain a Service resource, configured so that the operator will create an NLB.
You would parametrize the Service with the following values in your chart’s values.yaml
file, to accept public and private domains an ACM certificate ARN.
Then, you could set those values per install with the following component config.
Nginx Ingress with Cert Manager
If you would prefer to manage resources within Kubernetes instead, you could use the Nginx ingress and have the cert-manager
operator provision a certificate.
In your chart, you would define the Ingress and Certificate resources.
Then, allow configuring the domain in the chart’s values.yaml
file.
You could then set the domain per install in your component config.
By default, Nuon provisions a custom domain for each install under the nuon.run
domain (eg: inl8ybt7gajofh33e0h3pqyw1t.nuon.run).
If you would like to use a customer provided domain, you can accept customer domains using inputs. We are planning to improve support for this, and would love to hear about your use case.