Merge "Fluentd: Add deployment conditional for probes"

This commit is contained in:
Zuul 2019-06-25 19:57:56 +00:00 committed by Gerrit Code Review
commit edf41fe792

View File

@ -128,6 +128,7 @@ spec:
containerPort: {{ tuple "fluentd" "internal" "service" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
- name: metrics
containerPort: {{ tuple "fluentd" "internal" "metrics" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
{{- if eq .Values.deployment.type "Deployment" }}
readinessProbe:
tcpSocket:
port: {{ tuple "fluentd" "internal" "service" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
@ -138,6 +139,7 @@ spec:
port: {{ tuple "fluentd" "internal" "service" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
initialDelaySeconds: 60
timeoutSeconds: 10
{{- end }}
env:
- name: NODE_NAME
valueFrom: