You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ts...@apache.org on 2022/06/06 02:55:49 UTC
[camel-k] 02/02: Changes on the `pod_test.go` file.
This is an automated email from the ASF dual-hosted git repository.
tsato pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit dd048c4eb733cf1f79eb3a10046c34e75d873f17
Author: Adriano Machado <unknown>
AuthorDate: Sun Jun 5 01:18:20 2022 -0400
Changes on the `pod_test.go` file.
---
pkg/trait/pod_test.go | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/pkg/trait/pod_test.go b/pkg/trait/pod_test.go
index 871840d69..e55e38821 100755
--- a/pkg/trait/pod_test.go
+++ b/pkg/trait/pod_test.go
@@ -22,7 +22,7 @@ import (
"github.com/stretchr/testify/assert"
- "gopkg.in/yaml.v2"
+ "k8s.io/apimachinery/pkg/util/yaml"
appsv1 "k8s.io/api/apps/v1"
corev1 "k8s.io/api/core/v1"
@@ -150,9 +150,6 @@ func createPodTest(podSpecTemplate string) (*podTrait, *Environment, *appsv1.Dep
},
},
},
- SecurityContext: &corev1.PodSecurityContext{
- SupplementalGroups: []int64{666},
- },
},
},
},