Skip to content

Commit 3418a4c

Browse files
committed
rename initConfigImage to preconfigImage
1 parent 96237af commit 3418a4c

File tree

12 files changed

+115
-115
lines changed

12 files changed

+115
-115
lines changed

api/falcon/v1alpha1/falconnodesensor_types.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,12 @@ type FalconNodeSensorConfig struct {
7676
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=2
7777
Image string `json:"image,omitempty"`
7878

79-
// Location of the init-container image for pre-configuration. This image should contain the configuration logic that runs before the main sensor.
79+
// Location of the pre-configuration container image. This image should contain the configuration logic that runs before the main sensor.
80+
// +kubebuilder:validation:Required
81+
// +kubebuilder:validation:MinLength=1
8082
// +kubebuilder:validation:Pattern="^.*:.*$"
8183
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=2
82-
InitConfigImage string `json:"initConfigImage,omitempty"`
84+
PreconfigImage string `json:"preconfigImage"`
8385

8486
// ImagePullSecrets is an optional list of references to secrets in the falcon-system namespace to use for pulling image from image_override location.
8587
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=1

bundle/manifests/falcon-operator.clusterserviceversion.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -965,10 +965,10 @@ spec:
965965
mirror the original image to your repository/name:tag
966966
displayName: Image
967967
path: falconNodeSensor.node.image
968-
- description: Location of the init-container image for pre-configuration. This
969-
image should contain the configuration logic that runs before the main sensor.
970-
displayName: Init Config Image
971-
path: falconNodeSensor.node.initConfigImage
968+
- description: Location of the pre-configuration container image. This image
969+
should contain the configuration logic that runs before the main sensor.
970+
displayName: Preconfig Image
971+
path: falconNodeSensor.node.preconfigImage
972972
- description: Enables the operator to deploy a PriorityClass instead of rolling
973973
your own. Default is false.
974974
displayName: Deploy Priority Class to cluster
@@ -1832,10 +1832,10 @@ spec:
18321832
mirror the original image to your repository/name:tag
18331833
displayName: Image
18341834
path: node.image
1835-
- description: Location of the init-container image for pre-configuration. This
1836-
image should contain the configuration logic that runs before the main sensor.
1837-
displayName: Init Config Image
1838-
path: node.initConfigImage
1835+
- description: Location of the pre-configuration container image. This image
1836+
should contain the configuration logic that runs before the main sensor.
1837+
displayName: Preconfig Image
1838+
path: node.preconfigImage
18391839
- description: Enables the operator to deploy a PriorityClass instead of rolling
18401840
your own. Default is false.
18411841
displayName: Deploy Priority Class to cluster

bundle/manifests/falcon.crowdstrike.com_falcondeployments.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4079,12 +4079,6 @@ spec:
40794079
type: object
40804080
x-kubernetes-map-type: atomic
40814081
type: array
4082-
initConfigImage:
4083-
description: Location of the init-container image for pre-configuration.
4084-
This image should contain the configuration logic that runs
4085-
before the main sensor.
4086-
pattern: ^.*:.*$
4087-
type: string
40884082
nodeAffinity:
40894083
description: Specifies node affinity for scheduling the DaemonSet.
40904084
Defaults to allowing scheduling on all nodes.
@@ -4284,6 +4278,13 @@ spec:
42844278
type: object
42854279
x-kubernetes-map-type: atomic
42864280
type: object
4281+
preconfigImage:
4282+
description: Location of the pre-configuration container image.
4283+
This image should contain the configuration logic that runs
4284+
before the main sensor.
4285+
minLength: 1
4286+
pattern: ^.*:.*$
4287+
type: string
42874288
priorityClass:
42884289
description: Enable priority class for the DaemonSet. This
42894290
is useful for GKE Autopilot clusters, but can be set for
@@ -4472,6 +4473,8 @@ spec:
44724473
version will be selected when this version specifier is
44734474
missing.
44744475
type: string
4476+
required:
4477+
- preconfigImage
44754478
type: object
44764479
type: object
44774480
falconSecret:

bundle/manifests/falcon.crowdstrike.com_falconnodesensors.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -277,12 +277,6 @@ spec:
277277
type: object
278278
x-kubernetes-map-type: atomic
279279
type: array
280-
initConfigImage:
281-
description: Location of the init-container image for pre-configuration.
282-
This image should contain the configuration logic that runs
283-
before the main sensor.
284-
pattern: ^.*:.*$
285-
type: string
286280
nodeAffinity:
287281
description: Specifies node affinity for scheduling the DaemonSet.
288282
Defaults to allowing scheduling on all nodes.
@@ -482,6 +476,13 @@ spec:
482476
type: object
483477
x-kubernetes-map-type: atomic
484478
type: object
479+
preconfigImage:
480+
description: Location of the pre-configuration container image.
481+
This image should contain the configuration logic that runs
482+
before the main sensor.
483+
minLength: 1
484+
pattern: ^.*:.*$
485+
type: string
485486
priorityClass:
486487
description: Enable priority class for the DaemonSet. This is
487488
useful for GKE Autopilot clusters, but can be set for any cluster.
@@ -667,6 +668,8 @@ spec:
667668
description: Version of the sensor to be installed. The latest
668669
version will be selected when this version specifier is missing.
669670
type: string
671+
required:
672+
- preconfigImage
670673
type: object
671674
type: object
672675
status:

config/crd/bases/falcon.crowdstrike.com_falcondeployments.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4087,12 +4087,6 @@ spec:
40874087
type: object
40884088
x-kubernetes-map-type: atomic
40894089
type: array
4090-
initConfigImage:
4091-
description: Location of the init-container image for pre-configuration.
4092-
This image should contain the configuration logic that runs
4093-
before the main sensor.
4094-
pattern: ^.*:.*$
4095-
type: string
40964090
nodeAffinity:
40974091
description: Specifies node affinity for scheduling the DaemonSet.
40984092
Defaults to allowing scheduling on all nodes.
@@ -4292,6 +4286,13 @@ spec:
42924286
type: object
42934287
x-kubernetes-map-type: atomic
42944288
type: object
4289+
preconfigImage:
4290+
description: Location of the pre-configuration container image.
4291+
This image should contain the configuration logic that runs
4292+
before the main sensor.
4293+
minLength: 1
4294+
pattern: ^.*:.*$
4295+
type: string
42954296
priorityClass:
42964297
description: Enable priority class for the DaemonSet. This
42974298
is useful for GKE Autopilot clusters, but can be set for
@@ -4480,6 +4481,8 @@ spec:
44804481
version will be selected when this version specifier is
44814482
missing.
44824483
type: string
4484+
required:
4485+
- preconfigImage
44834486
type: object
44844487
type: object
44854488
falconSecret:

config/crd/bases/falcon.crowdstrike.com_falconnodesensors.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -277,12 +277,6 @@ spec:
277277
type: object
278278
x-kubernetes-map-type: atomic
279279
type: array
280-
initConfigImage:
281-
description: Location of the init-container image for pre-configuration.
282-
This image should contain the configuration logic that runs
283-
before the main sensor.
284-
pattern: ^.*:.*$
285-
type: string
286280
nodeAffinity:
287281
description: Specifies node affinity for scheduling the DaemonSet.
288282
Defaults to allowing scheduling on all nodes.
@@ -482,6 +476,13 @@ spec:
482476
type: object
483477
x-kubernetes-map-type: atomic
484478
type: object
479+
preconfigImage:
480+
description: Location of the pre-configuration container image.
481+
This image should contain the configuration logic that runs
482+
before the main sensor.
483+
minLength: 1
484+
pattern: ^.*:.*$
485+
type: string
485486
priorityClass:
486487
description: Enable priority class for the DaemonSet. This is
487488
useful for GKE Autopilot clusters, but can be set for any cluster.
@@ -667,6 +668,8 @@ spec:
667668
description: Version of the sensor to be installed. The latest
668669
version will be selected when this version specifier is missing.
669670
type: string
671+
required:
672+
- preconfigImage
670673
type: object
671674
type: object
672675
status:

config/manifests/bases/falcon-operator.clusterserviceversion.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -821,10 +821,10 @@ spec:
821821
mirror the original image to your repository/name:tag
822822
displayName: Image
823823
path: falconNodeSensor.node.image
824-
- description: Location of the init-container image for pre-configuration. This
825-
image should contain the configuration logic that runs before the main sensor.
826-
displayName: Init Config Image
827-
path: falconNodeSensor.node.initConfigImage
824+
- description: Location of the pre-configuration container image. This image
825+
should contain the configuration logic that runs before the main sensor.
826+
displayName: Preconfig Image
827+
path: falconNodeSensor.node.preconfigImage
828828
- description: Enables the operator to deploy a PriorityClass instead of rolling
829829
your own. Default is false.
830830
displayName: Deploy Priority Class to cluster
@@ -1688,10 +1688,10 @@ spec:
16881688
mirror the original image to your repository/name:tag
16891689
displayName: Image
16901690
path: node.image
1691-
- description: Location of the init-container image for pre-configuration. This
1692-
image should contain the configuration logic that runs before the main sensor.
1693-
displayName: Init Config Image
1694-
path: node.initConfigImage
1691+
- description: Location of the pre-configuration container image. This image
1692+
should contain the configuration logic that runs before the main sensor.
1693+
displayName: Preconfig Image
1694+
path: node.preconfigImage
16951695
- description: Enables the operator to deploy a PriorityClass instead of rolling
16961696
your own. Default is false.
16971697
displayName: Deploy Priority Class to cluster

deploy/falcon-operator.yaml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7489,12 +7489,6 @@ spec:
74897489
type: object
74907490
x-kubernetes-map-type: atomic
74917491
type: array
7492-
initConfigImage:
7493-
description: Location of the init-container image for pre-configuration.
7494-
This image should contain the configuration logic that runs
7495-
before the main sensor.
7496-
pattern: ^.*:.*$
7497-
type: string
74987492
nodeAffinity:
74997493
description: Specifies node affinity for scheduling the DaemonSet.
75007494
Defaults to allowing scheduling on all nodes.
@@ -7694,6 +7688,13 @@ spec:
76947688
type: object
76957689
x-kubernetes-map-type: atomic
76967690
type: object
7691+
preconfigImage:
7692+
description: Location of the pre-configuration container image.
7693+
This image should contain the configuration logic that runs
7694+
before the main sensor.
7695+
minLength: 1
7696+
pattern: ^.*:.*$
7697+
type: string
76977698
priorityClass:
76987699
description: Enable priority class for the DaemonSet. This
76997700
is useful for GKE Autopilot clusters, but can be set for
@@ -7882,6 +7883,8 @@ spec:
78827883
version will be selected when this version specifier is
78837884
missing.
78847885
type: string
7886+
required:
7887+
- preconfigImage
78857888
type: object
78867889
type: object
78877890
falconSecret:
@@ -8985,12 +8988,6 @@ spec:
89858988
type: object
89868989
x-kubernetes-map-type: atomic
89878990
type: array
8988-
initConfigImage:
8989-
description: Location of the init-container image for pre-configuration.
8990-
This image should contain the configuration logic that runs
8991-
before the main sensor.
8992-
pattern: ^.*:.*$
8993-
type: string
89948991
nodeAffinity:
89958992
description: Specifies node affinity for scheduling the DaemonSet.
89968993
Defaults to allowing scheduling on all nodes.
@@ -9190,6 +9187,13 @@ spec:
91909187
type: object
91919188
x-kubernetes-map-type: atomic
91929189
type: object
9190+
preconfigImage:
9191+
description: Location of the pre-configuration container image.
9192+
This image should contain the configuration logic that runs
9193+
before the main sensor.
9194+
minLength: 1
9195+
pattern: ^.*:.*$
9196+
type: string
91939197
priorityClass:
91949198
description: Enable priority class for the DaemonSet. This is
91959199
useful for GKE Autopilot clusters, but can be set for any cluster.
@@ -9375,6 +9379,8 @@ spec:
93759379
description: Version of the sensor to be installed. The latest
93769380
version will be selected when this version specifier is missing.
93779381
type: string
9382+
required:
9383+
- preconfigImage
93789384
type: object
93799385
type: object
93809386
status:

docs/deployment/openshift/resources/node/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ spec:
5757
#### Node Configuration Settings
5858
| Spec | Description |
5959
| :---------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
60-
| node.initConfigImage | (required) Location of the init-container image for pre-configuration. Only copies configuration on first install. |
60+
| node.preconfigImage | (required) Location of the init-container image for preconfiguration. Only copies configuration on first install. |
6161
| installNamespace | (optional) Override the default namespace of falcon-system |
6262
| node.tolerations | (optional) See https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ for examples on configuring tolerations |
6363
| node.nodeAffinity | (optional) See https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/ for examples on configuring nodeAffinity |

docs/resources/node/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ spec:
5757
#### Node Configuration Settings
5858
| Spec | Description |
5959
| :---------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
60-
| node.initConfigImage | (required) Location of the init-container image for pre-configuration. Only copies configuration on first install. |
60+
| node.preconfigImage | (required) Location of the init-container image for preconfiguration. Only copies configuration on first install. |
6161
| installNamespace | (optional) Override the default namespace of falcon-system |
6262
| node.tolerations | (optional) See https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ for examples on configuring tolerations |
6363
| node.nodeAffinity | (optional) See https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/ for examples on configuring nodeAffinity |

0 commit comments

Comments
 (0)