diff --git a/README.md b/README.md index 01f856f..abc6bcd 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ spin: | deployment.extraVolumes | string | `""` | Add additionnal volumes | | deployment.image.pullPolicy | string | `"IfNotPresent"` | docker image pull policy | | deployment.image.repository | string | `"nginx"` | docker image repository url | -| deployment.image.tag | string | `"10"` | docker image tag | +| deployment.image.tag | string | `"latest"` | docker image tag | | deployment.livenessProbe | object |
`{"failureThreshold":5,"httpGet":`
`{"path":"/","port":80,"scheme":"HTTP"},`
`"initialDelaySeconds":50,"periodSeconds":10,`
`"successThreshold":1,"timeoutSeconds":1}`
| Liveness probe configuration
[More about liveness probes](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/) | | deployment.livenessProbe.failureThreshold | int | `5` | Number of consecutive unsuccessful checks to be considered not alive | | deployment.livenessProbe.httpGet.path | string | `"/"` | The path to be used for the HTTP GET request | diff --git a/bouyguestelecom/spin/Chart.yaml b/bouyguestelecom/spin/Chart.yaml index dd83e50..cab3234 100644 --- a/bouyguestelecom/spin/Chart.yaml +++ b/bouyguestelecom/spin/Chart.yaml @@ -16,7 +16,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.5-alpha1 +version: 0.1.5 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/bouyguestelecom/spin/templates/_helpers.tpl b/bouyguestelecom/spin/templates/_helpers.tpl index 24c74bd..ab0671e 100644 --- a/bouyguestelecom/spin/templates/_helpers.tpl +++ b/bouyguestelecom/spin/templates/_helpers.tpl @@ -65,7 +65,7 @@ Detect which version of main image we should use {{- $githubTagResponse := printf "$(curl -s %s)" $githubTag | quote }} {{- $githubTagResponse -}} {{- else }} -{{- .Values.deployment.image.tag | quote -}} +{{- required "A value is required for .Values.deployment.image.tag" .Values.deployment.image.tag | quote -}} {{- end }} {{- end -}} diff --git a/bouyguestelecom/spin/values.yaml b/bouyguestelecom/spin/values.yaml index 295d5bd..7aa131f 100644 --- a/bouyguestelecom/spin/values.yaml +++ b/bouyguestelecom/spin/values.yaml @@ -24,7 +24,7 @@ deployment: # -- docker image pull policy pullPolicy: IfNotPresent # -- docker image tag - tag: "10" + tag: "latest" # -- Additional ENV containerEnv: {} # -- Add extra ports to container