Skip to content

Commit

Permalink
chore: sanitize defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiFleKs committed Mar 2, 2019
1 parent 860a133 commit 0ec79a8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
20 changes: 18 additions & 2 deletions terraform/live/sample/eks-addons/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ cert_manager = {
enabled = false
namespace = "cert-manager"
extra_values = ""
acme_email = "kevin.lefevre@osones.io"
acme_email = "example@email.com"
}

//
Expand Down Expand Up @@ -134,7 +134,23 @@ prometheus_operator = {
chart_version = "1.5.1"
enabled = false
namespace = "monitoring"
extra_values = ""
extra_values = <<EXTRA_VALUES
grafana:
ingress:
enabled: true
annotations:
certmanager.k8s.io/acme-challenge-type: dns01
certmanager.k8s.io/acme-dns01-provider: route53
certmanager.k8s.io/cluster-issuer: letsencrypt
kubernetes.io/ingress.class: nginx
kubernetes.io/tls-acme: "true"
hosts:
- grafana.eks.example.domain
tls:
- secretName: grafana-eks-example-domain
hosts:
- grafana.eks.example.domain
EXTRA_VALUES
}

//
Expand Down
6 changes: 3 additions & 3 deletions terraform/live/sample/eks/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ vpc = {
// [dns]
//
use_route53 = false
domain_name = "archifleks.net"
domain_name = "example.domain"
subdomain_name = "eks"

//
Expand Down Expand Up @@ -230,7 +230,7 @@ node-pools = [
max_size = 1
desired_capacity = 1
instance_type = "t3.medium"
key_name = "klefevre-sorrow"
key_name = "keypair"
volume_size = 30
volume_type = "gp2"
autoscaling = "disabled"
Expand All @@ -242,7 +242,7 @@ node-pools = [
max_size = 9
desired_capacity = 3
instance_type = "t3.medium"
key_name = "klefevre-sorrow"
key_name = "keypair"
volume_size = 30
volume_type = "gp2"
autoscaling = "enabled"
Expand Down

0 comments on commit 0ec79a8

Please sign in to comment.