Skip to content

Adds initial Node.js Helm chart - #6

Open
kaaalim wants to merge 7 commits into
mainfrom
feature/nodejs-helm
Open

Adds initial Node.js Helm chart#6
kaaalim wants to merge 7 commits into
mainfrom
feature/nodejs-helm

Conversation

@kaaalim

@kaaalim kaaalim commented Feb 16, 2026

Copy link
Copy Markdown
Contributor

Initializes a Helm chart for deploying Node.js applications on Kubernetes.

The chart includes configurations for:

  • Deployment
  • Service
  • Ingress
  • Autoscaling
  • ConfigMaps for Nginx
  • Secrets management

This provides a foundation for easily deploying and managing Node.js applications within a Kubernetes cluster.

Initializes a Helm chart for deploying Node.js applications on Kubernetes.

The chart includes configurations for:
- Deployment
- Service
- Ingress
- Autoscaling
- ConfigMaps for Nginx
- Secrets management

This provides a foundation for easily deploying and managing Node.js applications within a Kubernetes cluster.
@kaaalim
kaaalim requested a review from cSkyHawk February 16, 2026 17:46
Updates chart and app versions to the initial development release 0.0.1.

This reflects the start of the nodejs-helm feature development.
Initializes a Helm chart for deploying Node.js applications on Kubernetes.

The chart includes configurations for:
- Deployment
- Service
- Ingress
- Autoscaling
- ConfigMaps for Nginx
- Secrets management

This provides a foundation for easily deploying and managing Node.js applications within a Kubernetes cluster.

fix(chart): Correct appVersion for nodejs chart
Initializes chart version to 0.0.1

Updates chart and app versions to the initial development release 0.0.1.

This reflects the start of the nodejs-helm feature development.
@kaaalim
kaaalim requested a review from DanyaCt May 21, 2026 12:20
Comment thread charts/nodejs/templates/secrets.yaml Outdated

{{- if .Values.nodejs.env.envFromSecretsManager.enabled }}
---
apiVersion: external-secrets.io/v1beta1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The ExternalSecret here is still on external-secrets.io/v1beta1, but we changed every other chart in this repo to v1. Please update the apiVersion

- name: http
containerPort: {{ .Values.nodejs.port | default "3000" }}
protocol: TCP
livenessProbe:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The livenessProbe and readinessProbe in the deployment template currently render unconditionally, but their defaults are commented out in values.yaml. On a stock install, this generates empty keys, causing the Pod spec to fail validation. To avoid this, it is advisable to wrap them in {{- with .Values.livenessProbe }} blocks to ensure they only render when defined

Comment thread charts/nodejs/templates/configmaps.yaml Outdated
# Virtual Host Configs
##
upstream nodejs_upstream {
server localhost:3000;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Port 3000 is currently hard-coded, and if someone changes the default port number in the values.yaml in the future, this configuration will still use port 3000, which will cause problems. Worth templating that line

kaaalim added 2 commits July 1, 2026 13:29
…chart

- Add optional preDeployJob (Helm pre-install/pre-upgrade hook) with its
  own Job and Secret templates, mirroring the nextjs chart pattern
- Add nodejs.env.existingSecretName to allow mounting an externally
  managed Secret instead of the one rendered by the chart
- Support custom ingress backend service name/port per path via dig
- Wrap nginx/nodejs liveness and readiness probes in `with` so they're
  omitted when unset
- Bump external-secrets ExternalSecret apiVersion to v1
- Template the nginx upstream port from .Values.nodejs.port
- Bump chart version to 0.1.0
@kaaalim
kaaalim requested a review from DanyaCt July 1, 2026 12:50
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