Helm UI schema

This commit is contained in:
Laszlo Fogas
2020-11-17 13:13:11 +01:00
parent 0d4f3c1150
commit 898316874e
7 changed files with 249 additions and 79 deletions
+1 -1
View File
@@ -15,4 +15,4 @@ 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.8.2
version: 0.9.0
+82
View File
@@ -0,0 +1,82 @@
[
{
"schemaIDs": [
"#/properties/image",
"#/properties/containerPort",
"#/properties/replicas"
],
"uiSchema": {
"#/properties/replicas": {
"ui:widget": "range"
}
},
"metaData": {
"name": "Basics",
"icon": "M17 8l4 4m0 0l-4 4m4-4H3"
}
},
{
"schemaIDs": [
"#/properties/resources"
],
"uiSchema": {
},
"metaData": {
"name": "Resources",
"icon": "M9 7h6m0 10v-3m-3 3h.01M9 17h.01M9 14h.01M12 14h.01M15 11h.01M12 11h.01M9 11h.01M7 21h10a2 2 0 002-2V5a2 2 0 00-2-2H7a2 2 0 00-2 2v14a2 2 0 002 2z"
}
},
{
"schemaIDs": [
"#/properties/probe"
],
"uiSchema": {
},
"metaData": {
"name": "Health",
"icon": "M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"
}
},
{
"schemaIDs": [
"#/properties/vars"
],
"uiSchema": {
"#/properties/vars": {
"additionalProperties": {
"type": "string"
}
}
},
"metaData": {
"name": "Environment Variables",
"icon": "M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
}
},
{
"schemaIDs": [
"#/properties/sealedSecrets"
],
"uiSchema": {
"#/properties/sealedSecrets": {
"additionalProperties": {
"type": "string"
}
}
},
"metaData": {
"name": "Sealed Secrets",
"icon": "M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"
}
},
{
"schemaIDs": [
"#/properties/ingress"
],
"uiSchema": {},
"metaData": {
"name": "Host Names",
"icon": "M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"
}
}
]
+131 -53
View File
@@ -48,8 +48,8 @@
"image": {
"$id": "#/properties/image",
"type": "object",
"title": "The image schema",
"description": "An explanation about the purpose of this instance.",
"title": "Image",
"description": "The image to deploy",
"default": {},
"examples": [
{
@@ -65,9 +65,9 @@
"repository": {
"$id": "#/properties/image/properties/repository",
"type": "string",
"title": "The repository schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"title": "Repository",
"description": "",
"default": "nginx",
"examples": [
"nginx"
]
@@ -75,22 +75,23 @@
"tag": {
"$id": "#/properties/image/properties/tag",
"type": "string",
"title": "The tag schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"title": "Tag",
"description": "",
"default": "1.19.3",
"examples": [
"latest"
]
}
},
"additionalProperties": true
}
},
"replicas": {
"$id": "#/properties/replicas",
"type": "integer",
"title": "The replicas schema",
"description": "An explanation about the purpose of this instance.",
"default": 0,
"title": "Replicas",
"description": "",
"default": 1,
"minimum": 0,
"maximum": 16,
"examples": [
1
]
@@ -170,9 +171,9 @@
"containerPort": {
"$id": "#/properties/containerPort",
"type": "integer",
"title": "The containerPort schema",
"description": "An explanation about the purpose of this instance.",
"default": 0,
"title": "Port",
"description": "The port your app is listening on",
"default": 80,
"examples": [
80
]
@@ -180,8 +181,8 @@
"resources": {
"$id": "#/properties/resources",
"type": "object",
"title": "The resources schema",
"description": "An explanation about the purpose of this instance.",
"title": "",
"description": "",
"default": {},
"examples": [
{
@@ -195,16 +196,13 @@
}
}
],
"required": [
"requests",
"limits"
],
"required": [],
"properties": {
"requests": {
"$id": "#/properties/resources/properties/requests",
"type": "object",
"title": "The requests schema",
"description": "An explanation about the purpose of this instance.",
"title": "Requests",
"description": "The typical resources your app uses",
"default": {},
"examples": [
{
@@ -220,9 +218,9 @@
"cpu": {
"$id": "#/properties/resources/properties/requests/properties/cpu",
"type": "string",
"title": "The cpu schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"title": "CPU",
"description": "",
"default": "200m",
"examples": [
"200m"
]
@@ -230,21 +228,20 @@
"memory": {
"$id": "#/properties/resources/properties/requests/properties/memory",
"type": "string",
"title": "The memory schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"title": "Memory",
"description": "",
"default": "200Mi",
"examples": [
"200mi"
]
}
},
"additionalProperties": true
}
},
"limits": {
"$id": "#/properties/resources/properties/limits",
"type": "object",
"title": "The limits schema",
"description": "An explanation about the purpose of this instance.",
"title": "Limits",
"description": "The maximum resources your app may use",
"default": {},
"examples": [
{
@@ -260,9 +257,9 @@
"cpu": {
"$id": "#/properties/resources/properties/limits/properties/cpu",
"type": "string",
"title": "The cpu schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"title": "CPU",
"description": "The hard ceiling for the app's CPU usage. The app will be throttled to this limit. 1000m or 1000 CPU shares = 1 CPU core",
"default": "200m",
"examples": [
"200m"
]
@@ -270,18 +267,16 @@
"memory": {
"$id": "#/properties/resources/properties/limits/properties/memory",
"type": "string",
"title": "The memory schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"title": "Memory",
"description": "The hard ceiling for the app's memory usage. The app will be RESTARTED if it reaches this limit",
"default": "200Mi",
"examples": [
"200mi"
]
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
},
"nodeSelector": {
"$id": "#/properties/nodeSelector",
@@ -324,8 +319,8 @@
"probe": {
"$id": "#/properties/probe",
"type": "object",
"title": "The probe schema",
"description": "An explanation about the purpose of this instance.",
"title": "Healthcheck",
"description": "The Kubernetes Readiness probe that determines whether your app is healthy and if should receive traffic",
"default": {},
"examples": [
{
@@ -341,8 +336,8 @@
"enabled": {
"$id": "#/properties/probe/properties/enabled",
"type": "boolean",
"title": "The enabled schema",
"description": "An explanation about the purpose of this instance.",
"title": "",
"description": "",
"default": false,
"examples": [
false
@@ -351,15 +346,14 @@
"path": {
"$id": "#/properties/probe/properties/path",
"type": "string",
"title": "The path schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"title": "Path",
"description": "The web endpoint that returns HTTP 200 if your application is healthy",
"default": "/",
"examples": [
"/"
]
}
},
"additionalProperties": true
}
},
"secret": {
"$id": "#/properties/secret",
@@ -398,6 +392,90 @@
"examples": [
"/bin/sh"
]
},
"vars": {
"$id": "#/properties/vars",
"type": "object",
"title": "Environment variables",
"description": "",
"default": {},
"examples": [
{
"VAR_1": "value 1",
"VAR_2": "value 2"
}
],
"required": [],
"properties": {},
"additionalProperties": true
},
"sealedSecrets": {
"$id": "#/properties/sealedSecrets",
"type": "object",
"title": "Sealed Secrets",
"description": "",
"default": {},
"examples": [
{
"VAR_1": "value 1",
"VAR_2": "value 2"
}
],
"required": [],
"properties": {},
"additionalProperties": true
},
"ingress": {
"$id": "#/properties/ingress",
"type": "object",
"title": "Incoming traffic",
"description": "",
"default": {},
"examples": [
{
"tlsEnabled": false,
"annotations": {
"kubernetes.io/ingress.class": "nginx"
},
"host": "my-release.mycompany.com"
}
],
"required": [],
"properties": {
"host": {
"$id": "#/properties/ingress/properties/host",
"type": "string",
"title": "Host Name",
"description": "Where your application will be accessible",
"default": "",
"examples": [
"my-release.mycompany.com"
]
},
"tlsEnabled": {
"$id": "#/properties/ingress/properties/tlsEnabled",
"type": "boolean",
"title": "HTTPS",
"description": "",
"default": false,
"examples": [
false
]
},
"annotations": {
"$id": "#/properties/ingress/properties/annotations",
"type": "object",
"title": "Annotations",
"description": "",
"default": {},
"examples": [
{
"kubernetes.io/ingress.class": "nginx"
}
],
"additionalProperties": true
}
}
}
},
"additionalProperties": true
Binary file not shown.
+35 -25
View File
@@ -2,17 +2,17 @@ apiVersion: v1
entries:
cron-job:
- apiVersion: v2
created: "2020-11-12T12:56:36.978797788+01:00"
created: "2020-11-17T13:12:53.143571731+01:00"
description: One chart to rule them all. A generic Helm chart for your application
deployments. Because no-one can remember the Kubernetes yaml syntax.
digest: 16c1b36bcc834a67e2eb40bb46287f606b0a1fdd8141dc19c8c74fb259ac4dac
digest: 3c91e1c3eb6bfb06052a4776d71180205904baab29f860b7d93d3b00f148c26f
name: cron-job
type: application
urls:
- https://chart.onechart.dev/cron-job-0.1.2.tgz
version: 0.1.2
- apiVersion: v2
created: "2020-11-12T12:56:36.978498419+01:00"
created: "2020-11-17T13:12:53.143339967+01:00"
description: One chart to rule them all. A generic Helm chart for your application
deployments. Because no-one can remember the Kubernetes yaml syntax.
digest: afab9ba533a4686827b54b0dad64f5bbf76f7fbc075e35fb1034689db9ab9dda
@@ -22,7 +22,7 @@ entries:
- https://chart.onechart.dev/cron-job-0.1.1.tgz
version: 0.1.1
- apiVersion: v2
created: "2020-11-12T12:56:36.978099655+01:00"
created: "2020-11-17T13:12:53.143014448+01:00"
description: One chart to rule them all. A generic Helm chart for your application
deployments. Because no-one can remember the Kubernetes yaml syntax.
digest: 01f9fa40c1c4085d7688474ab00c9e9d21bd1d0793db6b75f2edda0e18456282
@@ -33,16 +33,16 @@ entries:
version: 0.1.0
namespaces:
- apiVersion: v2
created: "2020-11-12T12:56:36.979471038+01:00"
created: "2020-11-17T13:12:53.144265562+01:00"
description: Chart to create namespaces and their defaults
digest: 1f7a7213e07d04078314ece21e237b31337c17e687509f4bcacd44cb6c0a5270
digest: 1048347a4ce7acfada2c021fc85e4234206e611cc243797e5beb1e9a09bd2e69
name: namespaces
type: application
urls:
- https://chart.onechart.dev/namespaces-0.2.0.tgz
version: 0.2.0
- apiVersion: v2
created: "2020-11-12T12:56:36.979092979+01:00"
created: "2020-11-17T13:12:53.143901699+01:00"
description: Chart to create namespaces and their defaults
digest: 88b06d78a9d1bda6f2ee15b1fad7f25399ac25c2320fb9a8dfa1a4fd14afdf6e
name: namespaces
@@ -52,7 +52,17 @@ entries:
version: 0.1.0
onechart:
- apiVersion: v2
created: "2020-11-12T12:56:36.986369995+01:00"
created: "2020-11-17T13:12:53.15148951+01:00"
description: One chart to rule them all. A generic Helm chart for your application
deployments. Because no-one can remember the Kubernetes yaml syntax.
digest: cb42b08b463b401f6718bba7c171ee55c173021c5101ea1b3068ef3899a6e164
name: onechart
type: application
urls:
- https://chart.onechart.dev/onechart-0.9.0.tgz
version: 0.9.0
- apiVersion: v2
created: "2020-11-17T13:12:53.151044103+01:00"
description: One chart to rule them all. A generic Helm chart for your application
deployments. Because no-one can remember the Kubernetes yaml syntax.
digest: ce046d209a9e8fa07766712492cc896451473fafca129dbc9c675107d0e39c52
@@ -62,7 +72,7 @@ entries:
- https://chart.onechart.dev/onechart-0.8.2.tgz
version: 0.8.2
- apiVersion: v2
created: "2020-11-12T12:56:36.985995464+01:00"
created: "2020-11-17T13:12:53.150612415+01:00"
description: One chart to rule them all. A generic Helm chart for your application
deployments. Because no-one can remember the Kubernetes yaml syntax.
digest: 422d7e6ea1bed530d4cd5e23417b229772a6fe2e835828ca282a3e6c9b646b2b
@@ -72,7 +82,7 @@ entries:
- https://chart.onechart.dev/onechart-0.8.1.tgz
version: 0.8.1
- apiVersion: v2
created: "2020-11-12T12:56:36.985535717+01:00"
created: "2020-11-17T13:12:53.150165139+01:00"
description: One chart to rule them all. A generic Helm chart for your application
deployments. Because no-one can remember the Kubernetes yaml syntax.
digest: 8001bd02fc90ad66da7941c136ee8d0e665ea90b6e1ac27d82b048f2b12b3964
@@ -82,7 +92,7 @@ entries:
- https://chart.onechart.dev/onechart-0.8.0.tgz
version: 0.8.0
- apiVersion: v2
created: "2020-11-12T12:56:36.985009244+01:00"
created: "2020-11-17T13:12:53.149696206+01:00"
description: One chart to rule them all. A generic Helm chart for your application
deployments. Because no-one can remember the Kubernetes yaml syntax.
digest: d1454b430eb7131d0d450f7c0a8a6698278893c61e03d48649a8112dfcf42b72
@@ -92,7 +102,7 @@ entries:
- https://chart.onechart.dev/onechart-0.7.1.tgz
version: 0.7.1
- apiVersion: v2
created: "2020-11-12T12:56:36.984600314+01:00"
created: "2020-11-17T13:12:53.149271676+01:00"
description: One chart to rule them all. A generic Helm chart for your application
deployments. Because no-one can remember the Kubernetes yaml syntax.
digest: 4bf90835f287917671ec40b5b395da9332cf18e70f248d250f8d5a72360dcb4e
@@ -102,7 +112,7 @@ entries:
- https://chart.onechart.dev/onechart-0.7.0.tgz
version: 0.7.0
- apiVersion: v2
created: "2020-11-12T12:56:36.984176976+01:00"
created: "2020-11-17T13:12:53.148871501+01:00"
description: One chart to rule them all. A generic Helm chart for your application
deployments. Because no-one can remember the Kubernetes yaml syntax.
digest: 0cade489fc74a040f5e7f71d01c6fa00d3f68b4752a4d8234ccf2c1504b4c0a1
@@ -112,7 +122,7 @@ entries:
- https://chart.onechart.dev/onechart-0.6.1.tgz
version: 0.6.1
- apiVersion: v2
created: "2020-11-12T12:56:36.983815012+01:00"
created: "2020-11-17T13:12:53.148528377+01:00"
description: One chart to rule them all. A generic Helm chart for your application
deployments. Because no-one can remember the Kubernetes yaml syntax.
digest: d607820a7e104eaaa88c153c1f2f7f409ef4c612ad747caeb3a671cf3fce03d4
@@ -122,7 +132,7 @@ entries:
- https://chart.onechart.dev/onechart-0.6.0.tgz
version: 0.6.0
- apiVersion: v2
created: "2020-11-12T12:56:36.98346279+01:00"
created: "2020-11-17T13:12:53.148156511+01:00"
description: One chart to rule them all. A generic Helm chart for your application
deployments. Because no-one can remember the Kubernetes yaml syntax.
digest: ddf7cf87402095d62855898744b805115fdf86c4b295e0a4def0c50408fd9138
@@ -132,7 +142,7 @@ entries:
- https://chart.onechart.dev/onechart-0.5.1.tgz
version: 0.5.1
- apiVersion: v2
created: "2020-11-12T12:56:36.98309476+01:00"
created: "2020-11-17T13:12:53.147778601+01:00"
description: One chart to rule them all. A generic Helm chart for your application
deployments. Because no-one can remember the Kubernetes yaml syntax.
digest: adf3c2cf3a27e58ec75620599e0e1c2031a7410a061a590317beeff6d8a9ad69
@@ -142,7 +152,7 @@ entries:
- https://chart.onechart.dev/onechart-0.5.0.tgz
version: 0.5.0
- apiVersion: v2
created: "2020-11-12T12:56:36.982749167+01:00"
created: "2020-11-17T13:12:53.147427292+01:00"
description: One chart to rule them all. A generic Helm chart for your application
deployments. Because no-one can remember the Kubernetes yaml syntax.
digest: 8dab33263c4e632aeb4656c666871440b589497b70e76a1d6c3a5e3db1a30bba
@@ -152,7 +162,7 @@ entries:
- https://chart.onechart.dev/onechart-0.4.0.tgz
version: 0.4.0
- apiVersion: v2
created: "2020-11-12T12:56:36.982371234+01:00"
created: "2020-11-17T13:12:53.147079605+01:00"
description: A generic Helm chart for your application deployments
digest: fbaf6139e0ef8ad9a87cc1e41a97c7d25fdcf7ea17fa6364952f1a851a87480a
name: onechart
@@ -161,7 +171,7 @@ entries:
- https://chart.onechart.dev/onechart-0.3.2.tgz
version: 0.3.2
- apiVersion: v2
created: "2020-11-12T12:56:36.982050565+01:00"
created: "2020-11-17T13:12:53.146740099+01:00"
description: A generic Helm chart for your application deployments
digest: bd6f5b1865ab9b05fc6925c163ab8045235bd2723dba31f09d5083d24322d1f8
name: onechart
@@ -170,7 +180,7 @@ entries:
- https://chart.onechart.dev/onechart-0.3.1.tgz
version: 0.3.1
- apiVersion: v2
created: "2020-11-12T12:56:36.981728188+01:00"
created: "2020-11-17T13:12:53.146399972+01:00"
description: A generic Helm chart for your application deployments
digest: c79cef21eceab948144a289298cdf1e20e77a0782a883d7d65f9e709ccbbc271
name: onechart
@@ -179,7 +189,7 @@ entries:
- https://chart.onechart.dev/onechart-0.3.0.tgz
version: 0.3.0
- apiVersion: v2
created: "2020-11-12T12:56:36.981399145+01:00"
created: "2020-11-17T13:12:53.146083523+01:00"
description: A generic Helm chart for your application deployments
digest: dd814ac5d08d5e6163a1b769df6803f5cb0f09d906045086dfcc5be522bb1ec3
name: onechart
@@ -188,7 +198,7 @@ entries:
- https://chart.onechart.dev/onechart-0.2.0.tgz
version: 0.2.0
- apiVersion: v2
created: "2020-11-12T12:56:36.981052629+01:00"
created: "2020-11-17T13:12:53.145383605+01:00"
description: A generic Helm chart for your application deployments
digest: e46062df8053840cbfbba26c0a66a843a79f15a0b43a145ed019327513bd5098
name: onechart
@@ -197,7 +207,7 @@ entries:
- https://chart.onechart.dev/onechart-0.1.2.tgz
version: 0.1.2
- apiVersion: v2
created: "2020-11-12T12:56:36.980706343+01:00"
created: "2020-11-17T13:12:53.144910335+01:00"
description: A generic Helm chart for your application deployments
digest: a7bbc8b7dcc008e89156cd1830282b7d39c0592e82ccdcefb77a25a42eca2a3d
name: onechart
@@ -206,7 +216,7 @@ entries:
- https://chart.onechart.dev/onechart-0.1.1.tgz
version: 0.1.1
- apiVersion: v2
created: "2020-11-12T12:56:36.980353829+01:00"
created: "2020-11-17T13:12:53.144588352+01:00"
description: A generic Helm chart for your application deployments
digest: 1ed8c0645abdae6c950526e9c5410dc056847a11700dc7def5f1c55eb7de0cd4
name: onechart
@@ -214,4 +224,4 @@ entries:
urls:
- https://chart.onechart.dev/onechart-0.1.0.tgz
version: 0.1.0
generated: "2020-11-12T12:56:36.977652343+01:00"
generated: "2020-11-17T13:12:53.142559729+01:00"
Binary file not shown.
Binary file not shown.