Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update Getting Started Terraform Tutorial files #42

Merged
merged 15 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions terraform/getting-started-deployment-tf/cluster_profiles.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ resource "spectrocloud_cluster_profile" "aws-profile" {
values = templatefile("manifests/values-3tier.yaml", {
namespace = var.app_namespace,
port = var.app_port,
replicas = var.replicas_number
replicas = var.replicas_number,
db_password = base64encode(var.db_password),
auth_token = base64encode(var.auth_token)
})
Expand Down Expand Up @@ -113,7 +113,7 @@ resource "spectrocloud_cluster_profile" "aws-profile-kubecost" {
values = templatefile("manifests/values-3tier.yaml", {
namespace = var.app_namespace,
port = var.app_port,
replicas = var.replicas_number
replicas = var.replicas_number,
db_password = base64encode(var.db_password),
auth_token = base64encode(var.auth_token)
})
Expand Down Expand Up @@ -181,7 +181,7 @@ resource "spectrocloud_cluster_profile" "azure-profile" {
values = templatefile("manifests/values-3tier.yaml", {
namespace = var.app_namespace,
port = var.app_port,
replicas = var.replicas_number
replicas = var.replicas_number,
db_password = base64encode(var.db_password),
auth_token = base64encode(var.auth_token)
})
Expand Down Expand Up @@ -241,7 +241,7 @@ resource "spectrocloud_cluster_profile" "azure-profile-kubecost" {
values = templatefile("manifests/values-3tier.yaml", {
namespace = var.app_namespace,
port = var.app_port,
replicas = var.replicas_number
replicas = var.replicas_number,
db_password = base64encode(var.db_password),
auth_token = base64encode(var.auth_token)
})
Expand Down Expand Up @@ -310,7 +310,7 @@ resource "spectrocloud_cluster_profile" "gcp-profile" {
values = templatefile("manifests/values-3tier.yaml", {
namespace = var.app_namespace,
port = var.app_port,
replicas = var.replicas_number
replicas = var.replicas_number,
db_password = base64encode(var.db_password),
auth_token = base64encode(var.auth_token)
})
Expand Down
4 changes: 2 additions & 2 deletions terraform/getting-started-deployment-tf/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ data "spectrocloud_pack" "azure_cni" {

data "spectrocloud_pack" "azure_k8s" {
name = "kubernetes"
version = "1.27.5"
version = "1.30.4"
registry_uid = data.spectrocloud_registry.public_registry.id
}

Expand Down Expand Up @@ -143,7 +143,7 @@ data "spectrocloud_pack" "vmware_csi" {

data "spectrocloud_pack" "vmware_metallb" {
name = "lb-metallb-helm"
version = "0.13.11"
version = "0.14.8"
registry_uid = data.spectrocloud_registry.public_registry.id
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,21 @@ manifests:
replicas: ${replicas}
dbPassword: ${db_password} # Add base64 encoded password
authToken: ${auth_token} # Add base64 encoded token
ui:
useTolerations: false
tolerations:
effect: PreferNoSchedule
key: app
value: ui
api:
useTolerations: false
tolerations:
effect: PreferNoSchedule
key: app
value: api
postgres:
useTolerations: false
tolerations:
effect: PreferNoSchedule
key: app
value: postgres
Loading