@@ -17,8 +17,8 @@ spec:
spec:
containers:
- name: celery-beat
- image: {{ .Values.registry }}/hue:{{ .Values.tag }}
- imagePullPolicy: Always
+ image: {{ .Values.image.registry }}/hue:{{ .Values.image.tag }}
+ imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ['./build/env/bin/celery', 'beat', '-A', 'desktop', '-l', 'info']
volumeMounts:
- name: config-volume
- name: celery-worker
command: ['./build/env/bin/celery', 'worker', '-A', 'desktop', '-l', 'info']
@@ -55,7 +55,8 @@ spec:
- name: nginx
- image: {{ .Values.registry }}/nginx:{{ .Values.tag }}
+ image: {{ .Values.image.registry }}/nginx:{{ .Values.image.tag }}
ports:
- containerPort: 80
@@ -1,33 +0,0 @@
-{{- if .Values.hue.database.create -}}
-apiVersion: v1
-kind: ReplicationController
-metadata:
- name: hue-postgres
-spec:
- replicas: 1
- template:
- metadata:
- labels:
- app: hue-postgres
- spec:
- containers:
- - name: hue-postgres
- image: postgres:9.5
- env:
- - name: POSTGRES_USER
- value: hue
- - name: POSTGRES_PASSWORD
- - name: POSTGRES_DB
- - name: PGDATA
- value: /var/lib/postgresql/data/pgdata
- ports:
- - containerPort: 5432
- volumeMounts:
- - mountPath: /var/lib/postgresql/data
- name: pg-data
- volumes:
- - name: pg-data
- emptyDir: {}
-{{- end -}}
@@ -11,8 +11,8 @@ spec:
- name: hue
- containerPort: 8888
@@ -1,13 +0,0 @@
-kind: Service
- - name: pgql
- port: 5432
- type: NodePort
- selector:
@@ -1,6 +1,9 @@
-registry: "gethue"
-tag: "latest"
+image:
+ registry: "gethue"
+ tag: "latest"
+ pullPolicy: "IfNotPresent"
hue:
+ replicas: 1
database:
create: true
engine: "postgresql_psycopg2"
@@ -16,14 +19,17 @@ hue:
[[[mysql]]]
name = MySQL
interface=sqlalchemy
- options='{"url": "mysql://hue:datasshue@romain:3306/hue"}'
+ options='{"url": "mysql://hue:datasshue@romain2:3306/hue"}'
[[[postgresql]]]
name = postgresql
- options='{"url": "postgresql://hue:hue@hue-postgres:30445/hue"}'
+ options='{"url": "postgresql://hue:hue@hue-postgres:5432/hue"}'
+
ini: |
[desktop]
app_blacklist=filebrowser,search,hbase,security,jobbrowser,metastore
+ django_debug_mode=true
[[task_server]]
enabled=true