Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support glob pattern in output files #146

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Conversation

loicmathieu
Copy link
Member

Fixes kestra-io/kestra#4649

Example:

id: k8s
namespace: company.team

inputs:
  - id: file
    type: FILE

tasks:
  - id: podCreate
    type: io.kestra.plugin.kubernetes.PodCreate
    spec:
      containers:
      - name: unittest
        image: centos
        command:
          - cp
          - "{{workingDir}}/data.txt"
          - "{{workingDir}}/out.txt"
      restartPolicy: Never
    waitUntilRunning: PT3M
    inputFiles:
      data.txt: "{{inputs.file}}"
    outputFiles:
      - "*.txt"

@loicmathieu loicmathieu merged commit 14f3a7b into master Aug 19, 2024
1 check passed
@loicmathieu loicmathieu deleted the feat/glob-output branch September 12, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

io.kestra.plugin.kubernetes.PodCreate fails with outputFiles using a glob pattern eg *.txt
1 participant