added security context
This commit is contained in:
parent
4e241a2b1f
commit
9c592f9a10
1 changed files with 3 additions and 0 deletions
|
|
@ -115,6 +115,9 @@ func (a *edgeConnectProvider) CreateInstance(ctx context.Context, bootstrapParam
|
||||||
Template: corev1.PodTemplateSpec{
|
Template: corev1.PodTemplateSpec{
|
||||||
ObjectMeta: metav1.ObjectMeta{
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
Labels: map[string]string{"app": instancename},
|
Labels: map[string]string{"app": instancename},
|
||||||
|
Annotations: map[string]string{
|
||||||
|
"container.apparmor.security.beta.kubernetes.io/buildkitd": "unconfined",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
Spec: podSpec,
|
Spec: podSpec,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue