diff --git a/library/common/Chart.yaml b/library/common/Chart.yaml index 78028ddd..dfd5b170 100644 --- a/library/common/Chart.yaml +++ b/library/common/Chart.yaml @@ -15,7 +15,7 @@ maintainers: name: common sources: null type: library -version: 20.3.10 +version: 20.3.11 annotations: artifacthub.io/category: "integration-delivery" artifacthub.io/license: "BUSL-1.1" diff --git a/library/common/templates/lib/container/_probes.tpl b/library/common/templates/lib/container/_probes.tpl index a76d9ba7..7f9ba057 100644 --- a/library/common/templates/lib/container/_probes.tpl +++ b/library/common/templates/lib/container/_probes.tpl @@ -90,6 +90,7 @@ objectData: The object data to be used to render the container. {{- fail (printf "Container - Expected [probes] [successThreshold] to be 1 on [%s] probe" $probeName) -}} {{- end -}} {{- end }} + initialDelaySeconds: {{ $timeouts.initialDelaySeconds }} failureThreshold: {{ $timeouts.failureThreshold }} successThreshold: {{ $timeouts.successThreshold }} diff --git a/library/common/values.yaml b/library/common/values.yaml index f051919e..dc05811a 100644 --- a/library/common/values.yaml +++ b/library/common/values.yaml @@ -34,21 +34,21 @@ global: # -- Default probe timeouts probeTimeouts: liveness: - initialDelaySeconds: 10 - periodSeconds: 10 + initialDelaySeconds: 12 + periodSeconds: 15 timeoutSeconds: 5 failureThreshold: 5 successThreshold: 1 readiness: initialDelaySeconds: 10 - periodSeconds: 10 + periodSeconds: 12 timeoutSeconds: 5 - failureThreshold: 5 + failureThreshold: 4 successThreshold: 2 startup: initialDelaySeconds: 10 periodSeconds: 5 - timeoutSeconds: 2 + timeoutSeconds: 3 failureThreshold: 60 successThreshold: 1 # -- Define a postgresql version for CNPG @@ -200,7 +200,7 @@ workload: port: "{{ $.Values.service.main.ports.main.targetPort | default .Values.service.main.ports.main.port }}" startup: enabled: true - type: "tcp" + type: "{{ .Values.service.main.ports.main.protocol }}" port: "{{ $.Values.service.main.ports.main.targetPort | default .Values.service.main.ports.main.port }}" # -- Timezone used everywhere applicable