chore: support app ids as int or strings (#869)

Co-authored-by: Callum <callum@domain.com>
This commit is contained in:
Callum Tait 2021-10-05 01:01:27 +01:00 committed by GitHub
parent 2bc050a62d
commit 0a3d2b686e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -9,10 +9,10 @@ metadata:
type: Opaque
data:
{{- if .Values.authSecret.github_app_id }}
github_app_id: {{ .Values.authSecret.github_app_id | toString | b64enc }}
github_app_id: {{ .Values.authSecret.github_app_id | int | toString | b64enc }}
{{- end }}
{{- if .Values.authSecret.github_app_installation_id }}
github_app_installation_id: {{ .Values.authSecret.github_app_installation_id | toString | b64enc }}
github_app_installation_id: {{ .Values.authSecret.github_app_installation_id | int | toString | b64enc }}
{{- end }}
{{- if .Values.authSecret.github_app_private_key }}
github_app_private_key: {{ .Values.authSecret.github_app_private_key | toString | b64enc }}