carlosedp / cluster-monitoring

Cluster monitoring stack for clusters based on Prometheus Operator
MIT License
740 stars 200 forks source link

[FR] Ability to specify the ingress via annotation in vars.jsonnet #109

Closed fourstepper closed 3 years ago

fourstepper commented 3 years ago

It would be nice if it would be possible to specify the ingress to be used via an optional annotation

carlosedp commented 3 years ago

You could configure the stack by adding the annotations to the jsonnet sections here: https://github.com/carlosedp/cluster-monitoring/blob/c04bb08b05b7f02790540b58997f83e1591f3eb4/base_operator_stack.jsonnet#L136

The jsonnet docs for the library is at: https://ksonnetlib-docs-1-15.netlify.app/extensions/v1beta1/ingress/