@@ -1,10 +1,14 @@
{{- if .Values.hue.database.create -}}
-apiVersion: v1
-kind: ReplicationController
+apiVersion: apps/v1
+kind: Deployment
metadata:
name: postgres-hue
spec:
- replicas: 1
+ selector:
+ matchLabels:
+ app: postgres-hue
+ strategy:
+ type: Recreate
template:
labels: