replace tls client cert auth with oauth and add localai stub [ci skip]
This commit is contained in:
parent
2554ecf0ec
commit
4efa47172c
8 changed files with 171 additions and 22 deletions
6
main.tf
6
main.tf
|
|
@ -34,6 +34,7 @@ variable "drone_rpc_secret" {}
|
|||
# variable "dockerhub_password" {}
|
||||
variable "oauth2_proxy_client_id" {}
|
||||
variable "oauth2_proxy_client_secret" {}
|
||||
variable "oauth2_proxy_authenticated_emails" {}
|
||||
variable "url_shortener_mysql_password" {}
|
||||
variable "url_shortener_geolite_license_key" {}
|
||||
variable "url_shortener_api_key" {}
|
||||
|
|
@ -253,8 +254,9 @@ module "kubernetes_cluster" {
|
|||
drone_rpc_secret = var.drone_rpc_secret
|
||||
|
||||
# Oauth proxy
|
||||
oauth2_proxy_client_id = var.oauth2_proxy_client_id
|
||||
oauth2_proxy_client_secret = var.oauth2_proxy_client_secret
|
||||
oauth2_proxy_client_id = var.oauth2_proxy_client_id
|
||||
oauth2_proxy_client_secret = var.oauth2_proxy_client_secret
|
||||
oauth2_proxy_authenticated_emails = var.oauth2_proxy_authenticated_emails
|
||||
# oauth_client_id = var.oauth_client_id
|
||||
# oauth_client_secret = var.oauth_client_secret
|
||||
# depends_on = [module.k8s_master, module.k8s_node1, module.k8s_node2] # wait until master and at least 2 nodes are up
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue