mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-08-11 23:55:52 +00:00
46 lines
884 B
YAML
46 lines
884 B
YAML
# Default values for node.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
image:
|
|
replicaCount: 2
|
|
repository: docker.io/clearlinux/node
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
service:
|
|
type: NodePort
|
|
port: 80
|
|
targetPort: 80
|
|
nodePort: 30001
|
|
|
|
|
|
config:
|
|
enabled: True
|
|
name: nodejs-mount
|
|
content: |-
|
|
const http = require('http');
|
|
const os = require('os');
|
|
var handler = function(request, response){
|
|
response.writeHead(200);
|
|
response.end("Hello nodejs!\n")
|
|
};
|
|
var www = http.createServer(handler);
|
|
www.listen(80);
|
|
|
|
|
|
|
|
ingress:
|
|
enabled: false
|
|
annotations: {}
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: "true"
|
|
hosts:
|
|
- host: chart-example.local
|
|
paths: []
|
|
|
|
tls: []
|
|
# - secretName: chart-example-tls
|
|
# hosts:
|
|
# - chart-example.local
|
|
|