Bläddra i källkod

HUE-9030 [k8s] v1 of helm chart for the website

Romain 6 år sedan
förälder
incheckning
f03bce6ccd

+ 2 - 2
tools/kubernetes/helm/website/README.md

@@ -8,7 +8,7 @@ This is an Helm chart to easily manage the Hue websites, gethue, docs, cdn, foru
 
 View the configuration [values.yaml](values.yaml), edit if needed and run:
 
-    helm install hue-website -n hue-website
+    helm install website -n website --namespace 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/latest/administrator/configuration/server/).
@@ -17,4 +17,4 @@ Then follow-up the instructions printed on the screen for getting the URL to con
 
 ## Uninstall
 
-    helm delete hue-website --purge
+    helm delete website --purge --namespace hue

+ 1 - 1
tools/kubernetes/helm/website/templates/ingress-http.yaml

@@ -11,7 +11,7 @@ metadata:
     nginx.ingress.kubernetes.io/session-cookie-max-age: "172800"
 spec:
   rules:
-  - host: {{ .Values.ingress.domain }}
+  - host: {{ .Values.docs.domain }}
     http:
       paths:
       - backend:

+ 3 - 2
tools/kubernetes/helm/website/templates/service-docs.gethue.yaml

@@ -9,5 +9,6 @@ spec:
     pod: gethue-docs
   ports:
   - name: gethue-docs
-    port: 80
-  type: ClusterIP
+    port: 9001
+    targetPort: 80
+  type: NodePort

+ 1 - 1
tools/kubernetes/helm/website/values.yaml

@@ -1,6 +1,6 @@
 image:
    registry: "localhost:32000"
-   tag: "registry"
+   tag: "latest"
    pullPolicy: "Always"
    # registry: "gethue"
    # tag: "latest"

+ 0 - 2
tools/kubernetes/yaml/README.md

@@ -7,8 +7,6 @@
 
     kubectl delete -f hue/
 
-
-
 # If using Workers
 
     kubectl create -f celery/