Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SECURITY_CONTACTS → SECURITY_CONTACTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
# DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE
# INSTRUCTIONS AT https://kubernetes.io/security/

cheyang
RongGu
* cheyang
* RongGu
2 changes: 1 addition & 1 deletion charts/fluid/fluid/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ version: 1.0.6

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 1.0.6-4dda402
appVersion: 1.0.6-bfc70cc
home: https://github.com/fluid-cloudnative/fluid
keywords:
- category:data
Expand Down
2 changes: 1 addition & 1 deletion charts/fluid/fluid/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ image:
# Default registry, namespace and version tag for images managed by fluid
imagePrefix: &defaultImagePrefix fluidcloudnative
# imagePrefix: &defaultImagePrefix registry.aliyuncs.com/fluid
version: &defaultVersion v1.0.6-4dda402
version: &defaultVersion v1.0.6-bfc70cc

crdUpgrade:
enabled: true
Expand Down
6 changes: 3 additions & 3 deletions pkg/ddc/alluxio/process_data_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"
)

// TestAlluxioEngine_generateDataProcessValueFile tests the generateDataProcessValueFile
// TestAlluxioEngine_generateDataProcessValueFile tests the generateDataProcessValueFile
// function of AlluxioEngine under different input scenarios.
//
// Parameters:
Expand All @@ -36,8 +36,8 @@ import (
// - args: includes the engine instance, request context, and the input object to test.
//
// Return:
// - Verifies whether generateDataProcessValueFile returns an error as expected
// in each scenario.
// - Verifies whether generateDataProcessValueFile returns an error as expected
// in each scenario.
func TestAlluxioEngine_generateDataProcessValueFile(t *testing.T) {
dataset := &datav1alpha1.Dataset{
ObjectMeta: metav1.ObjectMeta{
Expand Down
19 changes: 10 additions & 9 deletions pkg/ddc/alluxio/transform_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ var (
Name: "local",
}
)

// TestTransformFuse tests the transformFuse method of the Alluxio engine to ensure it correctly
// generates the expected FUSE mount arguments in the Alluxio object based on the provided
// AlluxioRuntime and Dataset specifications.
Expand Down Expand Up @@ -501,11 +502,11 @@ func TestTransformShortCircuit(t *testing.T) {
// for AlluxioRuntime components. It verifies that common metadata specified in the Runtime's
// PodMetadata is correctly applied to Master, Worker, and Fuse components, while ensuring
// component-specific metadata overrides the common settings when present.
// 1. Verifies that labels/annotations from Runtime.Spec.PodMetadata are propagated to
// all components (Master, Worker, Fuse) when no component-specific metadata exists.
// 2. Set master and worker labels/annotations:
// Validates that component-specific metadata in Master/Worker PodMetadata takes precedence
// over common metadata, while Fuse uses common metadata when no Fuse-specific settings exist.
// 1. Verifies that labels/annotations from Runtime.Spec.PodMetadata are propagated to
// all components (Master, Worker, Fuse) when no component-specific metadata exists.
// 2. Set master and worker labels/annotations:
// Validates that component-specific metadata in Master/Worker PodMetadata takes precedence
// over common metadata, while Fuse uses common metadata when no Fuse-specific settings exist.
func TestTransformPodMetadata(t *testing.T) {
engine := &AlluxioEngine{Log: fake.NullLogger()}

Expand Down Expand Up @@ -1121,11 +1122,11 @@ func TestTransformWorkerProperties(t *testing.T) {

// TestTransformFuseProperties verifies that the transformFuse method correctly merges
// and overrides FUSE-related configuration properties from the AlluxioRuntime spec.
//
//
// Specifically, it ensures that:
// - FUSE-specific properties override general properties when both are provided.
// - The resulting Alluxio configuration reflects the correct FUSE properties in both
// the `.Fuse.Properties` and `.Properties` fields.
// - FUSE-specific properties override general properties when both are provided.
// - The resulting Alluxio configuration reflects the correct FUSE properties in both
// the `.Fuse.Properties` and `.Properties` fields.
//
// The test sets up an AlluxioEngine with mocked runtime information and compares
// the resulting configuration against expected values.
Expand Down
Loading