diff --git a/charts/switcher-api/Chart.yaml b/charts/switcher-api/Chart.yaml index de820f6..bad5245 100644 --- a/charts/switcher-api/Chart.yaml +++ b/charts/switcher-api/Chart.yaml @@ -9,5 +9,5 @@ maintainers: url: https://github.com/petruki type: application -version: 1.3.3 +version: 1.3.4 appVersion: "latest" diff --git a/charts/switcher-api/values.schema.json b/charts/switcher-api/values.schema.json new file mode 100644 index 0000000..96951da --- /dev/null +++ b/charts/switcher-api/values.schema.json @@ -0,0 +1,351 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "api": { + "type": "object", + "properties": { + "affinity": { + "type": "object" + }, + "autoscaling": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "maxReplicas": { + "type": "integer" + }, + "minReplicas": { + "type": "integer" + }, + "targetCPUUtilizationPercentage": { + "type": "integer" + } + } + }, + "env": { + "type": "object", + "properties": { + "googleSkipAuth": { + "type": "boolean" + }, + "historyActivated": { + "type": "boolean" + }, + "metricsActivated": { + "type": "boolean" + }, + "mongoUri": { + "type": "string" + }, + "permissionCacheActivated": { + "type": "boolean" + }, + "sslSecretName": { + "type": "string" + }, + "switcherApiLogger": { + "type": "boolean" + } + } + }, + "envFrom": { + "type": "array", + "items": { + "type": "object", + "properties": { + "configMapRef": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + } + } + } + }, + "fullnameOverride": { + "type": "string" + }, + "image": { + "type": "object", + "properties": { + "pullPolicy": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "imagePullSecrets": { + "type": "array" + }, + "nameOverride": { + "type": "string" + }, + "nodeSelector": { + "type": "object" + }, + "podAnnotations": { + "type": "object" + }, + "port": { + "type": "integer" + }, + "replicaCount": { + "type": "integer" + }, + "resources": { + "type": "object" + }, + "service": { + "type": "object", + "properties": { + "port": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "tolerations": { + "type": "array" + } + } + }, + "management": { + "type": "object", + "properties": { + "affinity": { + "type": "object" + }, + "autoscaling": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "maxReplicas": { + "type": "integer" + }, + "minReplicas": { + "type": "integer" + }, + "targetCPUUtilizationPercentage": { + "type": "integer" + } + } + }, + "env": { + "type": "object", + "properties": { + "allowHomeView": { + "type": "boolean" + }, + "switcherApiUrl": { + "type": "string" + }, + "switcherManagementUrl": { + "type": "string" + }, + "switcherSlackUrl": { + "type": "string" + } + } + }, + "envFrom": { + "type": "array", + "items": { + "type": "object", + "properties": { + "configMapRef": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + } + } + } + }, + "fullnameOverride": { + "type": "string" + }, + "image": { + "type": "object", + "properties": { + "pullPolicy": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "imagePullSecrets": { + "type": "array" + }, + "nameOverride": { + "type": "string" + }, + "nodeSelector": { + "type": "object" + }, + "podAnnotations": { + "type": "object" + }, + "port": { + "type": "integer" + }, + "portTls": { + "type": "integer" + }, + "replicaCount": { + "type": "integer" + }, + "resources": { + "type": "object" + }, + "service": { + "type": "object", + "properties": { + "port": { + "type": "integer" + }, + "portTls": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "tolerations": { + "type": "array" + } + } + }, + "resolver": { + "type": "object", + "properties": { + "affinity": { + "type": "object" + }, + "autoscaling": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "maxReplicas": { + "type": "integer" + }, + "minReplicas": { + "type": "integer" + }, + "targetCPUUtilizationPercentage": { + "type": "integer" + } + } + }, + "env": { + "type": "object", + "properties": { + "metricsActivated": { + "type": "boolean" + }, + "mongoUri": { + "type": "string" + }, + "sslSecretName": { + "type": "string" + }, + "switcherApiLogger": { + "type": "boolean" + } + } + }, + "envFrom": { + "type": "array", + "items": { + "type": "object", + "properties": { + "configMapRef": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + } + } + } + }, + "fullnameOverride": { + "type": "string" + }, + "image": { + "type": "object", + "properties": { + "pullPolicy": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "imagePullSecrets": { + "type": "array" + }, + "nameOverride": { + "type": "string" + }, + "nodeSelector": { + "type": "object" + }, + "podAnnotations": { + "type": "object" + }, + "port": { + "type": "integer" + }, + "replicaCount": { + "type": "integer" + }, + "resources": { + "type": "object" + }, + "service": { + "type": "object", + "properties": { + "port": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "tolerations": { + "type": "array" + } + } + } + } +} diff --git a/charts/switcher-gitops/Chart.yaml b/charts/switcher-gitops/Chart.yaml index f7f9cb1..d9ebf0d 100644 --- a/charts/switcher-gitops/Chart.yaml +++ b/charts/switcher-gitops/Chart.yaml @@ -9,5 +9,5 @@ maintainers: url: https://github.com/petruki type: application -version: 1.0.1 +version: 1.0.2 appVersion: "latest" diff --git a/charts/switcher-gitops/values.schema.json b/charts/switcher-gitops/values.schema.json new file mode 100644 index 0000000..0dcf482 --- /dev/null +++ b/charts/switcher-gitops/values.schema.json @@ -0,0 +1,140 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "app": { + "type": "object", + "properties": { + "affinity": { + "type": "object" + }, + "autoscaling": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "maxReplicas": { + "type": "integer" + }, + "minReplicas": { + "type": "integer" + }, + "targetCPUUtilizationPercentage": { + "type": "integer" + } + } + }, + "env": { + "type": "object", + "properties": { + "gitUser": { + "type": "string" + }, + "hanlderWaitingTime": { + "type": "string" + }, + "logLevel": { + "type": "string" + }, + "mongoDb": { + "type": "string" + }, + "mongoUri": { + "type": "string" + }, + "sslEnabled": { + "type": "string" + }, + "sslSecretName": { + "type": "string" + }, + "switcherAPIUrl": { + "type": "string" + }, + "switcherApiCACert": { + "type": "string" + }, + "switcherCertPath": { + "type": "string" + }, + "switcherPathGraphQL": { + "type": "string" + }, + "switcherPathPush": { + "type": "string" + } + } + }, + "envFrom": { + "type": "array", + "items": { + "type": "object", + "properties": { + "configMapRef": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + } + } + } + }, + "fullnameOverride": { + "type": "string" + }, + "image": { + "type": "object", + "properties": { + "pullPolicy": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "imagePullSecrets": { + "type": "array" + }, + "nameOverride": { + "type": "string" + }, + "nodeSelector": { + "type": "object" + }, + "podAnnotations": { + "type": "object" + }, + "port": { + "type": "integer" + }, + "replicaCount": { + "type": "integer" + }, + "resources": { + "type": "object" + }, + "service": { + "type": "object", + "properties": { + "port": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "tolerations": { + "type": "array" + } + } + } + } +} diff --git a/charts/switcher-slack-app/Chart.yaml b/charts/switcher-slack-app/Chart.yaml index a3a4add..f64c1ad 100644 --- a/charts/switcher-slack-app/Chart.yaml +++ b/charts/switcher-slack-app/Chart.yaml @@ -9,5 +9,5 @@ maintainers: url: https://github.com/petruki type: application -version: 1.1.3 +version: 1.1.4 appVersion: "latest" diff --git a/charts/switcher-slack-app/values.schema.json b/charts/switcher-slack-app/values.schema.json new file mode 100644 index 0000000..95e189e --- /dev/null +++ b/charts/switcher-slack-app/values.schema.json @@ -0,0 +1,119 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "app": { + "type": "object", + "properties": { + "affinity": { + "type": "object" + }, + "autoscaling": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "maxReplicas": { + "type": "integer" + }, + "minReplicas": { + "type": "integer" + }, + "targetCPUUtilizationPercentage": { + "type": "integer" + } + } + }, + "env": { + "type": "object", + "properties": { + "slackClientId": { + "type": "string" + }, + "sslSecretName": { + "type": "string" + }, + "switcherAPIUrl": { + "type": "string" + }, + "switcherCertPath": { + "type": "string" + }, + "switcherManagementUrl": { + "type": "string" + } + } + }, + "envFrom": { + "type": "array", + "items": { + "type": "object", + "properties": { + "configMapRef": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + } + } + } + }, + "fullnameOverride": { + "type": "string" + }, + "image": { + "type": "object", + "properties": { + "pullPolicy": { + "type": "string" + }, + "repository": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "imagePullSecrets": { + "type": "array" + }, + "nameOverride": { + "type": "string" + }, + "nodeSelector": { + "type": "object" + }, + "podAnnotations": { + "type": "object" + }, + "port": { + "type": "integer" + }, + "replicaCount": { + "type": "integer" + }, + "resources": { + "type": "object" + }, + "service": { + "type": "object", + "properties": { + "port": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, + "tolerations": { + "type": "array" + } + } + } + } +}