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
resource"helm_release""kong" {
name="kong"namespace=var.namespacerepository="https://charts.konghq.com"chart="ingress"version=local.kong-helm-versionskip_crds=truevalues=[
"${file("${path.module}/values.yaml")}"
]
set=[
{
name ="controller.containerSecurityContext.runAsUser"
value =null
},
{
name ="gateway.containerSecurityContext.runAsUser"
value =null
}
]
}
Debug Output
│ Error: Missing Configuration for Required Attribute
│
│ with module.kong.helm_release.kong,
│ on ../../modules/terraform-module-kong-konnect/main.tf line 7, in resource "helm_release" "kong":
│ 7: resource "helm_release" "kong" {
│
│ Must set a configuration value for the set[0].value attribute as the provider has marked it as required.
│
│ Refer to the provider documentation or contact the provider developers for additional information about configurable attributes that are required.
╵
╷
│ Error: Missing Configuration for Required Attribute
│
│ with module.kong.helm_release.kong,
│ on ../../modules/terraform-module-kong-konnect/main.tf line 7, in resource "helm_release" "kong":
│ 7: resource "helm_release" "kong" {
│
│ Must set a configuration value for the set[1].value attribute as the provider has marked it as required.
│
│ Refer to the provider documentation or contact the provider developers for additional information about configurable attributes that are required.
Panic Output
Steps to Reproduce
terraform apply
Expected Behavior
helm_release should have rendered the template without errors and both fields (controller.containerSecurityContext.runAsUser and gateway.containerSecurityContext.runAsUser should be null.
Actual Behavior
helm_release fails with the error from the debug output
Important Factoids
References
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
Terraform, Provider, Kubernetes and Helm Versions
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Steps to Reproduce
terraform apply
Expected Behavior
helm_release should have rendered the template without errors and both fields (
controller.containerSecurityContext.runAsUser
andgateway.containerSecurityContext.runAsUser
should be null.Actual Behavior
helm_release fails with the error from the debug output
Important Factoids
References
Community Note
The text was updated successfully, but these errors were encountered: