File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -114,13 +114,17 @@ resource "google_service_account_iam_binding" "workload_identity" {
114
114
]
115
115
}
116
116
117
- # Install OpenEBS for local SSD support
118
117
resource "kubernetes_namespace" "openebs" {
119
118
count = var. install_openebs ? 1 : 0
120
119
121
120
metadata {
122
121
name = var. openebs_namespace
123
122
}
123
+
124
+ depends_on = [
125
+ google_container_cluster . primary ,
126
+ google_container_node_pool . primary_nodes
127
+ ]
124
128
}
125
129
126
130
resource "helm_release" "openebs" {
@@ -145,8 +149,8 @@ resource "helm_release" "openebs" {
145
149
value = " false"
146
150
}
147
151
148
-
149
152
depends_on = [
153
+ google_container_cluster . primary ,
150
154
google_container_node_pool . primary_nodes ,
151
155
kubernetes_namespace . openebs
152
156
]
@@ -168,7 +172,6 @@ resource "kubernetes_namespace" "disk_setup" {
168
172
]
169
173
}
170
174
171
- # Create a ConfigMap containing the disk setup script
172
175
resource "kubernetes_config_map" "disk_setup_script" {
173
176
count = var. enable_disk_setup ? 1 : 0
174
177
You can’t perform that action at this time.
0 commit comments