Open dicolasi opened 3 years ago
/assign
just to add to this: the same applies to everything under ingress in jx-requirements.yaml. An example is externalDNS, which defaults to false even if main.tf says true.
So, I tried to reproduce it with this:
module "eks-jx" {
source = "../../"
region = var.region
use_vault = var.use_vault
use_asm = var.use_asm
is_jx2 = false
enable_worker_groups_launch_template = true
encrypt_volume_self = true
tls_email = "test@test.com"
}
I see in the configmap:
ingress:
domain: ""
ignoreLoadBalancer: false
externalDNS: false
tls:
email: "test@test.com"
enabled: false
production: false
@dicolasi when you do a plan, what does it show in the plan? it seems to populate the right value for email for me.
Strange. Just created 3 new clusters and I see the same behaviour. I can only see this: ingress: domain: data.property.xyz externalDNS: true namespaceSubDomain: -jx. tls: email: "" enabled: true production: true
Enabled | Production | domain | externalDNS are correctly populated. Email still empty...
Here another example: main.tf
tls_email = "security@property.xyz" enable_tls = true production_letsencrypt = true enable_external_dns = true
jx-requirements.yaml:
ingress: domain: "" externalDNS: false namespaceSubDomain: -jx. tls: email: "" enabled: false production: false
I experienced the same issue when creating a cluster 3 days ago - will be building from scratch soon so will chime in if I see the same again as well.
I have the same issue while building a new jx3 cluster today. jx version: 3.0.787 terraform version: v0.13.5
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://jenkins-x.io/community.
/lifecycle stale
Summary
TLS email not populated in jx-requirements, resulting in a error in git-operator.
Steps to reproduce the behavior
In main.tf set
tls_email = "foo@bar.xyz"
Executeterraform apply
Expected behavior
In jx-requirements.yml, the ingress section should be populated with the following:
Actual behavior
Git operator fails with the following error:
Terraform version
The output of
terraform version
is:Module version
Operating system