Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
change to openrefine
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomte committed Mar 2, 2023
1 parent 9c89959 commit 34bf8db
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/openrefine/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,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: 3.4.0
version: 3.5.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
Expand Down
7 changes: 7 additions & 0 deletions charts/openrefine/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.service.image.repository }}:{{ .Values.service.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.service.image.pullPolicy }}
env:
- name: REFINE_INTERFACE
value: "0.0.0.0"
- name: REFINE_MEMORY
value: "{{ .Values.service.memory }}"
- name: REFINE_DATA_DIR
value: "/data"
ports:
- name: http
containerPort: 3333
Expand Down
16 changes: 16 additions & 0 deletions charts/openrefine/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"service": {
"description": "Your service will have at least the requested resources and never more than its limits. No limit for a resource and you can consume everything left on the host machine.",
"type": "object",
"properties": {
"memory": {
"description": "Java memory",
"type": "string",
"default": "1024M",
"render": "slider",
"sliderMin": 1024,
"sliderMax": 32768,
"sliderStep": 1024,
"sliderUnit": "M"
}
}
},
"resources": {
"description": "Your service will have at least the requested resources and never more than its limits. No limit for a resource and you can consume everything left on the host machine.",
"type": "object",
Expand Down
5 changes: 3 additions & 2 deletions charts/openrefine/values.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Default values for openrefine.

service:
memory: "1024M"
image:
repository: "vimagick/openrefine"
repository: "easypi/openrefine"
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
tag: "3.7.0"

security:
networkPolicy:
Expand Down

0 comments on commit 34bf8db

Please sign in to comment.