Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/switcher-gitops/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ maintainers:
url: https://github.com/petruki

type: application
version: 1.0.2
version: 1.0.3
appVersion: "latest"
3 changes: 2 additions & 1 deletion charts/switcher-gitops/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions charts/switcher-gitops/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 10 additions & 1 deletion charts/switcher-gitops/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@
"gitUser": {
"type": "string"
},
"hanlderWaitingTime": {
"gitTokenPrivateKey": {
"type": "string"
},
"switcherApiJwtSecret": {
"type": "string"
},
"handlerWaitingTime": {
"type": "string"
},
"logLevel": {
Expand All @@ -58,6 +64,9 @@
"switcherCertPath": {
"type": "string"
},
"switcherKeyPath": {
"type": "string"
},
"switcherPathGraphQL": {
"type": "string"
},
Expand Down
5 changes: 4 additions & 1 deletion charts/switcher-gitops/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down