replicationcontroller-hue.yaml 820 B

12345678910111213141516171819202122232425262728293031
  1. apiVersion: v1
  2. kind: ReplicationController
  3. metadata:
  4. name: hue
  5. spec:
  6. replicas: {{ .Values.hue.replicas }}
  7. template:
  8. metadata:
  9. labels:
  10. app: hue
  11. spec:
  12. containers:
  13. - name: hue
  14. image: {{ .Values.registry }}:{{ .Values.tag }}
  15. imagePullPolicy: Always
  16. ports:
  17. - containerPort: 8888
  18. volumeMounts:
  19. - name: config-volume
  20. mountPath: /usr/share/hue/desktop/conf/z-hue.ini
  21. subPath: hue-ini
  22. - name: config-volume-extra
  23. mountPath: /usr/share/hue/desktop/conf/zz-hue.ini
  24. subPath: hue-ini
  25. volumes:
  26. - name: config-volume
  27. configMap:
  28. name: hue-config
  29. - name: config-volume-extra
  30. configMap:
  31. name: hue-config-extra