Skip to content

Commit

Permalink
terraform formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bensoer committed May 18, 2024
1 parent 147c661 commit 8995206
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion modules/k8config/modules/kyverno/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ resource "helm_release" "kyverno" {

repository = "https://kyverno.github.io/kyverno/"
chart = "kyverno"
version = "3.1.4"
version = "3.1.4"

atomic = true
create_namespace = true
Expand Down
24 changes: 12 additions & 12 deletions modules/k8infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ resource "digitalocean_kubernetes_cluster" "k8stack" {
tags = ["k8stack"]

maintenance_policy {
start_time = "7:00"
day = "any"
start_time = "7:00"
day = "any"
}

node_pool {
name = "main-worker-pool"
size = "s-2vcpu-2gb"
name = "main-worker-pool"
size = "s-2vcpu-2gb"

auto_scale = true

Expand All @@ -60,14 +60,14 @@ resource "digitalocean_kubernetes_cluster" "k8stack" {
resource "digitalocean_kubernetes_node_pool" "extended_pool" {
cluster_id = digitalocean_kubernetes_cluster.k8stack.id

name = "extended-worker-pool"
size = "s-1vcpu-2gb"
name = "extended-worker-pool"
size = "s-1vcpu-2gb"

auto_scale = true
min_nodes = 1

min_nodes = 1
node_count = 5
max_nodes = 8
max_nodes = 8

tags = ["pool-name:extended-pool", "resource-demand:low"]

Expand All @@ -92,7 +92,7 @@ resource "digitalocean_project" "k8stack-project" {
resource "digitalocean_spaces_bucket" "k8stack-resources" {
name = "k8stack-resources"
region = "nyc3"
acl = "private"
acl = "private"

# Deletes the bucket even if its not empty
force_destroy = true
Expand Down

0 comments on commit 8995206

Please sign in to comment.