-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b00cada
commit 3ad05e2
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
data "http" "values_yaml" { | ||
url = "https://raw.githubusercontent.com/apache/superset/master/helm/superset/values.yaml" | ||
} | ||
|
||
resource "helm_release" "superset" { | ||
name = "superset" | ||
repository = "http://apache.github.io/superset" | ||
chart = "superset" | ||
namespace = "superset" | ||
create_namespace = true | ||
|
||
values = [data.http.values_yaml.response_body] | ||
|
||
set { | ||
name = "bootstrapScript" | ||
value = <<-EOT | ||
#!/bin/bash | ||
pip3 install pyodbc JPype1 | ||
pip3 install sqlalchemy-drill | ||
EOT | ||
} | ||
|
||
set_sensitive { | ||
name = "adminUser.password" | ||
value = var.superset_password | ||
} | ||
|
||
cleanup_on_fail = true | ||
wait_for_jobs = true | ||
timeout = 600 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters