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

build(deps): bump github/codeql-action from 2.1.18 to 2.1.19
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.18 to 2.1.19.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action's changelog</a>.</em></p>
<blockquote>
<h1>CodeQL Action Changelog</h1>
<h2>[UNRELEASED]</h2>
<p>No user facing changes.</p>
<h2>2.1.19 - 17 Aug 2022</h2>
<ul>
<li>Add the ability to filter queries from a code scanning run by using the <code>query-filters</code> option in the code scanning configuration file. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1098">#1098</a></li>
<li>In debug mode, debug artifacts are now uploaded even if a step in the Actions workflow fails. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1159">#1159</a></li>
<li>Update default CodeQL bundle version to 2.10.3. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1178">#1178</a></li>
<li>The combination of python2 and Pipenv is no longer supported. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1181">#1181</a></li>
</ul>
<h2>2.1.18 - 03 Aug 2022</h2>
<ul>
<li>Update default CodeQL bundle version to 2.10.2.  <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1156">#1156</a></li>
</ul>
<h2>2.1.17 - 28 Jul 2022</h2>
<ul>
<li>Update default CodeQL bundle version to 2.10.1.  <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1143">#1143</a></li>
</ul>
<h2>2.1.16 - 13 Jul 2022</h2>
<ul>
<li>You can now quickly debug a job that uses the CodeQL Action by re-running the job from the GitHub UI and selecting the &quot;Enable debug logging&quot; option. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1132">#1132</a></li>
<li>You can now see diagnostic messages produced by the analysis in the logs of the <code>analyze</code> Action by enabling debug mode. To enable debug mode, pass <code>debug: true</code> to the <code>init</code> Action, or <a href="https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging#enabling-step-debug-logging">enable step debug logging</a>. This feature is available for CodeQL CLI version 2.10.0 and later. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1133">#1133</a></li>
</ul>
<h2>2.1.15 - 28 Jun 2022</h2>
<ul>
<li>CodeQL query packs listed in the <code>packs</code> configuration field will be skipped if their target language is not being analyzed in the current Actions job. Previously, this would throw an error. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1116">#1116</a></li>
<li>The combination of python2 and poetry is no longer supported. See <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/374">actions/setup-python#374</a> for more details. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1124">#1124</a></li>
<li>Update default CodeQL bundle version to 2.10.0. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1123">#1123</a></li>
</ul>
<h2>2.1.14 - 22 Jun 2022</h2>
<p>No user facing changes.</p>
<h2>2.1.13 - 21 Jun 2022</h2>
<ul>
<li>Update default CodeQL bundle version to 2.9.4. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1100">#1100</a></li>
</ul>
<h2>2.1.12 - 01 Jun 2022</h2>
<ul>
<li>Update default CodeQL bundle version to 2.9.3. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1084">#1084</a></li>
</ul>
<h2>2.1.11 - 17 May 2022</h2>
<ul>
<li>Update default CodeQL bundle version to 2.9.2. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1074">#1074</a></li>
</ul>
<h2>2.1.10 - 10 May 2022</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/github/codeql-action/commit/f5d217be74900c6ac8fbbe53f3c10376ba4e64da"><code>f5d217b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/github/codeql-action/issues/1192">#1192</a> from github/update-v2.1.19-5502fefd</li>
<li><a href="https://github.com/github/codeql-action/commit/7c3d74c9d7ed9b3795b497666531d9b5a5b2ddc4"><code>7c3d74c</code></a> Move changelog note to right release</li>
<li><a href="https://github.com/github/codeql-action/commit/04ea3b12c87fa9e4bdf6d1e9d0b38a95e691850f"><code>04ea3b1</code></a> Update changelog for v2.1.19</li>
<li><a href="https://github.com/github/codeql-action/commit/5502fefdae3ab5a086c82226f250a4afa2b515b1"><code>5502fef</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/github/codeql-action/issues/1191">#1191</a> from github/edoardo/fix-upload-times</li>
<li><a href="https://github.com/github/codeql-action/commit/0349bb05b706d8918b4233d2b7812a8d86ba1251"><code>0349bb0</code></a> Fix TRAP cache upload timing</li>
<li><a href="https://github.com/github/codeql-action/commit/3154c4f6f030005a9e6064e71bbb923e53a8f940"><code>3154c4f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/github/codeql-action/issues/1190">#1190</a> from github/henrymercer/fix-debug-artifact-tests-on-...</li>
<li><a href="https://github.com/github/codeql-action/commit/b21cab99b346de6e70e06d18251c1e16576f2d46"><code>b21cab9</code></a> Mock <code>expect-error</code> input to avoid errors in Action integration tests</li>
<li><a href="https://github.com/github/codeql-action/commit/219a937551f1365d103a49d23912f49421f7e3cc"><code>219a937</code></a> Require test mode to be set to use <code>expect-error</code> input</li>
<li><a href="https://github.com/github/codeql-action/commit/ff9d53b61ab3b38f43ada003d89e9742609eeb42"><code>ff9d53b</code></a> Dump GitHub event in debug artifacts failure workflow</li>
<li><a href="https://github.com/github/codeql-action/commit/5f4cfb016eb8ef9c4ef1f24f86fc6e9a40614efe"><code>5f4cfb0</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/github/codeql-action/issues/1188">#1188</a> from github/edoardo/round-fields</li>
<li>Additional commits viewable in <a href="https://github.com/github/codeql-action/compare/2ca79b6fa8d3ec278944088b4aa5f46912db5d63...f5d217be74900c6ac8fbbe53f3c10376ba4e64da">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github/codeql-action&package-manager=github_actions&previous-version=2.1.18&new-version=2.1.19)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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/1099#" title="Author self-approved">dependabot[bot]</a>*
**Once this PR has been reviewed and has the lgtm label**, please assign hasheddan for approval by writing `/assign @hasheddan` 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":["hasheddan"]} -->
codecov-commenter: # [Codecov](https://codecov.io/gh/kubernetes-sigs/security-profiles-operator/pull/1099?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) Report
> Merging [#1099](https://codecov.io/gh/kubernetes-sigs/security-profiles-operator/pull/1099?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) (35e040f) 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    #1099   +/-   ##
=======================================
  Coverage   50.65%   50.65%           
=======================================
  Files          42       42           
  Lines        4740     4740           
=======================================
  Hits         2401     2401           
  Misses       2262     2262           
  Partials       77       77           
```

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

This pull-request has been approved by: *<a href="https://github.com/kubernetes-sigs/security-profiles-operator/pull/1099#" title="Author self-approved">dependabot[bot]</a>*, *<a href="https://github.com/kubernetes-sigs/security-profiles-operator/pull/1099#pullrequestreview-1078898947" title="Approved">pjbgf</a>*

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).

The pull request process is described [here](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process)

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

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

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":[]} -->

Patch:
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 573e2404c..88720ba3b 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
@@ -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