Skip to content

Commit

Permalink
[sophora-webclient]: use standardized version tag (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-schoener authored Oct 21, 2024
1 parent 447f4c9 commit f7284d6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/sophora-webclient/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ 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: 1.2.2
version: 1.3.0

# 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
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 4.8.0
appVersion: 4.14.0

maintainers:
- name: Team Weasel
Expand Down
6 changes: 5 additions & 1 deletion charts/sophora-webclient/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,18 @@ You can use the following values to customize the deployment
| `sophora.authentication.secret.passwordKey` | The key in the secret that contains the password | `password` | no |
| `sophora.authentication.secret.usernameKey` | The key in the secret that contains the username | `username` | no |
| `webclient.image.name` | The name of the docker image | `docker.subshell.com/sophora/sophora-webclient` | no |
| `webclient.image.version` | The version of the docker image | `master` | no |
| `webclient.image.tag` | The tag of the docker image | chart appVersion | no |
| `webclient.binaryFilesBase64` | A map of filename to base64 encoded file contents | The logo (logo.png) | no |
| `webclient.configuration` | The Sophora webclient `application.yml` file | | **yes** |
| `ingress.hosts` | An array of ingress hosts | | **yes** |
| `ingress.annotations` | A map of additional ingress annotations | `{}` | no |

## Changelog

### Version 1.3.0

* BREAKING: `image.version` was renamed to `image.tag`.

### Version 1.2.0

* `webclient.binaryFilesBase64` now accepts a map instead of an array.
2 changes: 1 addition & 1 deletion charts/sophora-webclient/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
{{- end }}
containers:
- name: webclient
image: "{{ .Values.image.name }}:{{ .Values.image.version }}"
image: "{{ .Values.image.name }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy | quote }}
env:
- name: SOPHORA_CLIENT_SERVERCONNECTION_USERNAME
Expand Down
3 changes: 3 additions & 0 deletions charts/sophora-webclient/test-values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
fullnameOverride: "test-webclient"

image:
tag: "latest"

sophora:
authentication:
secret:
Expand Down
3 changes: 2 additions & 1 deletion charts/sophora-webclient/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ fullnameOverride: ""

image:
name: docker.subshell.com/sophora/sophora-webclient
version: 4
# Overrides the image tag whose default is the chart appVersion.
tag: ""
pullPolicy: IfNotPresent

# - (object) k8s Pod host aliases which will be used to generate the /etc/hosts file.
Expand Down

0 comments on commit f7284d6

Please sign in to comment.