Skip to content

Commit

Permalink
fix: bump azure k8s version, update presets manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
caroldelwing committed Sep 24, 2024
1 parent c7b6204 commit 88b77f2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
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
2 changes: 1 addition & 1 deletion 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
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

0 comments on commit 88b77f2

Please sign in to comment.