Introduced values.yaml in this helm config
This commit is contained in:
parent
c24b103d1b
commit
c525426181
@ -2,5 +2,5 @@ apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
description: Nexus stack for MOLGENIS
|
||||
name: nexus
|
||||
version: 0.1.0
|
||||
version: 0.1.1
|
||||
icon: https://github.com/sidohaakma/molgenis-docker-helm/blob/master/nexus/catalogIcon-molgenis-nexus.svg
|
33
nexus/v1.0.0/templates/deployments/httpd-deployment.yaml
Normal file
33
nexus/v1.0.0/templates/deployments/httpd-deployment.yaml
Normal file
@ -0,0 +1,33 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: {{ .Values.httpd.name }}
|
||||
labels:
|
||||
app: {{ .Values.httpd.name }}
|
||||
environment: {{ .Values.environment }}
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy: {}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ .Values.httpd.selector }}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ .Values.httpd.name }}
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
restartPolicy: {{ .Values.httpd.restartPolicy }}
|
||||
containers:
|
||||
- name: {{ .Values.httpd.name }}
|
||||
image: "{{ .Values.httpd.image.repository }}:{{ .Values.httpd.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.httpd.image.pullPolicy }}
|
||||
env:
|
||||
- name: PROXY_SERVICE
|
||||
value: "{{ .Values.nexus.name }}:{{ .Values.nexus.port.ui }},{{ .Values.nexus.name }}:{{ .Values.nexus.port.docker }}:v2"
|
||||
- name: SERVER_NAME
|
||||
value: registry.molgenis.org
|
||||
ports:
|
||||
- containerPort: {{ .Values.httpd.port }}
|
||||
resources: {}
|
28
nexus/v1.0.0/templates/deployments/nexus-deployment.yaml
Normal file
28
nexus/v1.0.0/templates/deployments/nexus-deployment.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: {{ .Values.nexus.name }}
|
||||
labels:
|
||||
app: {{ .Values.nexus.name }}
|
||||
environment: {{ .Values.environment }}
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy: {}
|
||||
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 }}
|
@ -1,32 +0,0 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: httpd
|
||||
labels:
|
||||
app: nexus
|
||||
environment: production
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy: {}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: httpd
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: httpd
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
containers:
|
||||
- name: httpd
|
||||
image: registry.webhosting.rug.nl/molgenis/httpd:lts
|
||||
env:
|
||||
- name: PROXY_SERVICE
|
||||
value: nexus:8081,nexus:5000:v2
|
||||
- name: SERVER_NAME
|
||||
value: registry.molgenis.org
|
||||
ports:
|
||||
- containerPort: 80
|
||||
resources: {}
|
@ -1,13 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: httpd
|
||||
labels:
|
||||
app: httpd
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- name: httpd
|
||||
port: 80
|
||||
selector:
|
||||
app: httpd
|
@ -1,27 +0,0 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: nexus
|
||||
labels:
|
||||
app: nexus
|
||||
environment: production
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy: {}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nexus
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nexus
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
containers:
|
||||
- name: nexus
|
||||
image: sonatype/nexus3:latest
|
||||
ports:
|
||||
- containerPort: 8081
|
||||
- containerPort: 5000
|
@ -1,15 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nexus
|
||||
labels:
|
||||
app: nexus
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: ui
|
||||
port: 8081
|
||||
- name: docker
|
||||
port: 5000
|
||||
selector:
|
||||
app: nexus
|
13
nexus/v1.0.0/templates/services/httpd-service.yaml
Normal file
13
nexus/v1.0.0/templates/services/httpd-service.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ .Values.httpd.name }}
|
||||
labels:
|
||||
app: {{ .Values.httpd.name }}
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- name: {{ .Values.httpd.name }}
|
||||
port: {{ .Values.httpd.port }}
|
||||
selector:
|
||||
app: {{ .Values.httpd.selector }}
|
15
nexus/v1.0.0/templates/services/nexus-service.yaml
Normal file
15
nexus/v1.0.0/templates/services/nexus-service.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ .Values.nexus.name }}
|
||||
labels:
|
||||
app: {{ .Values.nexus.name }}
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: ui
|
||||
port: {{ .Values.nexus.port.ui }}
|
||||
- name: docker
|
||||
port: {{ .Values.nexus.port.docker }}
|
||||
selector:
|
||||
app: {{ .Values.nexus.selector }}
|
@ -4,15 +4,34 @@
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
repository: sonatype/nexus3
|
||||
tag: latest
|
||||
pullPolicy: Always
|
||||
environment: production
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
|
||||
nexus:
|
||||
name: nexus
|
||||
selector: nexus
|
||||
restartPolicy: Always
|
||||
image:
|
||||
repository: sonatype/nexus3
|
||||
tag: latest
|
||||
pullPolicy: Always
|
||||
port:
|
||||
docker: 5000
|
||||
ui: 8081
|
||||
|
||||
httpd:
|
||||
name: httpd
|
||||
selector: httpd
|
||||
restartPolicy: Always
|
||||
image:
|
||||
repository: registry.webhosting.rug.nl/molgenis/httpd
|
||||
tag: lts
|
||||
pullPolicy: Always
|
||||
port: 80
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
annotations: {}
|
||||
|
Loading…
Reference in New Issue
Block a user