Skip to content

Commit 2b79084

Browse files
committed
added default value for apiUrl as well
1 parent b36cfa2 commit 2b79084

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

charts/gitops-runtime/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ A Helm chart for Codefresh gitops runtime
106106
| event-reporters.workflow.sensor.replicas | int | `1` | |
107107
| event-reporters.workflow.sensor.resources | object | `{}` | |
108108
| event-reporters.workflow.serviceAccount.create | bool | `true` | |
109-
| global.codefresh | object | `{"accountId":"","apiEventsPath":"/2.0/api/events","gitIntegration":{"provider":{"apiUrl":null,"name":"GITHUB"}},"url":"https://g.codefresh.io","userToken":{"secretKeyRef":{},"token":""}}` | Codefresh platform and account-related settings |
109+
| global.codefresh | object | `{"accountId":"","apiEventsPath":"/2.0/api/events","gitIntegration":{"provider":{"apiUrl":"https://api.github.com","name":"GITHUB"}},"url":"https://g.codefresh.io","userToken":{"secretKeyRef":{},"token":""}}` | Codefresh platform and account-related settings |
110110
| global.codefresh.accountId | string | `""` | Codefresh Account ID. |
111111
| global.codefresh.apiEventsPath | string | `"/2.0/api/events"` | Events API endpoint URL suffix. |
112-
| global.codefresh.gitIntegration | object | `{"provider":{"apiUrl":null,"name":"GITHUB"}}` | Git integration for this runtime. Requires the Git provider name and the provider's API URL. |
113-
| global.codefresh.gitIntegration.provider | object | `{"apiUrl":null,"name":"GITHUB"}` | The Git provider to use. We currently support GitHub, GitLab, Bitbucket Server, and Bitbucket Cloud. |
114-
| global.codefresh.gitIntegration.provider.apiUrl | string | `nil` | Provider API URL. Example for GitHub, https://api.github.com. |
112+
| global.codefresh.gitIntegration | object | `{"provider":{"apiUrl":"https://api.github.com","name":"GITHUB"}}` | Git integration for this runtime. Requires the Git provider name and the provider's API URL. |
113+
| global.codefresh.gitIntegration.provider | object | `{"apiUrl":"https://api.github.com","name":"GITHUB"}` | The Git provider to use. We currently support GitHub, GitLab, Bitbucket Server, and Bitbucket Cloud. |
114+
| global.codefresh.gitIntegration.provider.apiUrl | string | `"https://api.github.com"` | Provider API URL. Example for GitHub, https://api.github.com. |
115115
| global.codefresh.gitIntegration.provider.name | string | `"GITHUB"` | Name of the Git provider: BITBUCKET, BITBUCKET_SERVER, GITHUB, GITLAB |
116116
| global.codefresh.url | string | `"https://g.codefresh.io"` | URL of Codefresh platform. |
117117
| global.codefresh.userToken | object | `{"secretKeyRef":{},"token":""}` | User token. Used for runtime registration against the patform. One of token (for plain text value) or secretKeyRef must be provided. |

charts/gitops-runtime/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ global:
1414
# -- Name of the Git provider: BITBUCKET, BITBUCKET_SERVER, GITHUB, GITLAB
1515
name: GITHUB
1616
# -- Provider API URL. Example for GitHub, https://api.github.com.
17-
apiUrl:
17+
apiUrl: https://api.github.com
1818
# -- User token. Used for runtime registration against the patform. One of token (for plain text value) or secretKeyRef must be provided.
1919
userToken:
2020
# -- User token in plain text. The chart creates and manages the secret for this token.

0 commit comments

Comments
 (0)