forked from GoogleCloudPlatform/ai-on-gke
-
Notifications
You must be signed in to change notification settings - Fork 1
/
workloads-existing-brand-existing-client.example.tfvars
48 lines (42 loc) · 1.95 KB
/
workloads-existing-brand-existing-client.example.tfvars
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 2023 Google LLC
#
# 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.
##common variables
## Need to pull this variables from tf output from previous infrastructure stage
project_id = "<gcp-prj-id>"
## this is required for terraform to connect to GKE master and deploy workloads
create_cluster = false # this flag will create a new standard public gke cluster in default network
cluster_name = "<cluster-name>"
cluster_location = "us-central1"
cluster_membership_id = "" # required only for private cluster, default: cluster_name
#######################################################
#### APPLICATIONS
#######################################################
## JupyterHub variables
kubernetes_namespace = "ai-on-gke"
create_gcs_bucket = true
gcs_bucket = "<gcs-bucket>"
workload_identity_service_account = "jupyter-service-account"
# JupyterHub with IAP
add_auth = true
brand = "projects/<prj-number>/brands/<prj-number>"
support_email = "<email>"
k8s_ingress_name = "jupyter-ingress"
k8s_iap_secret_name = "jupyter-iap-secret"
k8s_backend_config_name = "jupyter-iap-config"
k8s_backend_service_name = "proxy-public"
k8s_backend_service_port = 80
domain = "jupyter.example.com"
client_id = "<client_id>"
client_secret = "<client_secret>"
members_allowlist = "user:<email>,group:<email>,serviceAccount:<email>,domain:google.com"