Skip to content

Commit

Permalink
[k8s] Refresh to work easily with helm3 and publick repo (#2009)
Browse files Browse the repository at this point in the history
- [lib] Bump dahpne as needed by new channels
- [k8s] Refresh to work easily with helm3 and publick repo
  • Loading branch information
romainr committed Apr 15, 2021
1 parent ad931c9 commit 04411c6
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
1 change: 1 addition & 0 deletions desktop/core/requirements.txt
Expand Up @@ -11,6 +11,7 @@ configobj==5.0.6
cryptography==3.3.2
django-auth-ldap==2.3.0
Django==3.1.8
daphne==3.0.2
django-axes==5.13.0
django-celery-beat==1.4.0
django_celery_results==1.0.4
Expand Down
2 changes: 1 addition & 1 deletion tools/docker/hue/README.md
Expand Up @@ -168,7 +168,7 @@ Directly from Github source:

Or from a cloned local Hue:

docker build . -t hue -f tools/docker/hue/Dockerfile
docker build . -t gethue/hue -f tools/docker/hue/Dockerfile

**Note**

Expand Down
2 changes: 1 addition & 1 deletion tools/kubernetes/helm/hue/Chart.yaml
@@ -1,7 +1,7 @@
apiVersion: v1
description: Hue is an SQL Cloud Editor for Data Warehouses and Databases.
name: hue
version: 1.0.1
version: 1.0.2
appVersion: 1.0
keywords:
- Hue
Expand Down
17 changes: 15 additions & 2 deletions tools/kubernetes/helm/hue/README.md
Expand Up @@ -9,7 +9,7 @@ This is an Helm chart to easily start a Hue service.

View the configuration [values.yaml](values.yaml), edit if needed and run:

helm install hue -n hue
helm install hue hue

[values.yaml](values.yaml) contains the most important parameters in the `hue` section with for example which database to use. The `ini`
section let you add any extra [regular parameter](https://docs.gethue.com//administrator/configuration/server/).
Expand All @@ -32,7 +32,7 @@ and open-up http://localhost:8888

## Uninstall

helm delete hue --purge
helm delete hue

## Ingress

Expand All @@ -55,3 +55,16 @@ Follow https://kubernetes.github.io/ingress-nginx/deploy/#using-helm
And set `ingress.create=true` and `ingress.type=nginx` in [values.yaml](values.yaml).

For SSL, one option is to check `jetstack/cert-manager`.

## Using a local registry

e.g. with microk8s and helm3:

docker build . -t localhost:32000/hue:latest -f tools/docker/hue/Dockerfile
docker build . -t localhost:32000/nginx:latest -f tools/docker/nginx/Dockerfile --build-arg registry=localhost:32000 --build-arg tag=latest

docker push localhost:32000/hue:latest
docker push localhost:32000/nginx:latest

helm install hue hue --set image.registry=localhost:32000
helm delete hue
3 changes: 2 additions & 1 deletion tools/kubernetes/helm/hue/templates/NOTES.txt
Expand Up @@ -6,7 +6,8 @@ To check the status of your installation run:


Get the recommended URL below and start executing queries:
{{- if ne .Values.ingress.type "nginx-ssl" -}}

{{ if ne .Values.ingress.type "nginx-ssl" }}
export WEB_HOST=$(kubectl get node -o jsonpath="{.items[0].metadata.name}")
{{- end -}}

Expand Down
2 changes: 1 addition & 1 deletion tools/kubernetes/helm/hue/values.yaml
@@ -1,7 +1,7 @@
image:
registry: "gethue"
tag: "latest"
pullPolicy: "IfNotPresent"
pullPolicy: "Always"
hue:
replicas: 2
database:
Expand Down

0 comments on commit 04411c6

Please sign in to comment.