refactor helm files to use namespace prefix
[oom.git] / kubernetes / aai / templates / hbase-deployment.yaml
1 apiVersion: extensions/v1beta1
2 kind: Deployment
3 metadata:
4   name: hbase
5   namespace: "{{ .Values.nsPrefix }}-aai"
6 spec:
7   selector:
8     matchLabels:
9       app: hbase
10   template:
11     metadata:
12       labels:
13         app: hbase
14       name: hbase
15     spec:
16       hostname: hbase
17       containers:
18       - name: hbase
19         image: {{ .Values.image.aaiHbase }}
20         imagePullPolicy: {{ .Values.pullPolicy }}
21         ports:
22         - containerPort: 8020
23         readinessProbe:
24           tcpSocket:
25             port: 8020
26           initialDelaySeconds: 5
27           periodSeconds: 10
28       imagePullSecrets:
29       - name: "{{ .Values.nsPrefix }}-docker-registry-key"