Skip to content

Commit

Permalink
kubernetes: drop patch for kubelet plugins label
Browse files Browse the repository at this point in the history
Now that we alias `container_file_t` to `local_t` in our policy, we
don't need this patch to avoid an invalid context warning.

Signed-off-by: Ben Cressey <bcressey@amazon.com>
  • Loading branch information
bcressey committed Feb 11, 2021
1 parent 68cfdcf commit 2e1fa38
Show file tree
Hide file tree
Showing 18 changed files with 26 additions and 151 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 43460991812f41748d2ebbb846e3d956b40b26ae Mon Sep 17 00:00:00 2001
From f655cc39ba3aef7792a013f765c429ede69cfd97 Mon Sep 17 00:00:00 2001
From: Ben Cressey <bcressey@amazon.com>
Date: Sat, 18 May 2019 16:57:12 +0000
Subject: [PATCH 1/4] always set relevant variables for cross compiling
Subject: [PATCH] always set relevant variables for cross compiling

Signed-off-by: Ben Cressey <bcressey@amazon.com>
---
Expand Down Expand Up @@ -73,5 +73,5 @@ index e9c3b066..14c15994 100755

kube::golang::unset_platform_envs() {
--
2.21.0
2.26.2

This file was deleted.

7 changes: 3 additions & 4 deletions packages/kubernetes-1.15/kubernetes-1.15.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,13 @@ Source4: kubelet-kubeconfig
Source5: kubernetes-ca-crt
Source1000: clarify.toml
Patch1: 0001-always-set-relevant-variables-for-cross-compiling.patch
Patch2: 0002-override-SELinux-label-for-kubelet-plugins.patch

# Fix builds in $GOPATH when using Go 1.13 - drop when we catch up in v1.17.0
# /~https://github.com/kubernetes/kubernetes/commit/8618c09
Patch3: 0003-opt-out-of-module-mode-for-builds.patch
Patch2: 0002-opt-out-of-module-mode-for-builds.patch

Patch4: 0004-kubelet-block-non-forwarded-packets.patch
Patch5: 0005-include-etc-hosts-in-eviction-calc.patch
Patch3: 0003-kubelet-block-non-forwarded-packets.patch
Patch4: 0004-include-etc-hosts-in-eviction-calc.patch

BuildRequires: git
BuildRequires: rsync
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
From 43460991812f41748d2ebbb846e3d956b40b26ae Mon Sep 17 00:00:00 2001
From 7b22b33975ae3134130d92e5a43a1cfed6e0f89c Mon Sep 17 00:00:00 2001
From: Ben Cressey <bcressey@amazon.com>
Date: Sat, 18 May 2019 16:57:12 +0000
Subject: [PATCH 1/4] always set relevant variables for cross compiling
Subject: [PATCH] always set relevant variables for cross compiling

Signed-off-by: Ben Cressey <bcressey@amazon.com>
---
hack/lib/golang.sh | 52 ++++++++++++++++++++++++++--------------------
1 file changed, 30 insertions(+), 22 deletions(-)

diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh
index e9c3b066..14c15994 100755
index 5d9b084f..9244b43e 100755
--- a/hack/lib/golang.sh
+++ b/hack/lib/golang.sh
@@ -394,29 +394,37 @@ kube::golang::set_platform_envs() {
@@ -393,29 +393,37 @@ kube::golang::set_platform_envs() {
export GOOS=${platform%/*}
export GOARCH=${platform##*/}

Expand Down Expand Up @@ -73,5 +73,5 @@ index e9c3b066..14c15994 100755

kube::golang::unset_platform_envs() {
--
2.21.0
2.26.2

This file was deleted.

1 change: 0 additions & 1 deletion packages/kubernetes-1.16/kubernetes-1.16.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Source4: kubelet-kubeconfig
Source5: kubernetes-ca-crt
Source1000: clarify.toml
Patch1: 0001-always-set-relevant-variables-for-cross-compiling.patch
Patch2: 0002-override-SELinux-label-for-kubelet-plugins.patch

# Update aws-sdk-go for IMDSv2 support
Patch100: aws-sdk-go-1.28.2.patch.bz2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
From 43460991812f41748d2ebbb846e3d956b40b26ae Mon Sep 17 00:00:00 2001
From eaeb0bf4e72f04f787ee3aa58499de19a31f5634 Mon Sep 17 00:00:00 2001
From: Ben Cressey <bcressey@amazon.com>
Date: Sat, 18 May 2019 16:57:12 +0000
Subject: [PATCH 1/4] always set relevant variables for cross compiling
Subject: [PATCH] always set relevant variables for cross compiling

Signed-off-by: Ben Cressey <bcressey@amazon.com>
---
hack/lib/golang.sh | 52 ++++++++++++++++++++++++++--------------------
1 file changed, 30 insertions(+), 22 deletions(-)

diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh
index e9c3b066..14c15994 100755
index b646bbe2..21067172 100755
--- a/hack/lib/golang.sh
+++ b/hack/lib/golang.sh
@@ -394,29 +394,37 @@ kube::golang::set_platform_envs() {
@@ -393,29 +393,37 @@ kube::golang::set_platform_envs() {
export GOOS=${platform%/*}
export GOARCH=${platform##*/}

Expand Down Expand Up @@ -73,5 +73,5 @@ index e9c3b066..14c15994 100755

kube::golang::unset_platform_envs() {
--
2.21.0
2.26.2

This file was deleted.

1 change: 0 additions & 1 deletion packages/kubernetes-1.17/kubernetes-1.17.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Source4: kubelet-kubeconfig
Source5: kubernetes-ca-crt
Source1000: clarify.toml
Patch1: 0001-always-set-relevant-variables-for-cross-compiling.patch
Patch2: 0002-override-SELinux-label-for-kubelet-plugins.patch

# Update aws-sdk-go for IMDSv2 support
Patch100: aws-sdk-go-1.28.2_k8s-1.17.8.patch.bz2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
From 43460991812f41748d2ebbb846e3d956b40b26ae Mon Sep 17 00:00:00 2001
From 33d8f71872c51f189056d4e4aaa5427f7a09f0cf Mon Sep 17 00:00:00 2001
From: Ben Cressey <bcressey@amazon.com>
Date: Sat, 18 May 2019 16:57:12 +0000
Subject: [PATCH 1/4] always set relevant variables for cross compiling
Subject: [PATCH] always set relevant variables for cross compiling

Signed-off-by: Ben Cressey <bcressey@amazon.com>
---
hack/lib/golang.sh | 52 ++++++++++++++++++++++++++--------------------
1 file changed, 30 insertions(+), 22 deletions(-)

diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh
index e9c3b066..14c15994 100755
index b646bbe2..21067172 100755
--- a/hack/lib/golang.sh
+++ b/hack/lib/golang.sh
@@ -394,29 +394,37 @@ kube::golang::set_platform_envs() {
@@ -393,29 +393,37 @@ kube::golang::set_platform_envs() {
export GOOS=${platform%/*}
export GOARCH=${platform##*/}

Expand Down Expand Up @@ -73,5 +73,5 @@ index e9c3b066..14c15994 100755

kube::golang::unset_platform_envs() {
--
2.21.0
2.26.2

This file was deleted.

1 change: 0 additions & 1 deletion packages/kubernetes-1.18/kubernetes-1.18.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Source4: kubelet-kubeconfig
Source5: kubernetes-ca-crt
Source1000: clarify.toml
Patch1: 0001-always-set-relevant-variables-for-cross-compiling.patch
Patch2: 0002-override-SELinux-label-for-kubelet-plugins.patch

BuildRequires: git
BuildRequires: rsync
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
From 43460991812f41748d2ebbb846e3d956b40b26ae Mon Sep 17 00:00:00 2001
From 8b46abbb2f138096ec0f4237b8ce033c1fdc1d4d Mon Sep 17 00:00:00 2001
From: Ben Cressey <bcressey@amazon.com>
Date: Sat, 18 May 2019 16:57:12 +0000
Subject: [PATCH 1/4] always set relevant variables for cross compiling
Subject: [PATCH] always set relevant variables for cross compiling

Signed-off-by: Ben Cressey <bcressey@amazon.com>
---
hack/lib/golang.sh | 52 ++++++++++++++++++++++++++--------------------
1 file changed, 30 insertions(+), 22 deletions(-)

diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh
index e9c3b066..14c15994 100755
index 58bc090b..c3b0820e 100755
--- a/hack/lib/golang.sh
+++ b/hack/lib/golang.sh
@@ -394,29 +394,37 @@ kube::golang::set_platform_envs() {
@@ -393,29 +393,37 @@ kube::golang::set_platform_envs() {
export GOOS=${platform%/*}
export GOARCH=${platform##*/}

Expand Down Expand Up @@ -73,5 +73,5 @@ index e9c3b066..14c15994 100755

kube::golang::unset_platform_envs() {
--
2.21.0
2.26.2

This file was deleted.

1 change: 0 additions & 1 deletion packages/kubernetes-1.19/kubernetes-1.19.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Source4: kubelet-kubeconfig
Source5: kubernetes-ca-crt
Source1000: clarify.toml
Patch1: 0001-always-set-relevant-variables-for-cross-compiling.patch
Patch2: 0002-override-SELinux-label-for-kubelet-plugins.patch

BuildRequires: git
BuildRequires: rsync
Expand Down

0 comments on commit 2e1fa38

Please sign in to comment.