Skip to content

Commit

Permalink
feat(helm): enable ingress for prometheus
Browse files Browse the repository at this point in the history
Signed-off-by: Byeonghoon Yoo <[email protected]>
  • Loading branch information
isac322 committed Jan 4, 2024
1 parent 612995c commit db796c7
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions values/kube-prometheus-stack/backbone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -401,24 +401,25 @@ prometheusOperator:
##
prometheus:
ingress:
enabled: false
enabled: true

# For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
# See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
# ingressClassName: nginx
ingressClassName: traefik

annotations: {}
labels: {}

## Redirect ingress to an additional defined port on the service
# servicePort: 8081
annotations:
cert-manager.io/cluster-issuer: cluster-issuer-acme
cert-manager.io/private-key-algorithm: ECDSA
cert-manager.io/private-key-size: '384'
traefik.ingress.kubernetes.io/router.entrypoints: websecure

## Hostnames.
## Must be provided if Ingress is enabled.
##
# hosts:
# - prometheus.domain.com
hosts: []
hosts:
- prometheus.bhyoo.com

## Paths to use for ingress rules - one path should match the prometheusSpec.routePrefix
##
Expand All @@ -432,10 +433,10 @@ prometheus:
## TLS configuration for Prometheus Ingress
## Secret must be manually created in the namespace
##
tls: []
# - secretName: prometheus-general-tls
# hosts:
# - prometheus.example.com
tls:
- secretName: prometheus-general-tls
hosts:
- prometheus.bhyoo.com

## Settings affecting prometheusSpec
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#prometheusspec
Expand Down

0 comments on commit db796c7

Please sign in to comment.