Skip to content

Commit

Permalink
Update crds
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Apr 2, 2024
1 parent 9e52bcf commit a89921d
Show file tree
Hide file tree
Showing 41 changed files with 15,550 additions and 980 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ require (
kmodules.xyz/custom-resources v0.29.1
kmodules.xyz/go-containerregistry v0.0.12
kmodules.xyz/monitoring-agent-api v0.29.0
kmodules.xyz/resource-metadata v0.18.2
kmodules.xyz/resource-metadata v0.18.3-0.20240402160934-9a75105ebc2c
kmodules.xyz/resource-metrics v0.29.1
kmodules.xyz/sets v0.29.0
kubeops.dev/falco-ui-server v0.0.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3490,8 +3490,8 @@ kmodules.xyz/monitoring-agent-api v0.29.0 h1:gpFl6OZrlMLb/ySMHdREI9EwGtnJ91oZBn9
kmodules.xyz/monitoring-agent-api v0.29.0/go.mod h1:iNbvaMTgVFOI5q2LJtGK91j4Dmjv4ZRiRdasGmWLKQI=
kmodules.xyz/offshoot-api v0.29.0 h1:GHLhxxT9jU1N8+FvOCCeJNyU5g0duYS46UGrs6AHNLY=
kmodules.xyz/offshoot-api v0.29.0/go.mod h1:5NxhBblXoDHWStx9HCDJR2KFTwYjEZ7i1Id3jelIunw=
kmodules.xyz/resource-metadata v0.18.2 h1:rfyq0Wnzx/2OiWGFbHTRp9cVvr2KI8xOCyy7gUVytm4=
kmodules.xyz/resource-metadata v0.18.2/go.mod h1:Vb2bFCOX4uz2TsRRMzTkUqFWWOjJ261lY8Hs2HWgzh4=
kmodules.xyz/resource-metadata v0.18.3-0.20240402160934-9a75105ebc2c h1:t8O0JMSFsBZNdAWWRsti0gyHV3GguALyW97mVuUUO+k=
kmodules.xyz/resource-metadata v0.18.3-0.20240402160934-9a75105ebc2c/go.mod h1:BpiDz1s/0reTAvG1IgQgFGXTTgqS6TRf0VEGk5Z4tO4=
kmodules.xyz/resource-metrics v0.29.1 h1:gP4SNosdDGFImpne52mnQtHacmnllYkTMcYL//p/ltM=
kmodules.xyz/resource-metrics v0.29.1/go.mod h1:OuG/QobZ7o8GFHl/u3lqaUR0fDZDegxtV8Vdh+MNBD4=
kmodules.xyz/sets v0.29.0 h1:ZX/qOECzUob95JhhRtngJElHSlJ1UNNdwK4hTEy+nl0=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ spec:
version: v1alpha1
validation:
openAPIV3Schema:
description: Addon specifies the backup and restore capabilities for a particular
resource. For example, MySQL addon specifies the backup and restore capabilities
of MySQL database where Postgres addon specifies backup and restore capabilities
for PostgreSQL database. An Addon CR defines the backup and restore tasks
that can be performed by this addon.
description: Addon specifies the backup and restore capabilities for a specific
type of target. For example, MySQL addon specifies the backup and restore
capabilities of MySQL database where Postgres addon specifies backup and restore
capabilities for PostgreSQL database. An Addon CR defines these capabilities
as tasks for backup and restore.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
Expand Down Expand Up @@ -98,13 +98,13 @@ spec:
execute the task. For example, it can be a Job, a sidecar container,
an ephemeral container, or a Job that creates additional Jobs/Pods
for executing the backup/restore logic. Valid values are: -
"Job": Stash will create a Job to execute the backup/restore
task. - "Sidecar": Stash will inject a sidecar container into
the application to execute the backup/restore task. - "EphemeralContainer":
Stash will attach an ephemeral container to the respective Pods
to execute the backup/restore task. - "MultiLevelJob": Stash
will create a Job that will create additional Jobs/Pods to execute
the backup/restore task.'
"Job": KubeStash will create a Job to execute the backup/restore
task. - "Sidecar": KubeStash will inject a sidecar container
into the application to execute the backup/restore task. - "EphemeralContainer":
KubeStash will attach an ephemeral container to the respective
Pods to execute the backup/restore task. - "MultiLevelJob":
KubeStash will create a Job that will create additional Jobs/Pods
to execute the backup/restore task.'
enum:
- Job
- Sidecar
Expand Down Expand Up @@ -144,52 +144,6 @@ spec:
type: string
type: object
type: array
passThroughMounts:
description: PassThroughMounts specifies a list of volume mount
for the VolumeTemplates that should be mounted on second level
Jobs/Pods created by the first level executor Job. If the volume
needs to be mounted on both first level and second level Jobs/Pods,
then specify the mount in both VolumeMounts and PassThroughMounts
section. If the volume type is VolumeClaimTemplate, then the
first level job is responsible for creating the volume.
items:
description: VolumeMount describes a mounting of a Volume within
a container.
properties:
mountPath:
description: Path within the container at which the volume
should be mounted. Must not contain ':'.
type: string
mountPropagation:
description: mountPropagation determines how mounts are
propagated from the host to container and the other way
around. When not set, MountPropagationNone is used. This
field is beta in 1.10.
type: string
name:
description: This must match the Name of a Volume.
type: string
readOnly:
description: Mounted read-only if true, read-write otherwise
(false or unspecified). Defaults to false.
type: boolean
subPath:
description: Path within the volume from which the container's
volume should be mounted. Defaults to "" (volume's root).
type: string
subPathExpr:
description: Expanded path within the volume from which
the container's volume should be mounted. Behaves similarly
to SubPath but environment variable references $(VAR_NAME)
are expanded using the container's environment. Defaults
to "" (volume's root). SubPathExpr and SubPath are mutually
exclusive.
type: string
required:
- mountPath
- name
type: object
type: array
singleton:
description: Singleton specifies whether this task will be executed
on a single job or across multiple jobs.
Expand All @@ -198,8 +152,8 @@ spec:
description: VolumeMounts specifies the mount path of the volumes
specified in the VolumeTemplate section. These volumes will
be mounted directly on the Job/Container created/injected by
Stash operator. If the volume type is VolumeClaimTemplate, then
Stash operator is responsible for creating the volume.
KubeStash operator. If the volume type is VolumeClaimTemplate,
then KubeStash operator is responsible for creating the volume.
items:
description: VolumeMount describes a mounting of a Volume within
a container.
Expand Down Expand Up @@ -2548,13 +2502,13 @@ spec:
execute the task. For example, it can be a Job, a sidecar container,
an ephemeral container, or a Job that creates additional Jobs/Pods
for executing the backup/restore logic. Valid values are: -
"Job": Stash will create a Job to execute the backup/restore
task. - "Sidecar": Stash will inject a sidecar container into
the application to execute the backup/restore task. - "EphemeralContainer":
Stash will attach an ephemeral container to the respective Pods
to execute the backup/restore task. - "MultiLevelJob": Stash
will create a Job that will create additional Jobs/Pods to execute
the backup/restore task.'
"Job": KubeStash will create a Job to execute the backup/restore
task. - "Sidecar": KubeStash will inject a sidecar container
into the application to execute the backup/restore task. - "EphemeralContainer":
KubeStash will attach an ephemeral container to the respective
Pods to execute the backup/restore task. - "MultiLevelJob":
KubeStash will create a Job that will create additional Jobs/Pods
to execute the backup/restore task.'
enum:
- Job
- Sidecar
Expand Down Expand Up @@ -2594,52 +2548,6 @@ spec:
type: string
type: object
type: array
passThroughMounts:
description: PassThroughMounts specifies a list of volume mount
for the VolumeTemplates that should be mounted on second level
Jobs/Pods created by the first level executor Job. If the volume
needs to be mounted on both first level and second level Jobs/Pods,
then specify the mount in both VolumeMounts and PassThroughMounts
section. If the volume type is VolumeClaimTemplate, then the
first level job is responsible for creating the volume.
items:
description: VolumeMount describes a mounting of a Volume within
a container.
properties:
mountPath:
description: Path within the container at which the volume
should be mounted. Must not contain ':'.
type: string
mountPropagation:
description: mountPropagation determines how mounts are
propagated from the host to container and the other way
around. When not set, MountPropagationNone is used. This
field is beta in 1.10.
type: string
name:
description: This must match the Name of a Volume.
type: string
readOnly:
description: Mounted read-only if true, read-write otherwise
(false or unspecified). Defaults to false.
type: boolean
subPath:
description: Path within the volume from which the container's
volume should be mounted. Defaults to "" (volume's root).
type: string
subPathExpr:
description: Expanded path within the volume from which
the container's volume should be mounted. Behaves similarly
to SubPath but environment variable references $(VAR_NAME)
are expanded using the container's environment. Defaults
to "" (volume's root). SubPathExpr and SubPath are mutually
exclusive.
type: string
required:
- mountPath
- name
type: object
type: array
singleton:
description: Singleton specifies whether this task will be executed
on a single job or across multiple jobs.
Expand All @@ -2648,8 +2556,8 @@ spec:
description: VolumeMounts specifies the mount path of the volumes
specified in the VolumeTemplate section. These volumes will
be mounted directly on the Job/Container created/injected by
Stash operator. If the volume type is VolumeClaimTemplate, then
Stash operator is responsible for creating the volume.
KubeStash operator. If the volume type is VolumeClaimTemplate,
then KubeStash operator is responsible for creating the volume.
items:
description: VolumeMount describes a mounting of a Volume within
a container.
Expand Down
Loading

0 comments on commit a89921d

Please sign in to comment.