The Wayback Machine - https://web.archive.org/web/20201202051233/https://github.com/openfaas/docs/pull/232
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

Update cronjob examples to allow entrypoint images #232

Merged
merged 1 commit into from Jul 24, 2020

Conversation

@LucasRoesler
Copy link
Member

@LucasRoesler LucasRoesler commented Jul 24, 2020

Description

Motivation and Context

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s
**What**
- Move the `/bin/sh` to the `command` field so that it defines the
  container entrypoint as the shell. This is the most robust way to
  define these jobs and supports the new `faas-cli` docker image that
  sets `faas-cli` as the entrypoint
- Reference https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
@LucasRoesler LucasRoesler requested a review from alexellis Jul 24, 2020
Copy link
Member

@alexellis alexellis left a comment

Approved

@alexellis alexellis merged commit 9aafd06 into openfaas:master Jul 24, 2020
1 check passed
1 check passed
deploy/netlify Deploy preview ready!
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.