Skip to content

Commit fa51afd

Browse files
committed
create prow certificates
1 parent 57051f1 commit fa51afd

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

dns/zone-configs/k8s.io._0_base.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,10 @@ prow:
260260
type: A
261261
ttl: 600 # this has needed to change in the past
262262
value: 35.186.196.185
263+
# prow-certificates in k8s-infra-prow project
264+
_acme-challenge.prow:
265+
type: CNAME
266+
value: ec952040-1ea9-43db-b382-e0fde0cddbb6.16.authorize.certificatemanager.goog.
263267
hooks.prow:
264268
- type: A
265269
ttl: 600 # this has needed to change in the past
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
Copyright 2024 The Kubernetes Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
17+
resource "google_certificate_manager_dns_authorization" "prow" {
18+
name = "dns-authz-prow-k8s-io"
19+
description = "*.prow.k8s.io challenge"
20+
domain = "prow.k8s.io"
21+
project = module.project.project_id
22+
}
23+
24+
resource "google_certificate_manager_certificate" "prow" {
25+
name = "prow-certificates"
26+
description = "Prow Certificates"
27+
project = module.project.project_id
28+
managed {
29+
domains = ["prow.k8s.io","*.prow.k8s.io"]
30+
dns_authorizations = [
31+
google_certificate_manager_dns_authorization.prow.id
32+
]
33+
}
34+
}
35+

0 commit comments

Comments
 (0)