-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathkubeflow.tf
55 lines (54 loc) · 1.31 KB
/
kubeflow.tf
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
49
50
51
52
53
54
55
module "treebeardkf" {
count = var.enable_treebeardkf ? 1 : 0
source = "../.."
kubeflow_values = [
<<EOF
sources:
- repoURL: 'https://github.com/treebeardtech/treebeard-kubeflow-gitops'
targetRevision: 8e3369ac3720bd837f75d812b9ec9d5f9d135cef
ref: values
valueFiles:
- $values/clusters/eks-https-loadbalancer.yaml
valuesObject:
istioResources:
spec:
source:
kustomize:
patches:
- target:
kind: Gateway
name: kubeflow-gateway
patch: |-
- op: replace
path: /spec/servers/0
value:
hosts:
- ${var.host}
port:
name: https
number: 443
protocol: HTTPS
tls:
credentialName: gateway-cert
mode: SIMPLE
dex:
spec:
project: default
source:
kustomize:
patches:
- target:
kind: Secret
name: dex-passwords
patch: |-
- op: replace
path: /stringData/DEX_USER_PASSWORD
value: ${bcrypt(var.password)}
EOF
]
depends_on = [
null_resource.cluster_ready,
null_resource.core_addons,
null_resource.istio
]
}