forked from openshift/installer
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modules/tls: modularize TLS provisioning (openshift#1811)
* modules/tls: initial commit This adds a new modules under `modules/tls/*` which is necessary for swappable TLS certificates. * modules/bootkube modules/tectonic: configure ingress certificate Currently everything is based off the Kube CA certificate. This changes it by: 1. Configuring a dedicated Dex client CA in Tectonic console pointing to the identity grpc client CA. 2. Configuring a dedicated OIDC CA certificate for the API server. 3. Configuring a dedicated ingress CA certificate for the Tectonic console. This will allow to specify separate CA certificates.
- Loading branch information
Sergiusz Urbaniak
authored
Sep 13, 2017
1 parent
12dbe98
commit db65ea2
Showing
44 changed files
with
1,169 additions
and
696 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Kubernete's Service Account (resources/generated/tls/{service-account.key,service-account.pub}) | ||
resource "tls_private_key" "service_account" { | ||
algorithm = "RSA" | ||
rsa_bits = "2048" | ||
} | ||
|
||
resource "local_file" "service_account_key" { | ||
content = "${tls_private_key.service_account.private_key_pem}" | ||
filename = "./generated/tls/service-account.key" | ||
} | ||
|
||
resource "local_file" "service_account_crt" { | ||
content = "${tls_private_key.service_account.public_key_pem}" | ||
filename = "./generated/tls/service-account.pub" | ||
} |
Oops, something went wrong.