mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 16:09:08 +00:00
[node-red] add support for hostAliases (#150)
* Add startupProbe to Node-RED chart in order to address slow starting container being killed due to liveness probe failures. * Bump node-red chart version * Add hostAliases support for custom /etc/hosts entries * Update description for hostAliases
This commit is contained in:
parent
4cfc8fc0db
commit
846337f619
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 1.0.6-12
|
appVersion: 1.0.6-12
|
||||||
description: Node-RED is low-code programming for event-driven applications
|
description: Node-RED is low-code programming for event-driven applications
|
||||||
name: node-red
|
name: node-red
|
||||||
version: 3.2.0
|
version: 3.3.0
|
||||||
keywords:
|
keywords:
|
||||||
- nodered
|
- nodered
|
||||||
- node-red
|
- node-red
|
||||||
|
@ -88,6 +88,7 @@ The following tables lists the configurable parameters of the Node-RED chart and
|
|||||||
| `affinity` | Affinity settings for pod assignment | `{}` |
|
| `affinity` | Affinity settings for pod assignment | `{}` |
|
||||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
||||||
| `deploymentAnnotations` | Key-value pairs to add as deployment annotations | `{}` |
|
| `deploymentAnnotations` | Key-value pairs to add as deployment annotations | `{}` |
|
||||||
|
| `hostAliases` | Specify /etc/hosts entries | `[]` |
|
||||||
|
|
||||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||||
|
|
||||||
|
@ -100,6 +100,10 @@ spec:
|
|||||||
{{- else }}
|
{{- else }}
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{- if .Values.hostAliases }}
|
||||||
|
hostAliases:
|
||||||
|
{{ toYaml .Values.hostAliases | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml . | indent 8 }}
|
{{ toYaml . | indent 8 }}
|
||||||
|
@ -69,6 +69,14 @@ service:
|
|||||||
## Set the externalTrafficPolicy in the Service to either Cluster or Local
|
## Set the externalTrafficPolicy in the Service to either Cluster or Local
|
||||||
# externalTrafficPolicy: Cluster
|
# externalTrafficPolicy: Cluster
|
||||||
|
|
||||||
|
hostAliases: []
|
||||||
|
# Use hostAliases to add custom entries to /etc/hosts - mapping IP addresses to hostnames.
|
||||||
|
# ref: https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
||||||
|
# - ip: "192.168.1.100"
|
||||||
|
# hostnames:
|
||||||
|
# - "example.com"
|
||||||
|
# - "www.example.com"
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
Loading…
Reference in New Issue
Block a user