Files
dockerfiles/charts/node/values.yaml
T
2019-11-19 10:33:23 +08:00

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