You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: KrokCommand is the Schema for the krokcommands API
22
+
properties:
23
+
apiVersion:
24
+
description: 'APIVersion defines the versioned schema of this representation
25
+
of an object. Servers should convert recognized schemas to the latest
26
+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
27
+
type: string
28
+
kind:
29
+
description: 'Kind is a string value representing the REST resource this
30
+
object represents. Servers may infer this from the endpoint the client
31
+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
32
+
type: string
33
+
metadata:
34
+
type: object
35
+
spec:
36
+
description: KrokCommandSpec defines the desired state of KrokCommand
37
+
properties:
38
+
commandHasOutputToWrite:
39
+
description: CommandHasOutputToWrite if defined, it signals the underlying
40
+
Job, to put its output into a generated and created secret.
41
+
type: boolean
42
+
dependencies:
43
+
description: Dependencies defines a list of command names that this
44
+
command depends on.
45
+
items:
46
+
type: string
47
+
type: array
48
+
enabled:
49
+
description: Enabled defines if this command can be executed or not.
50
+
type: boolean
51
+
suspendStrategy:
52
+
default: ScaleDown
53
+
description: SuspendStrategy can be used to modify the behaviour that
54
+
is used when setting suspend to true.
55
+
enum:
56
+
- ScaleDown
57
+
- ScaleDownAndDeleteDisk
58
+
type: string
59
+
image:
60
+
description: 'Image defines the image name and tag of the command
61
+
example: krok-hook/slack-notification:v0.0.1'
62
+
type: string
63
+
platforms:
64
+
description: Platforms holds all the platforms which this command
65
+
supports.
66
+
items:
67
+
type: string
68
+
type: array
69
+
readInputFromSecret:
70
+
description: ReadInputFromSecret if defined, the command will take
71
+
a list of key/value pairs in a secret and apply them as arguments
72
+
to the command.
73
+
properties:
74
+
name:
75
+
type: string
76
+
namespace:
77
+
type: string
78
+
required:
79
+
- name
80
+
- namespace
81
+
type: object
82
+
schedule:
83
+
description: 'Schedule of the command. example: 0 * * * * // follows
84
+
cron job syntax.'
85
+
type: string
86
+
required:
87
+
- image
88
+
type: object
89
+
status:
90
+
description: KrokCommandStatus defines the observed state of KrokCommand
0 commit comments