Repository: kubernetes-sigs/security-profiles-operator
Pull request #1098 (2022-08-19 13:54:24)

build(deps): update docker/build-push-action requirement to c84f38281176d4c9cdb1626ffafcd6b3911b5d94
Updates the requirements on [docker/build-push-action](https://github.com/docker/build-push-action) to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/docker/build-push-action/releases">docker/build-push-action's releases</a>.</em></p>
<blockquote>
<h2>v3.1.1</h2>
<ul>
<li>Fix GitHub token not passed with Git context if subdir defined by <a href="https://github.com/crazy-max"><code>@​crazy-max</code></a> (<a href="https://github-redirect.dependabot.com/docker/build-push-action/issues/663">#663</a>)</li>
<li>Replace deprecated <code>fs.rmdir</code> with <code>fs.rm</code> by <a href="https://github.com/bendrucker"><code>@​bendrucker</code></a> (<a href="https://github-redirect.dependabot.com/docker/build-push-action/issues/657">#657</a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/docker/build-push-action/compare/v3.1.0...v3.1.1">https://github.com/docker/build-push-action/compare/v3.1.0...v3.1.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/docker/build-push-action/commits/c84f38281176d4c9cdb1626ffafcd6b3911b5d94">compare view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

k8s-ci-robot: Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a [kubernetes-sigs](https://github.com/orgs/kubernetes-sigs/people) member to verify that this patch is reasonable to test. If it is, they should reply with `/ok-to-test` on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should [join the org](https://git.k8s.io/community/community-membership.md#member) to skip this step.

Once the patch is verified, the new status will be reflected by the `ok-to-test` label.

I understand the commands that are listed [here](https://go.k8s.io/bot-commands?repo=kubernetes-sigs%2Fsecurity-profiles-operator).

<details>

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md).  If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
</details>

k8s-ci-robot: [APPROVALNOTIFIER] This PR is **NOT APPROVED**

This pull-request has been approved by: *<a href="https://github.com/kubernetes-sigs/security-profiles-operator/pull/1098#" title="Author self-approved">dependabot[bot]</a>*
**Once this PR has been reviewed and has the lgtm label**, please assign saschagrunert for approval by writing `/assign @saschagrunert` in a comment. For more information see:[The Kubernetes Code Review Process](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process).

The full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=kubernetes-sigs%2Fsecurity-profiles-operator).

<details open>
Needs approval from an approver in each of these files:

- **[OWNERS](https://github.com/kubernetes-sigs/security-profiles-operator/blob/main/OWNERS)**

Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
</details>
<!-- META={"approvers":["saschagrunert"]} -->
codecov-commenter: # [Codecov](https://codecov.io/gh/kubernetes-sigs/security-profiles-operator/pull/1098?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) Report
> Merging [#1098](https://codecov.io/gh/kubernetes-sigs/security-profiles-operator/pull/1098?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) (e666134) into [main](https://codecov.io/gh/kubernetes-sigs/security-profiles-operator/commit/98edee52c4b3538de6e9194e71838bcd2d5d6f7a?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) (98edee5) will **not change** coverage.
> The diff coverage is `n/a`.

```diff
@@           Coverage Diff           @@
##             main    #1098   +/-   ##
=======================================
  Coverage   50.65%   50.65%           
=======================================
  Files          42       42           
  Lines        4740     4740           
=======================================
  Hits         2401     2401           
  Misses       2262     2262           
  Partials       77       77           
```


Patch:
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 573e2404c..d360cb32f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -66,7 +66,7 @@ jobs:
         id: buildx
         uses: docker/setup-buildx-action@312f67c6629946ba17269558b63d0bd84a63caab
       - name: Login to Quay
-        uses: docker/login-action@d398f07826957cd0a18ea1b059cf1207835e60bc
+        uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b
         with:
           registry: quay.io/security-profiles-operator
           username: security-profiles-operator+github
@@ -82,7 +82,7 @@ jobs:
             type=ref,event=branch
             type=sha,format=long
       - name: Build (and push if needed)
-        uses: docker/build-push-action@965c6a410d446a30e95d35052c67d6eded60dad6
+        uses: docker/build-push-action@c84f38281176d4c9cdb1626ffafcd6b3911b5d94
         with:
           context: .
           file: Dockerfile.build-image
@@ -110,7 +110,7 @@ jobs:
         id: buildx
         uses: docker/setup-buildx-action@312f67c6629946ba17269558b63d0bd84a63caab
       - name: Login to Quay
-        uses: docker/login-action@d398f07826957cd0a18ea1b059cf1207835e60bc
+        uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b
         with:
           registry: quay.io/security-profiles-operator
           username: security-profiles-operator+github
diff --git a/bundle/manifests/spod_rbac.authorization.k8s.io_v1_rolebinding.yaml b/bundle/manifests/spod_rbac.authorization.k8s.io_v1_rolebinding.yaml
index 11033c8d6..0b5794fd2 100644
--- a/bundle/manifests/spod_rbac.authorization.k8s.io_v1_rolebinding.yaml
+++ b/bundle/manifests/spod_rbac.authorization.k8s.io_v1_rolebinding.yaml
@@ -12,3 +12,4 @@ roleRef:
 subjects:
 - kind: ServiceAccount
   name: spod
+  namespace: security-profiles-operator
diff --git a/deploy/base/role_binding.yaml b/deploy/base/role_binding.yaml
index 36a5d9c39..a21a71ee2 100644
--- a/deploy/base/role_binding.yaml
+++ b/deploy/base/role_binding.yaml
@@ -52,6 +52,7 @@ metadata:
 subjects:
 - kind: ServiceAccount
   name: spod
+  namespace: security-profiles-operator
 roleRef:
   kind: Role
   name: spod
diff --git a/deploy/helm/templates/static-resources.yaml b/deploy/helm/templates/static-resources.yaml
index 5636baf48..bca272fa0 100644
--- a/deploy/helm/templates/static-resources.yaml
+++ b/deploy/helm/templates/static-resources.yaml
@@ -657,6 +657,7 @@ roleRef:
 subjects:
 - kind: ServiceAccount
   name: spod
+  namespace: security-profiles-operator
 ---
 apiVersion: rbac.authorization.k8s.io/v1
 kind: ClusterRoleBinding
diff --git a/deploy/namespace-operator.yaml b/deploy/namespace-operator.yaml
index ea9b5e6cc..18a06f245 100644
--- a/deploy/namespace-operator.yaml
+++ b/deploy/namespace-operator.yaml
@@ -1735,6 +1735,7 @@ roleRef:
 subjects:
 - kind: ServiceAccount
   name: spod
+  namespace: security-profiles-operator
 ---
 apiVersion: rbac.authorization.k8s.io/v1
 kind: ClusterRoleBinding
diff --git a/deploy/openshift-dev.yaml b/deploy/openshift-dev.yaml
index 69f3b8830..49ac15837 100644
--- a/deploy/openshift-dev.yaml
+++ b/deploy/openshift-dev.yaml
@@ -1735,6 +1735,7 @@ roleRef:
 subjects:
 - kind: ServiceAccount
   name: spod
+  namespace: security-profiles-operator
 ---
 apiVersion: rbac.authorization.k8s.io/v1
 kind: ClusterRoleBinding
diff --git a/deploy/operator.yaml b/deploy/operator.yaml
index 93d4537cb..efe89fe2c 100644
--- a/deploy/operator.yaml
+++ b/deploy/operator.yaml
@@ -1735,6 +1735,7 @@ roleRef:
 subjects:
 - kind: ServiceAccount
   name: spod
+  namespace: security-profiles-operator
 ---
 apiVersion: rbac.authorization.k8s.io/v1
 kind: ClusterRoleBinding
diff --git a/deploy/webhook-operator.yaml b/deploy/webhook-operator.yaml
index 4b143fcda..25e5c1824 100644
--- a/deploy/webhook-operator.yaml
+++ b/deploy/webhook-operator.yaml
@@ -1720,6 +1720,7 @@ roleRef:
 subjects:
 - kind: ServiceAccount
   name: spod
+  namespace: security-profiles-operator
 ---
 apiVersion: rbac.authorization.k8s.io/v1
 kind: ClusterRoleBinding


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index cc16f3a45..bb7e36723 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -29,11 +29,11 @@ jobs:
     runs-on: ubuntu-20.04
     steps:
       - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
-      - uses: github/codeql-action/init@2ca79b6fa8d3ec278944088b4aa5f46912db5d63
+      - uses: github/codeql-action/init@f5d217be74900c6ac8fbbe53f3c10376ba4e64da
         with:
           languages: go
-      - uses: github/codeql-action/autobuild@2ca79b6fa8d3ec278944088b4aa5f46912db5d63
-      - uses: github/codeql-action/analyze@2ca79b6fa8d3ec278944088b4aa5f46912db5d63
+      - uses: github/codeql-action/autobuild@f5d217be74900c6ac8fbbe53f3c10376ba4e64da
+      - uses: github/codeql-action/analyze@f5d217be74900c6ac8fbbe53f3c10376ba4e64da
 
   coverage:
     runs-on: ubuntu-20.04