From 8318025c39fff1b16970206c5d8cded85e803f2b Mon Sep 17 00:00:00 2001 From: Rares Matei Date: Mon, 3 Jun 2024 16:24:00 +0100 Subject: [PATCH] readd nx api probes (#120) --- charts/nx-cloud/Chart.yaml | 2 +- charts/nx-cloud/templates/nx-cloud-nx-api-deployment.yaml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/charts/nx-cloud/Chart.yaml b/charts/nx-cloud/Chart.yaml index ccb5d24..819c0ae 100644 --- a/charts/nx-cloud/Chart.yaml +++ b/charts/nx-cloud/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: nx-cloud description: Nx Cloud Helm Chart type: application -version: 0.15.2 +version: 0.15.3 maintainers: - name: nx url: "https://nx.app/" diff --git a/charts/nx-cloud/templates/nx-cloud-nx-api-deployment.yaml b/charts/nx-cloud/templates/nx-cloud-nx-api-deployment.yaml index 4adef5e..0293dd3 100644 --- a/charts/nx-cloud/templates/nx-cloud-nx-api-deployment.yaml +++ b/charts/nx-cloud/templates/nx-cloud-nx-api-deployment.yaml @@ -40,8 +40,7 @@ spec: volumeMounts: - mountPath: /self-signed-certs name: self-signed-certs-volume - {{- else}} - # if we don't need on a post-start hook + {{- end}} startupProbe: httpGet: path: /nx-cloud/uptime-check @@ -54,7 +53,6 @@ spec: path: /nx-cloud/uptime-check port: {{ .Values.nxApi.deployment.port }} initialDelaySeconds: 30 - {{- end}} {{- if .Values.nxApi.deployment.readinessProbe }} readinessProbe: {{- toYaml .Values.nxApi.deployment.readinessProbe | nindent 12 }} {{- end }}