You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
variable"chart_name" {
default="logDNA_chart"
}
Expected Behavior
Helm chart should successfully apply.
Actual Behavior
Terraform logs show:
Error: create: failed to create: Secret "sh.helm.release.v1.logDNA-chart-1db1b7ff.v1" is invalid: metadata.name: Invalid value: "sh.helm.release.v1.lo
gDNA-chart-1db1b7ff.v1": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanume
ric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
0. pull the helm chart:
helm repo add stable https://kubernetes-charts.storage.googleapis.com
"stable" has been added to your repositories
terraform apply
Important Factoids
Are there anything atypical about your accounts that we should know? For example: Running in EC2 Classic? Custom version of OpenStack? Tight ACLs?
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
Terraform Version
Affected Resource(s)
Please list the resources as a list, for example:
LogDNA example:
https://github.com/IBM-Cloud/terraform-provider-ibm/blob/master/examples/ibm-logdna-cluster-integration/main.tf#L8
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Expected Behavior
Helm chart should successfully apply.
Actual Behavior
Terraform logs show:
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
0. pull the helm chart:
terraform apply
Important Factoids
Are there anything atypical about your accounts that we should know? For example: Running in EC2 Classic? Custom version of OpenStack? Tight ACLs?
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
Comments
The fix is straightforward, the
chart_name
value in variables.tf needs to be adjusted to something like:I will post a pull request 🔜 .
The text was updated successfully, but these errors were encountered: