Repository: kubernetes-sigs/security-profiles-operator
Pull request #804 (2022-02-07 13:33:14)

Update cert-manager to v1.7.1

#### What type of PR is this?


/kind cleanup

#### What this PR does / why we need it:
Update cert-manager to the latest release.
#### Which issue(s) this PR fixes:

<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.

Fixes #

or

None
-->
None
#### Does this PR have test?
None
<!--
If tests aren't applicable just write N/A.
-->

#### Special notes for your reviewer:
None
#### Does this PR introduce a user-facing change?

<!--
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".

For more information on release notes see: https://git.k8s.io/community/contributors/guide/release-notes.md
-->

```release-note
Updated cert-manager to v1.7.1
```


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/804#" title="Author self-approved">saschagrunert</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)~~ [saschagrunert]

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/VERSION b/VERSION
index 267577d47..7532512ca 100644
--- a/VERSION
+++ b/VERSION
@@ -1,1 +1,1 @@
-0.4.1
+0.4.2-dev
diff --git a/dependencies.yaml b/dependencies.yaml
index 774cdf3d7..32fd3bdb1 100644
--- a/dependencies.yaml
+++ b/dependencies.yaml
@@ -30,7 +30,7 @@ dependencies:
       match: KUSTOMIZE_VERSION
 
   - name: cert-manager
-    version: 1.6.1
+    version: 1.7.1
     refPaths:
     - path: test/e2e_test.go
       match: jetstack/cert-manager
diff --git a/deploy/base/kustomization.yaml b/deploy/base/kustomization.yaml
index 16d6add50..228d0218e 100644
--- a/deploy/base/kustomization.yaml
+++ b/deploy/base/kustomization.yaml
@@ -4,11 +4,11 @@ kind: Kustomization
 
 images:
   - name: security-profiles-operator
-    # newName: gcr.io/k8s-staging-sp-operator/security-profiles-operator
-    # newTag: latest
+    newName: gcr.io/k8s-staging-sp-operator/security-profiles-operator
+    newTag: latest
     # For images to be released:
-    newName: k8s.gcr.io/security-profiles-operator/security-profiles-operator
-    newTag: v0.4.1
+    # newName: k8s.gcr.io/security-profiles-operator/security-profiles-operator
+    # newTag: v0.4.2
 
 patchesStrategicMerge:
 - |-
diff --git a/deploy/namespace-operator.yaml b/deploy/namespace-operator.yaml
index e194c1e3d..654094d9c 100644
--- a/deploy/namespace-operator.yaml
+++ b/deploy/namespace-operator.yaml
@@ -1721,7 +1721,7 @@ spec:
           valueFrom:
             fieldRef:
               fieldPath: metadata.namespace
-        image: k8s.gcr.io/security-profiles-operator/security-profiles-operator:v0.4.1
+        image: gcr.io/k8s-staging-sp-operator/security-profiles-operator:latest
         imagePullPolicy: Always
         name: security-profiles-operator
         resources:
@@ -1775,7 +1775,7 @@ spec:
           valueFrom:
             fieldRef:
               fieldPath: metadata.namespace
-        image: k8s.gcr.io/security-profiles-operator/security-profiles-operator:v0.4.1
+        image: gcr.io/k8s-staging-sp-operator/security-profiles-operator:latest
         imagePullPolicy: Always
         name: security-profiles-operator
         ports:
diff --git a/deploy/openshift-dev.yaml b/deploy/openshift-dev.yaml
index fa5124a00..4213837d9 100644
--- a/deploy/openshift-dev.yaml
+++ b/deploy/openshift-dev.yaml
@@ -1721,7 +1721,7 @@ spec:
           valueFrom:
             fieldRef:
               fieldPath: metadata.namespace
-        image: k8s.gcr.io/security-profiles-operator/security-profiles-operator:v0.4.1
+        image: image-registry.openshift-image-registry.svc:5000/openshift/security-profiles-operator:latest
         imagePullPolicy: Always
         name: security-profiles-operator
         resources:
@@ -1775,7 +1775,7 @@ spec:
           valueFrom:
             fieldRef:
               fieldPath: metadata.namespace
-        image: k8s.gcr.io/security-profiles-operator/security-profiles-operator:v0.4.1
+        image: image-registry.openshift-image-registry.svc:5000/openshift/security-profiles-operator:latest
         imagePullPolicy: Always
         name: security-profiles-operator
         ports:
diff --git a/deploy/openshift.yaml b/deploy/openshift.yaml
index fa5124a00..e49aeeebf 100644
--- a/deploy/openshift.yaml
+++ b/deploy/openshift.yaml
@@ -1721,7 +1721,7 @@ spec:
           valueFrom:
             fieldRef:
               fieldPath: metadata.namespace
-        image: k8s.gcr.io/security-profiles-operator/security-profiles-operator:v0.4.1
+        image: gcr.io/k8s-staging-sp-operator/security-profiles-operator:latest
         imagePullPolicy: Always
         name: security-profiles-operator
         resources:
@@ -1775,7 +1775,7 @@ spec:
           valueFrom:
             fieldRef:
               fieldPath: metadata.namespace
-        image: k8s.gcr.io/security-profiles-operator/security-profiles-operator:v0.4.1
+        image: gcr.io/k8s-staging-sp-operator/security-profiles-operator:latest
         imagePullPolicy: Always
         name: security-profiles-operator
         ports:
diff --git a/deploy/operator.yaml b/deploy/operator.yaml
index e5822c5a6..c6aa86836 100644
--- a/deploy/operator.yaml
+++ b/deploy/operator.yaml
@@ -1719,7 +1719,7 @@ spec:
           valueFrom:
             fieldRef:
               fieldPath: metadata.namespace
-        image: k8s.gcr.io/security-profiles-operator/security-profiles-operator:v0.4.1
+        image: gcr.io/k8s-staging-sp-operator/security-profiles-operator:latest
         imagePullPolicy: Always
         name: security-profiles-operator
         resources:
@@ -1773,7 +1773,7 @@ spec:
           valueFrom:
             fieldRef:
               fieldPath: metadata.namespace
-        image: k8s.gcr.io/security-profiles-operator/security-profiles-operator:v0.4.1
+        image: gcr.io/k8s-staging-sp-operator/security-profiles-operator:latest
         imagePullPolicy: Always
         name: security-profiles-operator
         ports:
diff --git a/installation-usage.md b/installation-usage.md
index f98564885..4c33477f5 100644
--- a/installation-usage.md
+++ b/installation-usage.md
@@ -49,7 +49,7 @@ architectures `amd64` and `arm64` for now. To deploy the operator, first install
 cert-manager via `kubectl`:
 
 ```sh
-$ kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.6.1/cert-manager.yaml
+$ kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.7.1/cert-manager.yaml
 $ kubectl --namespace cert-manager wait --for condition=ready pod -l app.kubernetes.io/instance=cert-manager
 ```
 


Test patch:
diff --git a/test/e2e_test.go b/test/e2e_test.go
index 95cf342b9..e28153af8 100644
--- a/test/e2e_test.go
+++ b/test/e2e_test.go
@@ -32,7 +32,7 @@ import (
 )
 
 const (
-	certmanager       = "https://github.com/jetstack/cert-manager/releases/download/v1.6.1/cert-manager.yaml"
+	certmanager       = "https://github.com/jetstack/cert-manager/releases/download/v1.7.1/cert-manager.yaml"
 	manifest          = "deploy/operator.yaml"
 	namespaceManifest = "deploy/namespace-operator.yaml"
 	testNamespace     = "test-ns"