diff --git a/charts/switcher-gitops/Chart.yaml b/charts/switcher-gitops/Chart.yaml index d9ebf0d..914ebbb 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.2 +version: 1.0.3 appVersion: "latest" diff --git a/charts/switcher-gitops/README.md b/charts/switcher-gitops/README.md index afec287..ef7ff18 100644 --- a/charts/switcher-gitops/README.md +++ b/charts/switcher-gitops/README.md @@ -31,13 +31,14 @@ helm uninstall switchergitops --namespace switcherapi | `api.env.sslEnabled` | API SSL Enabled | `false` | | `api.env.sslSecretName` | API SSL Secret Name (enable HTTPS) | `` | | `app.env.switcherCertPath` | API SSL Cert Path | `` | +| `app.env.switcherKeyPath` | API SSL Key Path | `` | | `app.env.gitTokenPrivateKey` | Git Token Private Key | `` | | `app.env.switcherApiJwtSecret` | Switcher API JWT Secret | `` | | `app.env.switcherAPIUrl` | Switcher API URL | `` | | `app.env.switcherApiCACert` | Switcher API SSL CA Cert Path | `` | | `app.env.mongoUri` | API Database URI | < see values.yml > | | `app.env.mongoDb` | API Database Name | `switcher-gitops` | -| `app.env.hanlderWaitingTime` | Handler Waiting Time | `1m` | +| `app.env.handlerWaitingTime` | Handler Waiting Time | `1m` | | `app.env.gitUser` | Git User | `switcher-gitops` | ## Local diff --git a/charts/switcher-gitops/templates/configmap.yaml b/charts/switcher-gitops/templates/configmap.yaml index d555e84..d984966 100644 --- a/charts/switcher-gitops/templates/configmap.yaml +++ b/charts/switcher-gitops/templates/configmap.yaml @@ -10,8 +10,8 @@ data: PORT: {{ .Values.app.port | quote }} SSL_ENABLED: {{ .Values.app.env.sslEnabled | quote }} SSL_CERT_FILE: {{ .Values.app.env.switcherCertPath | quote }} - SSL_KEY_FILE: {{ .Values.app.env.switcherCertPath | quote }} - HANDLER_WAITING_TIME: {{ .Values.app.env.hanlderWaitingTime | quote }} + SSL_KEY_FILE: {{ .Values.app.env.switcherKeyPath | quote }} + HANDLER_WAITING_TIME: {{ .Values.app.env.handlerWaitingTime | quote }} GIT_USER: {{ .Values.app.env.gitUser | quote }} # Switcher API diff --git a/charts/switcher-gitops/values.schema.json b/charts/switcher-gitops/values.schema.json index 0dcf482..4bc43cf 100644 --- a/charts/switcher-gitops/values.schema.json +++ b/charts/switcher-gitops/values.schema.json @@ -31,7 +31,13 @@ "gitUser": { "type": "string" }, - "hanlderWaitingTime": { + "gitTokenPrivateKey": { + "type": "string" + }, + "switcherApiJwtSecret": { + "type": "string" + }, + "handlerWaitingTime": { "type": "string" }, "logLevel": { @@ -58,6 +64,9 @@ "switcherCertPath": { "type": "string" }, + "switcherKeyPath": { + "type": "string" + }, "switcherPathGraphQL": { "type": "string" }, diff --git a/charts/switcher-gitops/values.yaml b/charts/switcher-gitops/values.yaml index 8d2c637..0b53bdf 100644 --- a/charts/switcher-gitops/values.yaml +++ b/charts/switcher-gitops/values.yaml @@ -10,13 +10,16 @@ app: switcherAPIUrl: "https://switcherapi.com/api" switcherPathGraphQL: "/gitops-graphql" switcherPathPush: "/gitops/v1/push" - hanlderWaitingTime: "1m" + handlerWaitingTime: "1m" gitUser: "switcher-gitops" + gitTokenPrivateKey: "" + switcherApiJwtSecret: "" # Enable SSL sslEnabled: 'false' sslSecretName: "" switcherCertPath: "" + switcherKeyPath: "" image: repository: trackerforce/switcher-gitops