Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add headers #7123

Closed
zoemac11 opened this issue May 10, 2021 · 0 comments
Closed

Add headers #7123

zoemac11 opened this issue May 10, 2021 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@zoemac11
Copy link

NGINX Ingress controller version:3.5.2

Kubernetes version (use kubectl version):v1.18.14

Environment: AKS

What happened:

resource helm_release "ingress-nginx" {
name = "ingress-nginx"
repository = "https://kubernetes.github.io/ingress-nginx"
chart = "ingress-nginx"
version = "3.15.2"
namespace = "ingress-nginx"
create_namespace = true
set {
name = "controller.addHeaders.hsts-max-age"
value = "0"
}

}

ConfigMap in version "v1" cannot be handled as a ConfigMap: v1.ConfigMap.Data: ReadString: expects " or n, but found 0, error found in #10 byte of ...|max-age":0

What you expected to happen:

Looks like it is stripping the quotation marks when converting to yaml.

@zoemac11 zoemac11 added the kind/bug Categorizes issue or PR as related to a bug. label May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant