Hi!
How I make this Ingress configuration.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: kibana
annotations:
kubernetes.io/ingress.class: addon-http-application-routing
spec:
rules:
- host: Kibana.xpto.com
http:
paths:
- backend:
serviceName: kibana
servicePort: 5601
path: /
With Terraform Helm with set? My current file is this:
resource "helm_release" "kibana" {
name = "kibana"
chart = "stable/kibana"
namespace = "backoffice"
set {
name = "rbac.create"
value = "true"
}
set {
name = "env.SERVER_HOST"
value = "0.0.0.0"
}
set {
name = "env.ELASTICSEARCH_URL"
value = "http://elasticsearch-client.backoffice:9200"
}
set {
name = "service.externalPort"
value = "5601"
}
timeout="600"
}
For a kubernetes.io/ingress.class: addon-http-application-routing annotation you need to escape the dots in the "kubernetes.io/ingress.class" namespace parts like so:
set {
name = "service.annotations.kubernetes\\.io/ingress\\.class"
value = "addon-http-application-routing"
}
Oh shit...thx a lot.
Most helpful comment
For a
kubernetes.io/ingress.class: addon-http-application-routingannotation you need to escape the dots in the "kubernetes.io/ingress.class" namespace parts like so: