-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add minimal working example using required fields only (#72)
* feat: add minimal working example using required fields only * added tests and feature for minimal required fields only * added wasm rebuild * updated README and added more tests
- Loading branch information
Showing
15 changed files
with
408 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | ||
apiVersion: delivery.krok.app/v1alpha1 | ||
# Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | ||
kind: KrokCommand | ||
metadata: {} | ||
# KrokCommandSpec defines the desired state of KrokCommand | ||
spec: | ||
# CommandHasOutputToWrite if defined, it signals the underlying Job, to put its output into a generated and created secret. | ||
commandHasOutputToWrite: true | ||
# Dependencies defines a list of command names that this command depends on. | ||
dependencies: ["string"] | ||
# Enabled defines if this command can be executed or not. | ||
enabled: true | ||
# Image defines the image name and tag of the command example: krok-hook/slack-notification:v0.0.1 | ||
image: string | ||
# Platforms holds all the platforms which this command supports. | ||
platforms: ["string"] | ||
# ReadInputFromSecret if defined, the command will take a list of key/value pairs in a secret and apply them as arguments to the command. | ||
readInputFromSecret: | ||
name: string | ||
namespace: string | ||
# Schedule of the command. example: 0 * * * * // follows cron job syntax. | ||
schedule: string | ||
# KrokCommandStatus defines the observed state of KrokCommand | ||
status: {} |
Oops, something went wrong.