You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/05/24 14:14:22 UTC

[camel-k] 02/02: chore(ci): Fix validation errors

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit ec973198649f9a28e1377361e5c2b67dcd697178
Author: Gaelle Fournier <ga...@gmail.com>
AuthorDate: Wed May 24 13:53:42 2023 +0200

    chore(ci): Fix validation errors
---
 pkg/controller/build/build_pod.go | 2 +-
 pkg/install/operator.go           | 2 +-
 pkg/resources/resources.go        | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pkg/controller/build/build_pod.go b/pkg/controller/build/build_pod.go
index 5f6ab09d5..7f660edb8 100644
--- a/pkg/controller/build/build_pod.go
+++ b/pkg/controller/build/build_pod.go
@@ -114,7 +114,7 @@ var (
 
 func newBuildPod(ctx context.Context, c ctrl.Reader, build *v1.Build) (*corev1.Pod, error) {
 	var ugfid int64 = 1000
-	var nonRoot bool = true
+	var nonRoot = true
 	pod := &corev1.Pod{
 		TypeMeta: metav1.TypeMeta{
 			APIVersion: corev1.SchemeGroupVersion.String(),
diff --git a/pkg/install/operator.go b/pkg/install/operator.go
index 54c2a1af5..315d078c0 100644
--- a/pkg/install/operator.go
+++ b/pkg/install/operator.go
@@ -205,7 +205,7 @@ func OperatorOrCollect(ctx context.Context, cmd *cobra.Command, c client.Client,
 					fmt.Sprintf("--health-port=%d", cfg.Health.Port))
 				d.Spec.Template.Spec.Containers[0].LivenessProbe.HTTPGet.Port = intstr.FromInt(int(cfg.Health.Port))
 				var ugfid int64 = 1000
-				var nonRoot bool = true
+				var nonRoot = true
 				d.Spec.Template.Spec.SecurityContext = &corev1.PodSecurityContext{
 					FSGroup:      &ugfid,
 					RunAsGroup:   &ugfid,
diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go
index 427684a10..5047fd8b2 100644
--- a/pkg/resources/resources.go
+++ b/pkg/resources/resources.go
@@ -632,9 +632,9 @@ var assets = func() http.FileSystem {
 		"/camel-catalog-2.16.0-SNAPSHOT.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "camel-catalog-2.16.0-SNAPSHOT.yaml",
 			modTime:          time.Time{},
-			uncompressedSize: 86772,
+			uncompressedSize: 91015,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\xbd\x4b\x77\xdb\xb8\xb2\x36\x3c\xcf\xaf\xe0\xea\x4c\xce\x59\xdf\x16\xba\xdb\x7d\xbe\xdd\xef\xca\x3b\xb2\xe5\x38\xb1\x63\x3b\x4e\xe4\x9d\xce\xde\x93\x5e\x10\x09\x49\xb0\x48\x82\x06\x40\x59\xce\xaf\x7f\x17\x40\xf0\x2a\xa5\x78\x71\xc1\xc7\x03\x93\x22\x0a\x4f\xa1\x1e\x80\xb8\xb3\xf0\x36\x98\xe1\xfd\xbd\x79\x1b\x5c\xf3\x90\xa5\x8a\x45\x81\x16\x81\xde\xb0\xe0\x34\xa3\xe1\x86\x05\x0b\xb1\xd2\x4f\x54\xb2\xe0\x42\xe4\x69\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\xbd\x4b\x77\xdb\xb8\xb2\x36\x3c\xcf\xaf\xe0\xea\x4c\xce\x59\xdf\x26\xba\x3b\x7d\xbe\xdd\xef\xca\x3b\x72\x94\x38\xb1\x13\x27\x4e\xe4\x9d\xce\xde\x93\x5e\x10\x09\x49\xb0\x48\x82\x06\x40\x59\xce\xaf\x7f\x17\x40\xf0\x2a\xb9\x78\x71\xc1\xc7\x03\x93\x22\x0a\x4f\xa1\x1e\x80\xb8\xb3\xf0\x32\x08\xf1\xfe\x5e\xbc\x0c\x3e\xf1\x88\x65\x8a\xc5\x81\x16\x81\xde\xb2\xe0\x2c\xa7\xd1\x96\x05\x4b\xb1\xd6\xf7\x54\xb2\xe0\x5c\x14\x59\x [...]
 		},
 		"/traits.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "traits.yaml",