Hi Team. we were successful installing datahub wi...
# all-things-deployment
e
Hi Team. we were successful installing datahub with helm chart. Is there any documentation around making the frontend webUi HTTPS/SSL enabled. Also, with helm install where does this telemetry config should be placed in the values.yml file? Thanks
g
value.yaml
for front end will look like this
Copy code
datahub-frontend:
  enabled: true
  image:
    repository: linkedin/datahub-frontend-react
    tag:
  ingress:
    enabled: true
    annotations:
      <http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: alb
      <http://alb.ingress.kubernetes.io/scheme|alb.ingress.kubernetes.io/scheme>: internet-facing
      <http://alb.ingress.kubernetes.io/target-type|alb.ingress.kubernetes.io/target-type>: instance
      <http://alb.ingress.kubernetes.io/certificate-arn|alb.ingress.kubernetes.io/certificate-arn>: "<<certificate_arn>>"
      <http://alb.ingress.kubernetes.io/inbound-cidrs|alb.ingress.kubernetes.io/inbound-cidrs>: 0.0.0.0/0
      <http://alb.ingress.kubernetes.io/listen-ports|alb.ingress.kubernetes.io/listen-ports>: '[{"HTTP": 80}, {"HTTPS":443}]'
      <http://alb.ingress.kubernetes.io/actions.ssl-redirect|alb.ingress.kubernetes.io/actions.ssl-redirect>: '{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}'
    hosts:
      - host: <datahub_hostname_dns_record>
        redirectPaths:
          - path: /*
            name: ssl-redirect
            port: use-annotation
        paths:
          - /*
here is documentation https://datahubproject.io/docs/deploy/aws#expose-endpoints-using-a-load-balancer
thanks bear 1
l
but how i open thr datahub-front in difrent port then http in 9002?
e
Is there any documentation around Ingress control with Nginx (not ALB) @gray-ocean-32209
g
not sure any document exists, but here is a sample templet of values.yml
Copy code
datahub-frontend:
  enabled: true
  mage:
    repository: linkedin/datahub-frontend-react
    tag: "latest"
    service:
      type: ClusterIP
  ingress:
    enabled: true
    annotations:
      <http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: "nginx"
      <http://nginx.ingress.kubernetes.io/proxy-body-size|nginx.ingress.kubernetes.io/proxy-body-size>: 10m
      <http://nginx.ingress.kubernetes.io/cors-allow-headers|nginx.ingress.kubernetes.io/cors-allow-headers>: Content-Type
      <http://nginx.ingress.kubernetes.io/cors-allow-methods|nginx.ingress.kubernetes.io/cors-allow-methods>: GET, POST, OPTIONS
      <http://nginx.ingress.kubernetes.io/cors-allow-origin|nginx.ingress.kubernetes.io/cors-allow-origin>: '*'
      <http://nginx.ingress.kubernetes.io/enable-cors|nginx.ingress.kubernetes.io/enable-cors>: "true"
      <http://nginx.ingress.kubernetes.io/ssl-redirect|nginx.ingress.kubernetes.io/ssl-redirect>: "true"
      <http://nginx.ingress.kubernetes.io/force-ssl-redirect|nginx.ingress.kubernetes.io/force-ssl-redirect>: "true"
      <http://cert-manager.io/cluster-issuer|cert-manager.io/cluster-issuer>: {{ .Values | get "issuer" }}

      hosts:
        - host: datahub-frontend.*.com
          # redirectPaths:
          #   - path: /*
          #     name: ssl-redirect
          #     port: use-annotation
          paths:
            - "/"
    tls:
      - secretName: {{ .Values | get "tls-secret" }}
    hosts:
      - <domain>.com
r
Hey Siva- did this help you?