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

Commit

Permalink
delta list of shares
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomte committed Jul 29, 2022
1 parent 8323898 commit b962459
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 30 deletions.
2 changes: 1 addition & 1 deletion charts/delta-sharing-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,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: 1.1.0
version: 1.2.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
8 changes: 1 addition & 7 deletions charts/delta-sharing-server/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,7 @@ data:
# The format version of this config file
version: 1
# Config shares/schemas/tables to share
shares:
- name: "share"
schemas:
- name: "schema"
tables:
- name: {{ .Values.share.name | quote }}
location: {{ .Values.share.location | quote }}
{{ .Values.share }}
# Set the host name that the server will use
host: {{ .Values.ingress.hostname | quote }}
Expand Down
28 changes: 9 additions & 19 deletions charts/delta-sharing-server/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,25 +85,15 @@
},
"share": {
"description": "Share your data",
"type": "object",
"properties": {
"location": {
"description": "directory of a delta table",
"type": "string",
"default": "file://tmp/spark-logs/",
"x-form": {
"value": "s3a://{{s3.AWS_BUCKET_NAME}}/delta-table/"
},
"x-onyxia": {
"overwriteDefaultWith": "s3a://{{s3.AWS_BUCKET_NAME}}/delta-table/"
}
},
"name": {
"description": "name of the table",
"type": "string",
"default": "table"
}
}
"type": "string",
"render": "textArea",
"default": "shares:\n- name: \"share\"\n schemas:\n - name: \"schema\"\n tables:\n - name: \"name\"\n location: \"s3a://bucket/delta-table/\"\n",
"x-form": {
"value": "shares:\n- name: \"share\"\n schemas:\n - name: \"schema\"\n tables:\n - name: \"name\"\n location: \"s3a://{{s3.AWS_BUCKET_NAME}}/delta-table/\"\n"
},
"x-onyxia": {
"overwriteDefaultWith": "shares:\n- name: \"share\"\n schemas:\n - name: \"schema\"\n tables:\n - name: \"name\"\n location: \"s3a://{{s3.AWS_BUCKET_NAME}}/delta-table/\"\n"
}
},
"security": {
"description": "security specific configuration",
Expand Down
4 changes: 1 addition & 3 deletions charts/delta-sharing-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ s3:
coresite:
configMapName: ""

share:
name: ""
location: ""
share: ""

security:
networkPolicy:
Expand Down

0 comments on commit b962459

Please sign in to comment.