mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
controllers: use const appLabel in tests
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit is contained in:
parent
622a7783f5
commit
48fd7b82fe
@ -42,7 +42,7 @@ func (c *controller) newDaemonSetExpected(rawObj client.Object) *apps.DaemonSet
|
|||||||
},
|
},
|
||||||
ObjectMeta: metav1.ObjectMeta{
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
Namespace: c.ns,
|
Namespace: c.ns,
|
||||||
Name: "intel-dlb-plugin",
|
Name: appLabel,
|
||||||
Labels: map[string]string{
|
Labels: map[string]string{
|
||||||
"app": appLabel,
|
"app": appLabel,
|
||||||
},
|
},
|
||||||
|
@ -43,7 +43,7 @@ func (c *controller) newDaemonSetExpected(rawObj client.Object) *apps.DaemonSet
|
|||||||
},
|
},
|
||||||
ObjectMeta: metav1.ObjectMeta{
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
Namespace: c.ns,
|
Namespace: c.ns,
|
||||||
Name: "intel-dsa-plugin",
|
Name: appLabel,
|
||||||
Labels: map[string]string{
|
Labels: map[string]string{
|
||||||
"app": appLabel,
|
"app": appLabel,
|
||||||
},
|
},
|
||||||
|
@ -45,7 +45,7 @@ func (c *controller) newDaemonSetExpected(rawObj client.Object) *apps.DaemonSet
|
|||||||
},
|
},
|
||||||
ObjectMeta: metav1.ObjectMeta{
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
Namespace: c.ns,
|
Namespace: c.ns,
|
||||||
Name: "intel-fpga-plugin",
|
Name: appLabel,
|
||||||
Labels: map[string]string{
|
Labels: map[string]string{
|
||||||
"app": appLabel,
|
"app": appLabel,
|
||||||
},
|
},
|
||||||
|
@ -45,7 +45,7 @@ func (c *controller) newDaemonSetExpected(rawObj client.Object) *apps.DaemonSet
|
|||||||
},
|
},
|
||||||
ObjectMeta: metav1.ObjectMeta{
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
Namespace: c.ns,
|
Namespace: c.ns,
|
||||||
Name: "intel-gpu-plugin",
|
Name: appLabel,
|
||||||
Labels: map[string]string{
|
Labels: map[string]string{
|
||||||
"app": appLabel,
|
"app": appLabel,
|
||||||
},
|
},
|
||||||
|
@ -45,7 +45,7 @@ func (c *controller) newDaemonSetExpected(rawObj client.Object) *apps.DaemonSet
|
|||||||
},
|
},
|
||||||
ObjectMeta: metav1.ObjectMeta{
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
Namespace: c.ns,
|
Namespace: c.ns,
|
||||||
Name: "intel-qat-plugin",
|
Name: appLabel,
|
||||||
Labels: map[string]string{
|
Labels: map[string]string{
|
||||||
"app": appLabel,
|
"app": appLabel,
|
||||||
},
|
},
|
||||||
|
@ -45,7 +45,7 @@ func (c *controller) newDaemonSetExpected(rawObj client.Object) *apps.DaemonSet
|
|||||||
},
|
},
|
||||||
ObjectMeta: metav1.ObjectMeta{
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
Namespace: c.ns,
|
Namespace: c.ns,
|
||||||
Name: "intel-sgx-plugin",
|
Name: appLabel,
|
||||||
Labels: map[string]string{
|
Labels: map[string]string{
|
||||||
"app": appLabel,
|
"app": appLabel,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user