Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dns/zone-configs/k8s.io._0_base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,10 @@ prow:
type: A
ttl: 600 # this has needed to change in the past
value: 35.186.196.185
# prow-certificates in k8s-infra-prow project
_acme-challenge.prow:
type: CNAME
value: ec952040-1ea9-43db-b382-e0fde0cddbb6.16.authorize.certificatemanager.goog.
hooks.prow:
- type: A
ttl: 600 # this has needed to change in the past
Expand Down
35 changes: 35 additions & 0 deletions infra/gcp/terraform/k8s-infra-prow/certificates.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
Copyright 2024 The Kubernetes Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

resource "google_certificate_manager_dns_authorization" "prow" {
name = "dns-authz-prow-k8s-io"
description = "*.prow.k8s.io challenge"
domain = "prow.k8s.io"
project = module.project.project_id
}

resource "google_certificate_manager_certificate" "prow" {
name = "prow-certificates"
description = "Prow Certificates"
project = module.project.project_id
managed {
domains = ["prow.k8s.io","*.prow.k8s.io"]
dns_authorizations = [
google_certificate_manager_dns_authorization.prow.id
]
}
}