
* feat: Add parallelism to argo-helm chart Signed-off-by: David Seel <dseel@blackberry.com> * Parallelism null by default Signed-off-by: David Seel <dseel@blackberry.com>
89 lines
3.7 KiB
YAML
89 lines
3.7 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ .Release.Name }}-{{ .Values.controller.name }}-configmap
|
|
labels:
|
|
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
data:
|
|
config: |
|
|
{{- if .Values.controller.instanceID.enabled }}
|
|
{{- if .Values.controller.instanceID.useReleaseName }}
|
|
instanceID: {{ .Release.Name }}
|
|
{{- else }}
|
|
instanceID: {{ .Values.controller.instanceID.explicitID }}
|
|
{{- end }}
|
|
{{- end }}
|
|
containerRuntimeExecutor: {{ .Values.controller.containerRuntimeExecutor }}
|
|
{{- if .Values.controller.parallelism }}
|
|
parallelism: {{ .Values.controller.parallelism }}
|
|
{{- end }}
|
|
{{- if or .Values.executor.resources .Values.executor.env .Values.executor.securityContext}}
|
|
executor:
|
|
{{- with .Values.executor.resources }}
|
|
resources: {{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- with .Values.executor.env }}
|
|
env: {{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- with .Values.executor.securityContext }}
|
|
securityContext: {{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- if or .Values.minio.install .Values.useDefaultArtifactRepo }}
|
|
artifactRepository:
|
|
{{- if .Values.artifactRepository.archiveLogs }}
|
|
archiveLogs: {{ .Values.artifactRepository.archiveLogs }}
|
|
{{- end }}
|
|
{{- if .Values.artifactRepository.gcs }}
|
|
gcs:
|
|
{{ toYaml .Values.artifactRepository.gcs | indent 8}}
|
|
{{- else }}
|
|
s3:
|
|
{{- if .Values.useStaticCredentials }}
|
|
accessKeySecret:
|
|
key: {{ .Values.artifactRepository.s3.accessKeySecret.key }}
|
|
name: {{ .Values.artifactRepository.s3.accessKeySecret.name | default (printf "%s-%s" .Release.Name "minio") }}
|
|
secretKeySecret:
|
|
key: {{ .Values.artifactRepository.s3.secretKeySecret.key }}
|
|
name: {{ .Values.artifactRepository.s3.secretKeySecret.name | default (printf "%s-%s" .Release.Name "minio") }}
|
|
{{- end }}
|
|
bucket: {{ .Values.artifactRepository.s3.bucket | default .Values.minio.defaultBucket.name }}
|
|
endpoint: {{ .Values.artifactRepository.s3.endpoint | default (printf "%s-%s" .Release.Name "minio:9000") }}
|
|
insecure: {{ .Values.artifactRepository.s3.insecure }}
|
|
{{- if .Values.artifactRepository.s3.keyFormat }}
|
|
keyFormat: {{ .Values.artifactRepository.s3.keyFormat }}
|
|
{{- end }}
|
|
{{- if .Values.artifactRepository.s3.region }}
|
|
region: {{ .Values.artifactRepository.s3.region }}
|
|
{{- end }}
|
|
{{- if .Values.artifactRepository.s3.roleARN }}
|
|
roleARN: {{ .Values.artifactRepository.s3.roleARN }}
|
|
{{- end }}
|
|
{{- if .Values.artifactRepository.s3.useSDKCreds }}
|
|
useSDKCreds: {{ .Values.artifactRepository.s3.useSDKCreds }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end}}
|
|
{{- if .Values.controller.metricsConfig.enabled }}
|
|
metricsConfig:
|
|
{{ toYaml .Values.controller.metricsConfig | indent 6}}{{- end }}
|
|
{{- if .Values.controller.telemetryConfig.enabled }}
|
|
telemetryConfig:
|
|
{{ toYaml .Values.controller.telemetryConfig | indent 6}}{{- end }}
|
|
{{- if .Values.controller.persistence }}
|
|
persistence:
|
|
{{ toYaml .Values.controller.persistence | indent 6 }}{{- end }}
|
|
{{- if .Values.controller.workflowDefaults }}
|
|
workflowDefaults:
|
|
{{ toYaml .Values.controller.workflowDefaults | indent 6 }}{{- end }}
|
|
{{- with .Values.server.sso }}
|
|
sso: {{- toYaml . | nindent 6 }}
|
|
{{- end }}
|
|
{{- with .Values.controller.workflowRestrictions }}
|
|
workflowRestrictions: {{- toYaml . | nindent 6 }}
|
|
{{- end }}
|
|
{{- with .Values.controller.links }}
|
|
links: {{- toYaml . | nindent 6 }}
|
|
{{- end }}
|