Skip to content

Commit a190fa9

Browse files
authored
Fix helm charts (#1603)
1 parent bfc5ea4 commit a190fa9

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

charts/actions-runner-controller/templates/githubwebhook.secrets.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,17 @@ data:
1212
{{- if .Values.githubWebhookServer.secret.github_webhook_secret_token }}
1313
github_webhook_secret_token: {{ .Values.githubWebhookServer.secret.github_webhook_secret_token | toString | b64enc }}
1414
{{- end }}
15+
{{- if .Values.githubWebhookServer.secret.github_app_id }}
16+
github_app_id: {{ .Values.githubWebhookServer.secret.github_app_id | toString | b64enc }}
17+
{{- end }}
18+
{{- if .Values.githubWebhookServer.secret.github_app_installation_id }}
19+
github_app_installation_id: {{ .Values.githubWebhookServer.secret.github_app_installation_id | toString | b64enc }}
20+
{{- end }}
21+
{{- if .Values.githubWebhookServer.secret.github_app_private_key }}
22+
github_app_private_key: {{ .Values.githubWebhookServer.secret.github_app_private_key | toString | b64enc }}
23+
{{- end }}
24+
{{- if .Values.githubWebhookServer.secret.github_token }}
25+
github_token: {{ .Values.githubWebhookServer.secret.github_token | toString | b64enc }}
26+
{{- end }}
1527
{{- end }}
1628
{{- end }}

charts/actions-runner-controller/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,13 @@ githubWebhookServer:
183183
name: "github-webhook-server"
184184
### GitHub Webhook Configuration
185185
github_webhook_secret_token: ""
186+
### GitHub Apps Configuration
187+
## NOTE: IDs MUST be strings, use quotes
188+
#github_app_id: ""
189+
#github_app_installation_id: ""
190+
#github_app_private_key: |
191+
### GitHub PAT Configuration
192+
#github_token: ""
186193
imagePullSecrets: []
187194
nameOverride: ""
188195
fullnameOverride: ""

0 commit comments

Comments
 (0)