2018-06-25 19:33:02 +02:00
|
|
|
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:58:00 +02:00
|
|
|
strategy:
|
|
|
|
type: {{ .Values.nexus.strategy.type }}
|
2018-06-25 19:33:02 +02:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: {{ .Values.nexus.selector }}
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: {{ .Values.nexus.name }}
|
|
|
|
creationTimestamp: null
|
|
|
|
spec:
|
2018-06-27 11:37:42 +02:00
|
|
|
volumes:
|
|
|
|
- name: molgenis-nexus-data
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: molgenis-nexus-data
|
2018-06-25 19:33:02 +02:00
|
|
|
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 }}
|
2018-06-27 11:37:42 +02:00
|
|
|
volumeMounts:
|
|
|
|
- name: molgenis-nexus-data
|
|
|
|
mountPath: "/nexus-data"
|
2018-06-27 15:17:32 +02:00
|
|
|
- name: molgenis-nexus-data
|
|
|
|
mountPath: "/sonatype-work"
|
2018-06-27 11:33:55 +02:00
|
|
|
|