Skip to content

Commit

Permalink
increment version
Browse files Browse the repository at this point in the history
  • Loading branch information
rarmatei committed Jan 9, 2024
1 parent 5a6933e commit 88610e0
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@ spec:
{{- end }}
{{- if or .Values.nxCloudWorkflows.enabled .Values.nxCloudWorkflows.externalNameService }}
- name: NX_CLOUD_WORKFLOW_CONTROLLER_ADDRESS
value: http://nx-cloud-workflow-controller-service:9000
value: http://nx-cloud-workflow-controller-service.{{ .Values.nxCloudWorkflows.namespace }}.svc.cluster.local:9000
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ spec:
port: 9000
initialDelaySeconds: 5
periodSeconds: 10
{{- if gt (len .Values.nxCloudWorkflows.controllerEnv) 0 }}
env:
{{- range $key, $value := .Values.nxCloudWorkflows.controllerEnv }}
- name: {{ $key | quote }}
value: {{ $value | quote }}
{{- end }}
{{- end }}
serviceAccountName: nx-cloud-workflow-controller
terminationGracePeriodSeconds: 10
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: nx-cloud-workflow-runner
namespace: {{ .Values.nxCloudWorkflows.namespace }}
---
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
{{- include "nxCloud.app.labels" . | indent 4 }}
Expand All @@ -15,35 +21,60 @@ metadata:
namespace: {{ .Values.nxCloudWorkflows.namespace }}
rules:
- apiGroups:
- ''
- ''
resources:
- services
- pods
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps
resources:
- deployments
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ''
resources:
- secrets
- secrets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- batch
- batch
resources:
- jobs
- jobs
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- batch
- batch
resources:
- jobs/status
- jobs/status
verbs:
- get
- get
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand All @@ -59,5 +90,5 @@ roleRef:
subjects:
- kind: ServiceAccount
name: nx-cloud-workflow-controller
namespace: {{ .Release.Namespace }}
namespace: {{ .Values.nxCloudWorkflows.namespace }}
{{- end }}
1 change: 1 addition & 0 deletions charts/nx-cloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ nxCloudWorkflows:
externalNameService: ''
buildToolsImageTag: '2401.04.1'
executorEnv: {}
controllerEnv: {}

replicas:
frontend: 1
Expand Down

0 comments on commit 88610e0

Please sign in to comment.