Skip to content

Commit

Permalink
Chart: Allow AWS ECS Executor
Browse files Browse the repository at this point in the history
  • Loading branch information
Lipu Fei committed Mar 27, 2024
1 parent 8c44bcb commit e3c6edb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chart/templates/scheduler/scheduler-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ metadata:
release: {{ .Release.Name }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
heritage: {{ .Release.Service }}
executor: {{ .Values.executor }}
executor: {{ trunc -50 .Values.executor }} # AWS ECS Executor name is too long.
{{- with .Values.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
Expand Down
3 changes: 2 additions & 1 deletion chart/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,8 @@
"LocalKubernetesExecutor",
"CeleryExecutor",
"KubernetesExecutor",
"CeleryKubernetesExecutor"
"CeleryKubernetesExecutor",
"airflow.providers.amazon.aws.executors.ecs.ecs_executor.AwsEcsExecutor"
]
},
"allowPodLaunching": {
Expand Down

0 comments on commit e3c6edb

Please sign in to comment.