Skip to content

Commit

Permalink
Merge pull request #99 from nrwl/steve/chore/final-missing-props
Browse files Browse the repository at this point in the history
fix(charts): add final missing props
  • Loading branch information
stevepentland authored Feb 29, 2024
2 parents 7494d49 + bbe2e1f commit c8c90db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/nx-agents/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: nx-agents
description: Nx Cloud Agents Helm Chart
type: application
version: 1.0.0-rc.5
version: 1.0.0-rc.6
maintainers:
- name: nx
url: "https://nx.app/"
Expand Down
3 changes: 3 additions & 0 deletions charts/nx-agents/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ spec:
spec:
securityContext:
runAsNonRoot: true
dnsPolicy: ClusterFirst
restartPolicy: Always
{{- if .Values.controller.deployment.affinity }}
affinity:
{{- toYaml .Values.controller.deployment.affinity | nindent 8 }}
Expand Down Expand Up @@ -107,5 +109,6 @@ spec:
{{- end }}
{{- end }}
{{- end }}
serviceAccount: {{ .Values.serviceAccounts.controller.name }}
serviceAccountName: {{ .Values.serviceAccounts.controller.name }}
terminationGracePeriodSeconds: 10
5 changes: 3 additions & 2 deletions charts/nx-agents/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ spec:
selector:
app: nx-cloud-workflow-controller
ports:
- port: {{ .Values.controller.service.port }}
- name: nx-cloud-workflow-controller
port: {{ .Values.controller.service.port }}
targetPort: {{ .Values.controller.deployment.port }}
protocol: TCP
protocol: TCP

0 comments on commit c8c90db

Please sign in to comment.