mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-08-19 04:06:27 +00:00
timoni: Update module schemas
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
// Copyright 2023 Stefan Prodan
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package v1alpha1
|
||||
|
||||
// Action holds the list of annotations for controlling
|
||||
// Timoni's apply behaviour of Kubernetes resources.
|
||||
Action: {
|
||||
// Force annotation for recreating immutable resources such as Kubernetes Jobs.
|
||||
Force: {
|
||||
"action.timoni.sh/force": ActionStatus.Enabled
|
||||
}
|
||||
// One-off annotation for appling resources only if they don't exist on the cluster.
|
||||
Oneoff: {
|
||||
"action.timoni.sh/one-off": ActionStatus.Enabled
|
||||
}
|
||||
// Keep annotation for preventing Timoni's garbage collector from deleting resources.
|
||||
Keep: {
|
||||
"action.timoni.sh/prune": ActionStatus.Disabled
|
||||
}
|
||||
}
|
||||
|
||||
ActionStatus: {
|
||||
Enabled: "enabled"
|
||||
Disabled: "disabled"
|
||||
}
|
||||
Reference in New Issue
Block a user