Skip to content
Snippets Groups Projects

Draft: Add CopyActions

Closed Benedikt Wetzel requested to merge wetzel/spesb:add-copy-actions into master
1 unresolved thread
26 files
+ 267
67
Compare changes
  • Side-by-side
  • Inline
Files
26
@@ -99,6 +99,62 @@ spec:
type: array
items:
type: string
actionCopies:
type: array
default: []
items:
type: object
properties:
resources:
type: array
default: [ ]
items:
type: object
oneOf:
- required: [ configMap ]
- required: [ fileSystem ]
properties:
configMap:
description: The configMap resourceSet loads the Kubernetes manifests from an Kubernetes configMap.
type: object
properties:
name:
description: The name of the configMap
type: string
files:
description: (Optional) Specifies which files from the configMap should be loaded. If this field is not set, all files are loaded.
type: array
items:
type: string
fileSystem:
description: The fileSystem resourceSet loads the Kubernetes manifests from the filesystem.
type: object
properties:
path:
description: The path to the folder which contains the Kubernetes manifests files.
type: string
files:
description: (Optional) Specifies which files from the configMap should be loaded. If this field is not set, all files are loaded.
type: array
items:
type: string
selector:
type: object
description: The selector specifies which resource should be selected for the execution of the command.
properties:
pod:
type: object
description: Specifies the pod.
properties:
matchLabels:
type: object
description: The matchLabels of the desired pod.
additionalProperties: true
x-kubernetes-map-type: "granular"
default: { }
targetPath:
type: string
default: ""
configOverrides:
description: List of patchers that are used to override existing configurations.
type: array
Loading