Skip to content

Commit

Permalink
Remove defaults for the init container reaper image
Browse files Browse the repository at this point in the history
  • Loading branch information
adejanovski committed Apr 18, 2024
1 parent 5c85d66 commit c61cde4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 40 deletions.
4 changes: 0 additions & 4 deletions apis/reaper/v1alpha1/reaper_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,7 @@ type ReaperTemplate struct {
ContainerImage *images.Image `json:"containerImage,omitempty"`

// Deprecated: The main container image will be used for the init container as well.
// The image to use for the Reaper pod init container (that performs schema migrations).
// The default is "thelastpickle/cassandra-reaper:3.5.0".
// +optional
// TODO: update with real release version.
// +kubebuilder:default={repository:"thelastpickle",name:"cassandra-reaper",tag:"3.5.0"}
InitContainerImage *images.Image `json:"initContainerImage,omitempty"`

// +kubebuilder:default="default"
Expand Down
22 changes: 4 additions & 18 deletions charts/k8ssandra-operator/crds/k8ssandra-operator-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26320,15 +26320,8 @@ spec:
x-kubernetes-map-type: atomic
type: object
initContainerImage:
default:
name: cassandra-reaper
repository: thelastpickle
tag: 3.5.0
description: |-
Deprecated: The main container image will be used for the init container as well.
The image to use for the Reaper pod init container (that performs schema migrations).
The default is "thelastpickle/cassandra-reaper:3.5.0".
TODO: update with real release version.
description: 'Deprecated: The main container image will be used
for the init container as well.'
properties:
name:
description: The image name to use.
Expand Down Expand Up @@ -31946,15 +31939,8 @@ spec:
x-kubernetes-map-type: atomic
type: object
initContainerImage:
default:
name: cassandra-reaper
repository: thelastpickle
tag: 3.5.0
description: |-
Deprecated: The main container image will be used for the init container as well.
The image to use for the Reaper pod init container (that performs schema migrations).
The default is "thelastpickle/cassandra-reaper:3.5.0".
TODO: update with real release version.
description: 'Deprecated: The main container image will be used for
the init container as well.'
properties:
name:
description: The image name to use.
Expand Down
11 changes: 2 additions & 9 deletions config/crd/bases/k8ssandra.io_k8ssandraclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26258,15 +26258,8 @@ spec:
x-kubernetes-map-type: atomic
type: object
initContainerImage:
default:
name: cassandra-reaper
repository: thelastpickle
tag: 3.5.0
description: |-
Deprecated: The main container image will be used for the init container as well.
The image to use for the Reaper pod init container (that performs schema migrations).
The default is "thelastpickle/cassandra-reaper:3.5.0".
TODO: update with real release version.
description: 'Deprecated: The main container image will be used
for the init container as well.'
properties:
name:
description: The image name to use.
Expand Down
11 changes: 2 additions & 9 deletions config/crd/bases/reaper.k8ssandra.io_reapers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1094,15 +1094,8 @@ spec:
x-kubernetes-map-type: atomic
type: object
initContainerImage:
default:
name: cassandra-reaper
repository: thelastpickle
tag: 3.5.0
description: |-
Deprecated: The main container image will be used for the init container as well.
The image to use for the Reaper pod init container (that performs schema migrations).
The default is "thelastpickle/cassandra-reaper:3.5.0".
TODO: update with real release version.
description: 'Deprecated: The main container image will be used for
the init container as well.'
properties:
name:
description: The image name to use.
Expand Down

0 comments on commit c61cde4

Please sign in to comment.