<commit_before>Congratulations, you've launched the Hue SQL Editor for Data Warehouses!

To check the status of your installation run:

  helm list {{ .Release.Name }}


You should be able to execute queries by typing:

  kubectl port-forward svc/hue 8888:8888 --address 0.0.0.0 &

Then opening-up:

  http://localhost:8888


Or running below commands to get the recommended URL:

{{- if .Values.balancer.enabled -}}

  export WEB_PORT=$(kubectl get service hue-balancer -o jsonpath="{.spec.ports[*].nodePort}" --namespace {{ .Release.Namespace }})

{{- else -}}

  export WEB_PORT=$(kubectl get service hue -o jsonpath="{.spec.ports[*].nodePort}" --namespace {{ .Release.Namespace }})

{{- end }}

  echo http://$WEB_HOST:$WEB_PORT


Happy Querying!
<commit_msg>HUE-8744 [k8s] Also add ingress and ssl Hue address in the notes if configured<commit_after>Congratulations, you've launched the Hue SQL Editor for Data Warehouses!

To check the status of your installation run:

  helm list {{ .Release.Name }}


You should be able to execute queries by typing:

  kubectl port-forward svc/hue 8888:8888 --address 0.0.0.0 &

Then opening-up:

  http://localhost:8888


Or running below commands to get the recommended URL:

  export WEB_HOST=$(kubectl get node -o jsonpath="{.items[0].metadata.name}")

{{ if and .Values.ingress.create (eq .Values.ingress.type "nginx") }}

  echo http://$WEB_HOST

{{ else if and .Values.ingress.create (eq .Values.ingress.type "nginx-ssl") }}

  echo https://$WEB_HOST

{{ else if .Values.balancer.enabled }}

  export WEB_PORT=$(kubectl get service hue-balancer -o jsonpath="{.spec.ports[*].nodePort}" --namespace {{ .Release.Namespace }})

  echo http://$WEB_HOST:$WEB_PORT

{{ else }}

  export WEB_PORT=$(kubectl get service hue -o jsonpath="{.spec.ports[*].nodePort}" --namespace {{ .Release.Namespace }})

  echo http://$WEB_HOST:$WEB_PORT

{{ end }}


Happy Querying!

{'fraction_non_alphanumeric': 0.140534871525957, 'fraction_numerical': 0.019926586261143155, 'mean_word_length': 3.9302325581395348, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7549412', 'n_tokens_mistral': 691, 'n_tokens_neox': 621, 'n_words': 187}