Skip to content
Merged
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
2 changes: 1 addition & 1 deletion pkg/controllers/dlb/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (c *controller) newDaemonSetExpected(rawObj client.Object) *apps.DaemonSet
},
ObjectMeta: metav1.ObjectMeta{
Namespace: c.ns,
Name: "intel-dlb-plugin",
Name: appLabel,
Labels: map[string]string{
"app": appLabel,
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/dsa/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (c *controller) newDaemonSetExpected(rawObj client.Object) *apps.DaemonSet
},
ObjectMeta: metav1.ObjectMeta{
Namespace: c.ns,
Name: "intel-dsa-plugin",
Name: appLabel,
Labels: map[string]string{
"app": appLabel,
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/fpga/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (c *controller) newDaemonSetExpected(rawObj client.Object) *apps.DaemonSet
},
ObjectMeta: metav1.ObjectMeta{
Namespace: c.ns,
Name: "intel-fpga-plugin",
Name: appLabel,
Labels: map[string]string{
"app": appLabel,
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/gpu/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (c *controller) newDaemonSetExpected(rawObj client.Object) *apps.DaemonSet
},
ObjectMeta: metav1.ObjectMeta{
Namespace: c.ns,
Name: "intel-gpu-plugin",
Name: appLabel,
Labels: map[string]string{
"app": appLabel,
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/qat/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (c *controller) newDaemonSetExpected(rawObj client.Object) *apps.DaemonSet
},
ObjectMeta: metav1.ObjectMeta{
Namespace: c.ns,
Name: "intel-qat-plugin",
Name: appLabel,
Labels: map[string]string{
"app": appLabel,
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/sgx/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (c *controller) newDaemonSetExpected(rawObj client.Object) *apps.DaemonSet
},
ObjectMeta: metav1.ObjectMeta{
Namespace: c.ns,
Name: "intel-sgx-plugin",
Name: appLabel,
Labels: map[string]string{
"app": appLabel,
},
Expand Down
4 changes: 2 additions & 2 deletions pkg/webhooks/sgx/sgx.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,13 @@ func (s *Mutator) Default(ctx context.Context, obj runtime.Object) error {
// Quote Generation Modes:
//
// in-process: A container has its own quote provider library library: In this mode,
// the container needs a handle to /dev/sgx/provision (sgx.intel.com/provision resource).
// the container needs a handle to /dev/sgx_provision (sgx.intel.com/provision resource).
// out-of-process: A container uses Intel aesmd. In this mode, the container must talk to
// aesmd over /var/run/aesmd/aesm.sock. aesmd can run either as a side-car or a DaemonSet
//
// Mode selection: The mode selection is done by setting sgx.intel.com/quote-provider annotation
// to a value that specifies the container name. If the annotation matches the container requesting
// SGX EPC resources, the webhook adds both /dev/sgx/provision and /dev/sgx/enclave resource requests.
// SGX EPC resources, the webhook adds both /dev/sgx_provision and /dev/sgx_enclave resource requests.
// Without sgx.intel.com/quote-provider annotation set, the container is not able to generate quotes
// for its enclaves. When pods set sgx.intel.com/quote-provider: "aesmd", Intel aesmd specific volume
// mounts are added. In both DaemonSet and sidecar deployment scenarios for aesmd, its container name
Expand Down