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 d95900e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/nx-cloud/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: nx-cloud
description: Nx Cloud Helm Chart
type: application
version: 0.15.12
version: 0.15.13
maintainers:
- name: nx
url: "https://nx.app/"
Expand Down
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 d95900e

Please sign in to comment.