-
Notifications
You must be signed in to change notification settings - Fork 1
/
keycloak.tf
48 lines (46 loc) · 900 Bytes
/
keycloak.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
resource "helm_release" "keycloak" {
name = "keycloak"
repository = "oci://registry-1.docker.io/bitnamicharts"
chart = "keycloak"
namespace = kubernetes_namespace.gits.metadata[0].name
set {
name = "auth.adminUser"
value = "admin"
}
set {
name = "auth.adminPassword"
value = var.keycloak_admin_pw
}
set {
name = "production"
value = "true"
}
set {
name = "proxy"
value = "edge"
}
set {
name = "httpRelativePath"
value = "/keycloak/"
}
set {
name = "global.imagePullSecrets.0"
value = kubernetes_secret.image_pull.metadata[0].name
}
set {
name = "image.pullPolicy"
value = "Always"
}
set {
name = "image.registry"
value = "ghcr.io"
}
set {
name = "image.repository"
value = "it-rex-platform/keycloak"
}
set {
name = "image.tag"
value = "latest"
}
}