1
0
Fork 0
molgenis-ops-docker-helm/nexus/v0.1.x/templates/deployments/nexus-deployment.yaml

29 lines
865 B
YAML
Raw Normal View History

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
name: {{ .Values.nexus.name }}
labels:
app: {{ .Values.nexus.name }}
environment: {{ .Values.environment }}
spec:
2018-06-25 22:53:22 +02:00
replicas: {{ .Values.replicaCount }}
2018-06-25 22:55:49 +02:00
strategy: {{ .Values.nexus.strategy.type }}
selector:
matchLabels:
app: {{ .Values.nexus.selector }}
template:
metadata:
labels:
app: {{ .Values.nexus.name }}
creationTimestamp: null
spec:
restartPolicy: {{ .Values.nexus.restartPolicy }}
containers:
- name: {{ .Values.nexus.name }}
image: "{{ .Values.nexus.image.repository }}:{{ .Values.nexus.image.tag }}"
imagePullPolicy: {{ .Values.nexus.image.pullPolicy }}
ports:
- containerPort: {{ .Values.nexus.port.ui }}
- containerPort: {{ .Values.nexus.port.docker }}