Skip to content

Commit

Permalink
🦟 Update image default tag (#4)
Browse files Browse the repository at this point in the history
* update deploiement image tag 10 to latest and add a warning to provide the key

* update readme
  • Loading branch information
saramiap authored Mar 20, 2024
1 parent d64b3a2 commit f774c03
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | <div style="max-width:200px !important">`{"failureThreshold":5,"httpGet":`</br>`{"path":"/","port":80,"scheme":"HTTP"},`</br>`"initialDelaySeconds":50,"periodSeconds":10,`</br>`"successThreshold":1,"timeoutSeconds":1}`</div> | Liveness probe configuration </br> [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 |
Expand Down
2 changes: 1 addition & 1 deletion bouyguestelecom/spin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bouyguestelecom/spin/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}

Expand Down
2 changes: 1 addition & 1 deletion bouyguestelecom/spin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f774c03

Please sign in to comment.