Skip to content

Commit 1ce5dab

Browse files
authored
Merge pull request #815 from cpanato/cert-manager-1-11-0
update cert-manager to 1.11.0 release and use python3
2 parents 5e0f442 + 404857c commit 1ce5dab

File tree

12 files changed

+33
-33
lines changed

12 files changed

+33
-33
lines changed

Tiltfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ settings = {
1919
"preload_images_for_kind": True,
2020
"kind_cluster_name": "capg",
2121
"capi_version": "v1.3.1",
22-
"cert_manager_version": "v1.10.1",
22+
"cert_manager_version": "v1.11.0",
2323
"kubernetes_version": "v1.25.5",
2424
}
2525

docs/book/src/developers/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
5. Install [Kustomize][kustomize]
2020
- `brew install kustomize` on macOS.
2121
- [install instructions](https://kubectl.docs.kubernetes.io/installation/kustomize/) on Windows + WSL2, Linux and macOS.
22-
6. Install Python 3.x or 2.7.x, if neither is already installed.
22+
6. Install Python 3.x, if neither is already installed.
2323
7. Install make.
2424
- `brew install make` on MacOS.
2525
- `sudo apt install make` on Windows + WSL2.

hack/boilerplate/boilerplate.py.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
# Copyright YEAR The Kubernetes Authors.
44
#

hack/boilerplate/boilerplate_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
# Copyright 2016 The Kubernetes Authors.
44
#

hack/boilerplate/test/fail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
# Copyright 2015 The Kubernetes Authors.
44
#

hack/boilerplate/test/pass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
# Copyright 2015 The Kubernetes Authors.
44
#

hack/checkin_account.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
# Copyright 2019 The Kubernetes Authors.
44
#
@@ -14,9 +14,9 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17+
from urllib.parse import urlencode
1718
import sys
18-
import httplib
19-
import urllib
19+
import http.client as httplib
2020
import os
2121

2222
BOSKOS_HOST=os.environ.get("BOSKOS_HOST", "boskos")
@@ -26,7 +26,7 @@
2626

2727
if __name__ == "__main__":
2828
conn = httplib.HTTPConnection(BOSKOS_HOST)
29-
conn.request("POST", "/release?%s" % urllib.urlencode({
29+
conn.request("POST", "/release?%s" % urlencode({
3030
'name': BOSKOS_RESOURCE_NAME,
3131
'dest': 'dirty',
3232
'owner': USER,

hack/checkout_account.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
# Copyright 2019 The Kubernetes Authors.
44
#
@@ -16,8 +16,8 @@
1616

1717
"""Checks out a gcp account from E2E"""
1818

19-
import urllib
20-
import httplib
19+
from urllib.parse import urlencode
20+
import http.client as httplib
2121
import os
2222
import sys
2323
import json
@@ -29,7 +29,7 @@
2929

3030
def post_request(host, input_state = "clean"):
3131
conn = httplib.HTTPConnection(host)
32-
conn.request("POST", "/acquire?%s" % urllib.urlencode({
32+
conn.request("POST", "/acquire?%s" % urlencode({
3333
'type': RESOURCE_TYPE,
3434
'owner': USER,
3535
'state': input_state,
@@ -56,5 +56,5 @@ def post_request(host, input_state = "clean"):
5656
sys.exit("Got invalid response %d: %s" % (status, reason))
5757

5858
body = json.loads(result)
59-
print 'export BOSKOS_RESOURCE_NAME="%s";' % body['name']
60-
print 'export GCP_PROJECT="%s";' % body['name']
59+
print('export BOSKOS_RESOURCE_NAME="%s";' % body['name'])
60+
print('export GCP_PROJECT="%s";' % body['name'])

hack/heartbeat_account.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
# Copyright 2019 The Kubernetes Authors.
44
#
@@ -14,9 +14,9 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17+
from urllib.parse import urlencode
1718
import sys
18-
import httplib
19-
import urllib
19+
import http.client as httplib
2020
import os
2121
import time
2222

@@ -30,7 +30,7 @@
3030
# keep sending heart beat for 3 hours
3131
while count < 180:
3232
conn = httplib.HTTPConnection(BOSKOS_HOST)
33-
conn.request("POST", "/update?%s" % urllib.urlencode({
33+
conn.request("POST", "/update?%s" % urlencode({
3434
'name': BOSKOS_RESOURCE_NAME,
3535
'state': 'busy',
3636
'owner': USER,

hack/install-cert-manager.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ KUBECTL="${REPO_ROOT}/hack/tools/bin/kubectl"
5252
cd "${REPO_ROOT}" && make "${KUBECTL##*/}"
5353

5454
## Install cert manager and wait for availability
55-
"${KUBECTL}" apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.10.1/cert-manager.yaml
55+
"${KUBECTL}" apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.11.0/cert-manager.yaml
5656
"${KUBECTL}" wait --for=condition=Available --timeout=5m -n cert-manager deployment/cert-manager
5757
"${KUBECTL}" wait --for=condition=Available --timeout=5m -n cert-manager deployment/cert-manager-cainjector
5858
"${KUBECTL}" wait --for=condition=Available --timeout=5m -n cert-manager deployment/cert-manager-webhook

0 commit comments

Comments
 (0)