diff --git a/helm/huly/templates/front/deployment.yaml b/helm/huly/templates/front/deployment.yaml index bb8c4b0..371f129 100644 --- a/helm/huly/templates/front/deployment.yaml +++ b/helm/huly/templates/front/deployment.yaml @@ -47,6 +47,9 @@ spec: {{- include "huly.envConfig" (dict "name" "LOVE_ENDPOINT" "key" "LOVE_ENDPOINT" "root" .) | nindent 12 }} {{- if .Values.githubIntegration.enabled }} {{- include "huly.envConfig" (dict "name" "GITHUB_URL" "key" "GITHUB_URL" "root" .) | nindent 12 }} + {{- include "huly.envSecret" (dict "name" "GITHUB_CLIENTID" "key" "GITHUB_APP_CLIENT_ID" "root" .) | nindent 12 }} + - name: GITHUB_APP + value: {{ .Values.githubIntegration.appSlug | quote }} {{- end }} {{- if .Values.aibot.enabled }} {{- include "huly.envConfig" (dict "name" "AI_URL" "key" "AI_URL" "root" .) | nindent 12 }} diff --git a/helm/huly/values.yaml b/helm/huly/values.yaml index 9e770f1..6ab7185 100644 --- a/helm/huly/values.yaml +++ b/helm/huly/values.yaml @@ -236,6 +236,8 @@ githubIntegration: replicas: 1 # Bot name shown on GitHub (must match the GitHub App's slug + [bot]) botName: "" + # GitHub App slug (from the app URL: github.com/apps/) + appSlug: "" # GitHub App credentials (stored in the shared secret) appId: "" clientId: ""