helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

ELB Https configuration

Open araufdogan opened this issue 2 years ago • 2 comments

Hello,

I'm trying to install grafana with https mode but ingress annotations not working. My values.yaml file is;

adminPassword: "123456"

persistence:
  enabled: true
  storageClassName: gp2

ingress:
  enabled: true
  ingressClassName: domain-class-name
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "http"
    service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "https"
    service.beta.kubernetes.io/aws-load-balancer-ssl-cert: "arn:aws:acm:...."
    nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
    nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
    nginx.ingress.kubernetes.io/whitelist-source-range: "whitelistip/32"
  labels: {}
  path: /

  pathType: Prefix

  hosts:
    - subdomain.domain.com
  extraPaths: []

datasources:
  datasources.yaml:
    apiVersion: 1
    datasources:
    - name: Prometheus
      type: prometheus
      url: http://prometheus-server.prometheus.svc.cluster.local
      access: proxy
      isDefault: true

service:
  enabled: true
  type: LoadBalancer

I'm installing grafana with the command;

helm install grafana grafana/grafana --namespace grafana -f values.yaml

It creates elb but there is no https configuration and whitelist-source-range. Where do I'm wrong?

Thank you.

araufdogan avatar Apr 15 '22 08:04 araufdogan