Skip to content

Commit

Permalink
fix: set GitHub env variables on frontend deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
minijus committed Oct 6, 2024
1 parent 843229a commit a1345b3
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion charts/nx-cloud/templates/nx-cloud-frontend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,22 @@ spec:
name: {{ .name }}
key: {{ .githubPrivateKey }}
{{- end }}
{{- if .githubAppClientId }}
- name: NX_CLOUD_GITHUB_APP_CLIENT_ID
valueFrom:
secretKeyRef:
name: {{ .name }}
key: {{ .githubAppClientId }}
{{- end }}
{{- if .githubAppClientSecret }}
- name: NX_CLOUD_GITHUB_APP_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: {{ .name }}
key: {{ .githubAppClientSecret }}
{{- end }}
{{- if .githubAppId }}
- name: NX_CLOUD_GITHUB_APP_ID
- name: NX_CLOUD_GITHUB_APP_APP_ID
valueFrom:
secretKeyRef:
name: {{ .name }}
Expand Down

0 comments on commit a1345b3

Please sign in to comment.