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

Commit

Permalink
spark-history xonyxia
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomte committed Jul 15, 2022
1 parent 579c0e5 commit 093cd01
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 56 deletions.
2 changes: 1 addition & 1 deletion charts/spark-history/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: 4.0.6
version: 4.1.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
134 changes: 79 additions & 55 deletions charts/spark-history/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
"default": "file://tmp/spark-logs/",
"x-form": {
"value": "s3a://{{s3.AWS_BUCKET_NAME}}/spark-history"
},
"x-onyxia": {
"overwriteDefaultWith": "s3a://{{s3.AWS_BUCKET_NAME}}/spark-history"
}
},
"disabledCertChecking": {
Expand Down Expand Up @@ -154,67 +157,69 @@
"description": "security specific configuration",
"type": "object",
"properties": {
"password": {
"type": "string",
"description": "Password",
"default": "changeme",
"x-form": {
"value": "{{project.password}}"
}
"password": {
"type": "string",
"description": "Password",
"default": "changeme",
"x-form": {
"value": "{{project.password}}"
},
"allowlist": {
"type": "object",
"description": "IP protection",
"properties": {
"enabled": {
"type": "boolean",
"title": "Enable IP protection",
"description": "Only the configured set of IPs will be able to reach the service",
"default": true,
"x-form": {
"value": "{{region.defaultIpProtection}}"
}
},
"ip": {
"type": "string",
"description": "the white list of IP is whitespace",
"title": "Whitelist of IP",
"x-form": {
"value": "{{user.ip}}"
},
"hidden": {
"value": false,
"path": "security/allowlist/enabled"
}
}
"x-onyxia": {
"overwriteDefaultWith": "{{project.password}}"
}
},
"allowlist": {
"type": "object",
"description": "IP protection",
"properties": {
"enabled": {
"type": "boolean",
"title": "Enable IP protection",
"description": "Only the configured set of IPs will be able to reach the service",
"default": true,
"x-form": {
"value": "{{region.defaultIpProtection}}"
},
"x-onyxia": {
"overwriteDefaultWith": "region.defaultIpProtection"
}
},
"networkPolicy": {
"type": "object",
"description": "Define access policy to the service",
"properties": {
"enabled": {
"type": "boolean",
"title": "Enable network policy",
"description": "Only pod from the same namespace will be allowed",
"default": true,
"x-form": {
"value": "{{region.defaultNetworkPolicy}}"
}
}
},
"ip": {
"type": "string",
"description": "the allow list of IP is whitespace",
"title": "Allowed IP",
"default": "0.0.0.0/0",
"x-form": {
"value": "{{user.ip}}"
},
"x-onyxia": {
"overwriteDefaultWith": "{{user.ip}}"
},
"hidden": {
"value": false,
"path": "security/allowlist/enabled"
}
}
}
}
},
"environment": {
"description": "configuration of your environment variables",
"type": "object",
"properties": {
"s3": {
},
"networkPolicy": {
"type": "object",
"description": "Define access policy to the service",
"properties": {
"enabled": {
"type": "boolean",
"description": "Add S3 temporary identity inside your environment",
"default": true
"title": "Enable network policy",
"description": "Only pod from the same namespace will be allowed",
"default": true,
"x-form": {
"value": "{{region.defaultNetworkPolicy}}"
},
"x-onyxia": {
"overwriteDefaultWith": "region.defaultNetworkPolicy"
}
}
}
}
}
},
"s3": {
Expand All @@ -232,6 +237,9 @@
"x-form": {
"value": "{{s3.AWS_ACCESS_KEY_ID}}"
},
"x-onyxia": {
"overwriteDefaultWith": "{{s3.AWS_ACCESS_KEY_ID}}"
},
"hidden": {
"value": false,
"path": "s3/enabled"
Expand All @@ -243,6 +251,9 @@
"x-form": {
"value": "{{s3.AWS_S3_ENDPOINT}}"
},
"x-onyxia": {
"overwriteDefaultWith": "{{s3.AWS_S3_ENDPOINT}}"
},
"hidden": {
"value": false,
"path": "s3/enabled"
Expand All @@ -254,6 +265,9 @@
"x-form": {
"value": "{{s3.AWS_DEFAULT_REGION}}"
},
"x-onyxia": {
"overwriteDefaultWith": "{{s3.AWS_DEFAULT_REGION}}"
},
"hidden": {
"value": false,
"path": "s3/enabled"
Expand All @@ -265,6 +279,9 @@
"x-form": {
"value": "{{s3.AWS_SECRET_ACCESS_KEY}}"
},
"x-onyxia": {
"overwriteDefaultWith": "{{s3.AWS_SECRET_ACCESS_KEY}}"
},
"hidden": {
"value": false,
"path": "s3/enabled"
Expand All @@ -276,6 +293,9 @@
"x-form": {
"value": "{{s3.AWS_SESSION_TOKEN}}"
},
"x-onyxia": {
"overwriteDefaultWith": "{{s3.AWS_SESSION_TOKEN}}"
},
"hidden": {
"value": false,
"path": "s3/enabled"
Expand All @@ -295,6 +315,10 @@
"x-form": {
"hidden": true,
"value": "{{project.id}}-{{k8s.randomSubdomain}}.{{k8s.domain}}"
},
"x-onyxia": {
"hidden": true,
"overwriteDefaultWith": "{{project.id}}-{{k8s.randomSubdomain}}.{{k8s.domain}}"
}
}
}
Expand Down

0 comments on commit 093cd01

Please sign in to comment.