Skip to content

Commit

Permalink
fix: add envFrom for frontend and api deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
minijus committed Oct 6, 2024
1 parent 843229a commit f22b682
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
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
4 changes: 4 additions & 0 deletions charts/nx-cloud/templates/nx-cloud-frontend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.frontend.deployment.envFrom }}
envFrom:
{{- toYaml .Values.frontend.deployment.envFrom | nindent 12 }}
{{- end }}
{{- if .Values.selfSignedCertConfigMap }}
volumes:
- configMap:
Expand Down
4 changes: 4 additions & 0 deletions charts/nx-cloud/templates/nx-cloud-nx-api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ spec:
- name: NX_CLOUD_USE_MONGO42
value: 'false'
{{- end }}
{{- if .Values.nxApi.deployment.envFrom }}
envFrom:
{{- toYaml .Values.nxApi.deployment.envFrom | nindent 12 }}
{{- end }}
{{- if .Values.selfSignedCertConfigMap }}
volumes:
- emptyDir: { }
Expand Down
4 changes: 4 additions & 0 deletions charts/nx-cloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ frontend:
replicas: 1
port: 4202
env: []
envFrom: []
service:
name: nx-cloud-frontend-service
type: ClusterIP
Expand All @@ -55,6 +56,7 @@ nxApi:
replicas: 1
port: 4203
env: []
envFrom: []
readinessProbe: {}
service:
name: nx-cloud-nx-api-service
Expand Down Expand Up @@ -233,6 +235,8 @@ secret:
githubAuthClientSecret: ''
githubWebhookSecret: ''
githubAuthToken: ''
githubAppClientId: ''
githubAppClientSecret: ''
githubAppId: ''
githubPrivateKey: ''
gitlabAccessToken: ''
Expand Down

0 comments on commit f22b682

Please sign in to comment.