diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index f16af6a..34cd18b 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -88,10 +88,12 @@ spec: httpGet: path: /api/v1/health port: http + timeoutSeconds: {{ .Values.probes.timeoutSeconds }} readinessProbe: httpGet: path: /api/v1/readiness port: http + timeoutSeconds: {{ .Values.probes.timeoutSeconds }} resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }} diff --git a/chart/tests/with-additional-labels/expected.yaml b/chart/tests/with-additional-labels/expected.yaml index bdf2783..29d5714 100644 --- a/chart/tests/with-additional-labels/expected.yaml +++ b/chart/tests/with-additional-labels/expected.yaml @@ -117,9 +117,11 @@ spec: httpGet: path: /api/v1/health port: http + timeoutSeconds: 1 readinessProbe: httpGet: path: /api/v1/readiness port: http + timeoutSeconds: 1 resources: {} diff --git a/chart/tests/with-credentials/expected.yaml b/chart/tests/with-credentials/expected.yaml index e06591a..547f086 100644 --- a/chart/tests/with-credentials/expected.yaml +++ b/chart/tests/with-credentials/expected.yaml @@ -110,9 +110,11 @@ spec: httpGet: path: /api/v1/health port: http + timeoutSeconds: 1 readinessProbe: httpGet: path: /api/v1/readiness port: http + timeoutSeconds: 1 resources: {} diff --git a/chart/tests/with-github-app-and-sealed-secrets/expected.yaml b/chart/tests/with-github-app-and-sealed-secrets/expected.yaml index 544c073..96b6360 100644 --- a/chart/tests/with-github-app-and-sealed-secrets/expected.yaml +++ b/chart/tests/with-github-app-and-sealed-secrets/expected.yaml @@ -99,10 +99,12 @@ spec: httpGet: path: /api/v1/health port: http + timeoutSeconds: 1 readinessProbe: httpGet: path: /api/v1/readiness port: http + timeoutSeconds: 1 resources: {} --- diff --git a/chart/tests/with-github-app/expected.yaml b/chart/tests/with-github-app/expected.yaml index fc82a1f..2066c79 100644 --- a/chart/tests/with-github-app/expected.yaml +++ b/chart/tests/with-github-app/expected.yaml @@ -116,9 +116,11 @@ spec: httpGet: path: /api/v1/health port: http + timeoutSeconds: 1 readinessProbe: httpGet: path: /api/v1/readiness port: http + timeoutSeconds: 1 resources: {} diff --git a/chart/tests/with-github-token/expected.yaml b/chart/tests/with-github-token/expected.yaml index 987a831..d5e5a3e 100644 --- a/chart/tests/with-github-token/expected.yaml +++ b/chart/tests/with-github-token/expected.yaml @@ -99,9 +99,11 @@ spec: httpGet: path: /api/v1/health port: http + timeoutSeconds: 1 readinessProbe: httpGet: path: /api/v1/readiness port: http + timeoutSeconds: 1 resources: {} diff --git a/chart/tests/with-request-timeout/expected.yaml b/chart/tests/with-request-timeout/expected.yaml index 58c21b5..52dc048 100644 --- a/chart/tests/with-request-timeout/expected.yaml +++ b/chart/tests/with-request-timeout/expected.yaml @@ -110,9 +110,11 @@ spec: httpGet: path: /api/v1/health port: http + timeoutSeconds: 1 readinessProbe: httpGet: path: /api/v1/readiness port: http + timeoutSeconds: 1 resources: {} diff --git a/chart/values.yaml b/chart/values.yaml index b5bea6f..9a97669 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -19,7 +19,7 @@ secretEnv: # PLUGIN_TOKEN: "" # GH_TOKEN: "" -githubAppPrivateKey: "" +githubAppPrivateKey: '' # Additional annotations for sealed secrets sealedSecretAnnotations: {} @@ -33,11 +33,14 @@ image: repository: ghcr.io/nestoca/joy-generator pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "" + tag: '' + +probes: + timeoutSeconds: 1 imagePullSecrets: [] -nameOverride: "" -fullnameOverride: "" +nameOverride: '' +fullnameOverride: '' podAnnotations: {}