Skip to content

Commit b5ed9b9

Browse files
pengzhoumlPeng Zhou
andauthored
mle-19593 upgrade image version for few security vulnerabilities (#56)
* MLE-19593 update fluentbit version to 3.2.5 for fewer security vulnerabilities * remove annotation --------- Co-authored-by: Peng Zhou <[email protected]>
1 parent 09015c9 commit b5ed9b9

12 files changed

+16
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,5 +178,5 @@ tls:
178178

179179
## Known Issues and Limitations
180180

181-
1. The latest released version of fluent/fluent-bit:3.1.1 has known high and critical security vulnerabilities. If you decide to enable the log collection feature, choose and deploy the fluent-bit or an alternate image with no vulnerabilities as per your requirements.
181+
1. The latest released version of fluent/fluent-bit:3.2.5 has known high and critical security vulnerabilities. If you decide to enable the log collection feature, choose and deploy the fluent-bit or an alternate image with no vulnerabilities as per your requirements.
182182
2. Known Issues and Limitations for the MarkLogic Server Docker image can be viewed using the link: https://github.com/marklogic/marklogic-docker?tab=readme-ov-file#Known-Issues-and-Limitations.

api/v1alpha1/marklogiccluster_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ type MarklogicClusterSpec struct {
5959
EnableConverters bool `json:"enableConverters,omitempty"`
6060
// +kubebuilder:default:={enabled: false, mountPath: "/dev/hugepages"}
6161
HugePages *HugePages `json:"hugePages,omitempty"`
62-
// +kubebuilder:default:={enabled: false, image: "fluent/fluent-bit:3.1.1", resources: {requests: {cpu: "100m", memory: "200Mi"}, limits: {cpu: "200m", memory: "500Mi"}}, files: {errorLogs: true, accessLogs: true, requestLogs: true}, outputs: "stdout"}
62+
// +kubebuilder:default:={enabled: false, image: "fluent/fluent-bit:3.2.5", resources: {requests: {cpu: "100m", memory: "200Mi"}, limits: {cpu: "200m", memory: "500Mi"}}, files: {errorLogs: true, accessLogs: true, requestLogs: true}, outputs: "stdout"}
6363
LogCollection *LogCollection `json:"logCollection,omitempty"`
6464
HAProxy *HAProxy `json:"haproxy,omitempty"`
6565
Tls *Tls `json:"tls,omitempty"`

api/v1alpha1/marklogicgroup_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ type MarklogicGroupSpec struct {
6666
// +kubebuilder:default:={enabled: false, initialDelaySeconds: 10, timeoutSeconds: 5, periodSeconds: 30, successThreshold: 1, failureThreshold: 3}
6767
ReadinessProbe ContainerProbe `json:"readinessProbe,omitempty"`
6868

69-
// +kubebuilder:default:={enabled: false, image: "fluent/fluent-bit:3.1.1", resources: {requests: {cpu: "100m", memory: "200Mi"}, limits: {cpu: "200m", memory: "500Mi"}}, files: {errorLogs: true, accessLogs: true, requestLogs: true}, outputs: "stdout"}
69+
// +kubebuilder:default:={enabled: false, image: "fluent/fluent-bit:3.2.5", resources: {requests: {cpu: "100m", memory: "200Mi"}, limits: {cpu: "200m", memory: "500Mi"}}, files: {errorLogs: true, accessLogs: true, requestLogs: true}, outputs: "stdout"}
7070
LogCollection *LogCollection `json:"logCollection,omitempty"`
7171

7272
// +kubebuilder:default:={name: "Default", enableXdqpSsl: true}

charts/marklogic-operator/templates/marklogiccluster-crd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2356,7 +2356,7 @@ spec:
23562356
accessLogs: true
23572357
errorLogs: true
23582358
requestLogs: true
2359-
image: fluent/fluent-bit:3.1.1
2359+
image: fluent/fluent-bit:3.2.5
23602360
outputs: stdout
23612361
resources:
23622362
limits:

charts/marklogic-operator/templates/marklogicgroup-crd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ spec:
10681068
accessLogs: true
10691069
errorLogs: true
10701070
requestLogs: true
1071-
image: fluent/fluent-bit:3.1.1
1071+
image: fluent/fluent-bit:3.2.5
10721072
outputs: stdout
10731073
resources:
10741074
limits:

config/crd/bases/database.marklogic.com_marklogicclusters.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4183,7 +4183,7 @@ spec:
41834183
accessLogs: true
41844184
errorLogs: true
41854185
requestLogs: true
4186-
image: fluent/fluent-bit:3.1.1
4186+
image: fluent/fluent-bit:3.2.5
41874187
outputs: stdout
41884188
resources:
41894189
limits:

config/crd/bases/database.marklogic.com_marklogicgroups.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2915,7 +2915,7 @@ spec:
29152915
accessLogs: true
29162916
errorLogs: true
29172917
requestLogs: true
2918-
image: fluent/fluent-bit:3.1.1
2918+
image: fluent/fluent-bit:3.2.5
29192919
outputs: stdout
29202920
resources:
29212921
limits:

config/samples/marklogiccluster.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ spec:
2121
## An out of box load balancer with configured to handle cookie based session affinity that required by most MarkLogic applications.
2222
## It also support multi-statement transaction and ODBC connections.
2323
## Uncomment the following lines to enable HAProxy configuration
24-
# haproxy:
25-
# enabled: true
26-
# pathBasedRouting: true
24+
haproxy:
25+
enabled: true
26+
pathBasedRouting: false
2727
# frontendPort: 8080
2828
# tcpPorts:
2929
# enabled: true
@@ -93,7 +93,7 @@ spec:
9393

9494
# logCollection:
9595
# enabled: true
96-
# image: fluent/fluent-bit:3.1.1
96+
# image: fluent/fluent-bit:3.2.5
9797
# files:
9898
# errorLogs: true
9999
# accessLogs: true

config/samples/marklogicgroup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ spec:
4949
enabled: true
5050
## Configure the imagePullSecrets to pull the image from private repository that requires credential
5151
# imagePullSecrets: []
52-
image: fluent/fluent-bit:3.1.1
52+
image: fluent/fluent-bit:3.2.5
5353
files:
5454
errorLogs: true
5555
accessLogs: true

internal/controller/marklogiccluster_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ var _ = Describe("MarklogicCluster Controller", func() {
8686
HugePages: clusterHugePages,
8787
EnableConverters: true,
8888
MarkLogicGroups: marklogicGroups,
89-
LogCollection: &databasev1alpha1.LogCollection{Enabled: true, Image: "fluent/fluent-bit:3.1.1", Files: databasev1alpha1.LogFilesConfig{ErrorLogs: true, AccessLogs: true, RequestLogs: true, CrashLogs: true, AuditLogs: true}, Outputs: "stdout"},
89+
LogCollection: &databasev1alpha1.LogCollection{Enabled: true, Image: "fluent/fluent-bit:3.2.5", Files: databasev1alpha1.LogFilesConfig{ErrorLogs: true, AccessLogs: true, RequestLogs: true, CrashLogs: true, AuditLogs: true}, Outputs: "stdout"},
9090
HAProxy: &databasev1alpha1.HAProxy{
9191
Enabled: true,
9292
ReplicaCount: 1,

0 commit comments

Comments
 (0)