1
0

Compare commits

..

No commits in common. "d7607faff5b5d984af842eb1497b7012a5da5290" and "262734c2559c3457ba85d09f1a77d6f768d92045" have entirely different histories.

44 changed files with 308 additions and 443 deletions

View File

@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "1.0" appVersion: "1.0"
description: A Helm chart for Kubernetes description: A Helm chart for Kubernetes
name: httpd name: httpd
version: 0.1.2 version: 0.1.1

View File

@ -34,12 +34,19 @@ questions:
description: "If undefined or null, uses the default StorageClass. Default to null" description: "If undefined or null, uses the default StorageClass. Default to null"
type: storageclass type: storageclass
label: Default StorageClass for MOLGENIS label: Default StorageClass for MOLGENIS
- variable: ingress.hosts[0].name - variable: ingress.enabled
default: "true"
description: "Expose app using Layer 7 Load Balancer - ingress"
type: boolean
label: Expose app using Layer 7 Load Balancer
show_subquestion_if: true
group: "Services and Load Balancing"
subquestions:
- variable: ingress.hosts[0].name
default: "test.molgenis.org" default: "test.molgenis.org"
description: "Hostname for your stack" description: "Hostname for your stack"
type: hostname type: hostname
required: true required: true
group: "Services and Load Balancing"
label: Hostname label: Hostname
- variable: httpd.hostname - variable: httpd.hostname
default: "test.molgenis.org" default: "test.molgenis.org"

View File

@ -7,7 +7,7 @@ replicaCount: 1
image: image:
repository: registry.webhosting.rug.nl/molgenis/httpd repository: registry.webhosting.rug.nl/molgenis/httpd
tag: lts tag: lts
pullPolicy: Always pullPolicy: always
service: service:
type: ClusterIP type: ClusterIP
@ -28,7 +28,7 @@ ingress:
# kubernetes.io/tls-acme: "true" # kubernetes.io/tls-acme: "true"
path: / path: /
hosts: hosts:
- name: test.molgenis.org - molgenis.local
tls: [] tls: []
# - secretName: chart-example-tls # - secretName: chart-example-tls
# hosts: # hosts:

View File

@ -1,32 +0,0 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "jenkins.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "jenkins.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "jenkins.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}

View File

@ -1,38 +0,0 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
name: {{ .Values.jenkins.agent.name }}
labels:
app: {{ .Values.jenkins.agent.name }}
environment: {{ .Values.environment }}
spec:
replicas: {{ .Values.replicaCount}}
strategy:
type: {{ .Values.jenkins.strategy.type }}
selector:
matchLabels:
app: {{ .Values.jenkins.agent.selector }}
template:
metadata:
labels:
app: {{ .Values.jenkins.agent.name }}
creationTimestamp: null
spec:
restartPolicy: {{ .Values.agent.restartPolicy }}
containers:
- name: {{ .Values.jenkins.agent.name }}
image: "{{ .Values.jenkins.agent.image.repository }}:{{ .Values.jenkins.agent.image.tag }}"
imagePullPolicy: {{ .Values.jenkins.agent.image.pullPolicy }}
- name: JENKINS_SLAVE_SSH_PUBKEY
value: {{ .Values.jenkins.agent.ssh.public.key }}
ports:
- containerPort: {{ .Values.jenkins.agent.port }}
volumeMounts:
- mountPath: /var/run/docker.sock
name: jenkins-agent-worker-claim
volumes:
- name: jenkins-agent-worker-claim
persistentVolumeClaim:
claimName: jenkins-agent-worker-claim

View File

@ -1,41 +0,0 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
name: {{ .Values.jenkins.master.name }}
labels:
app: {{ .Values.jenkins.master.name }}
environment: {{ .Values.environment }}
spec:
replicas: {{ .Values.replicaCount}}
strategy:
type: {{ .Values.jenkins.strategy.type }}
selector:
matchLabels:
app: {{ .Values.jenkins.master.selector }}
template:
metadata:
labels:
app: {{ .Values.jenkins.master.name }}
creationTimestamp: null
spec:
restartPolicy: {{ .Values.jenkins.restartPolicy }}
containers:
- name: {{ .Values.jenkins.master.name }}
image: "{{ .Values.jenkins.master.image.repository }}:{{ .Values.jenkins.master.image.tag }}"
imagePullPolicy: {{ .Values.jenkins.master.image.pullPolicy }}
- env:
- name: JENKINS_ADMIN_PASS
- name: JENKINS_ADMIN_USER
ports:
- containerPort: {{ .Values.jenkins.master.port }}
resources: {}
volumeMounts:
- name: jenkins-master-claim
mountPath: /var/jenkins-home
- name: jenkins-master-claim
mountPath: /var/run/docker.sock
volumes:
- name: jenkins-master-claim
persistentVolumeClaim:
claimName: jenkins-master-claim

View File

@ -1,36 +0,0 @@
{{- if .Values.ingress.enabled }}
{{- range .Values.ingress.hosts }}
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: "{{ $.Release.Name }}-ingress"
labels:
app: {{ template "jenkins.fullname" $ }}
chart: "{{ $.Chart.Name }}-{{ $.Chart.Version }}"
release: "{{ $.Release.Name }}"
heritage: "{{ $.Release.Service }}"
annotations:
{{- if .tls }}
ingress.kubernetes.io/secure-backends: "true"
{{- end }}
{{- range $key, $value := .annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
rules:
- host: {{ .name }}
http:
paths:
- path: {{ default "/" .path }}
backend:
serviceName: {{ template "jenkins.fullname" $ }}
servicePort: 80
{{- if .tls }}
tls:
- hosts:
- {{ .name }}
secretName: {{ .tlsSecret }}
{{- end }}
---
{{- end }}
{{- end }}

View File

@ -1,13 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Values.jenkins.agent.name }}
labels:
app: {{ .Values.jenkins.agent.name }}
spec:
type: NodePort
ports:
- name: {{ .Values.jenkins.agent.name }}
port: {{ .Values.jenkins.agent.port }}
selector:
app: {{ .Values.jenkins.agent.selector }}

View File

@ -1,13 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Values.jenkins.master.name }}
labels:
app: {{ .Values.jenkins.master.name }}
spec:
type: NodePort
ports:
- name: {{ .Values.jenkins.master.name }}
port: {{ .Values.jenkins.master.port }}
selector:
app: {{ .Values.jenkins.master.selector }}

View File

@ -1,68 +0,0 @@
# Default values for jenkins.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
environment: production
service:
type: NodePort
port: 8080
jenkins:
strategy:
type: Recreate
restartPolicy: Always
master:
name: jenkins-master
selector: jenkins-master
image:
repository: registry.webhosting.rug.nl/molgenis/jenkins-master
tag: lts
pullPolicy: Always
port: 8080
agent:
name: jenkins-agent
selector: jenkins-agent
image:
repository: registry.webhosting.rug.nl/molgenis/jenkins-agent
tag: lts
pullPolicy: Always
port: 22
ssh:
public:
key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC6+L3I5Dh1oKCxRktAhKwX20vQq5+hp40D2HCN+JSOT1WmiZOKQQ2U73HyRlukXV1MJGn6NM0pZS1W12IiAiSeu6xl+YFlEJykRK+9NnpSGwTMXXirCmCyWAlMUb6pcXmCqa1Pk1HqiUUfvflkvFHNT+26LBNXj0LbrT6KFd0xhm/KH9gMTKnYoBQqezE7D5jjPki5lKAfBL7IQkwgs5wFdaQicRYAUsuI7gV6EsDgVmLmF6f2d8+/AJ0fwYIFpzaYqQfgrpilMCvHXcuskpHj2RtJFMiPZ4WZSMZ3sMTD0MmZxdNU32qc/TR7mILHEB9/10EzmE4F7X1NdWYeJqK5VKH8RfwLHtiFDPPoqttc2AuaMrSPiRJxtww0oLsEN3toE9qauXpVcJUgaxpj0hE7UQP026Et3LZDQCD8w+3VPVUCfGHy7LTZdPzxDYuWmSMGF/VjYYKbv3WgPEVomRdB1TlaSEb8JfnHI1CVo4C+dImwxppVRbiAkjK/D+TnTavgx+zl85Fo1oNO49kjg9Avp2sOoHBSCBk6ceywIdvvaIzQSxQZfj3PbSWRg+ywJMS8tM6m6riEQola8EmHA7pP/Aj70453ip08MUnz1vsM/e396nqdw55KhR5dPEPHrfqmONMgr6IUa+6zyeWBQ7LTpkWztQ4lQcPl48jRE0ijTQ== sido@client-145-100-225-240.surfnet.eduroam.rug.nl
ingress:
enabled: true
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
path: /
hosts:
- registry.molgenis.org
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}

View File

Before

Width:  |  Height:  |  Size: 133 KiB

After

Width:  |  Height:  |  Size: 133 KiB

View File

@ -0,0 +1,39 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.13.0 ()
creationTimestamp: null
labels:
io.kompose.service: jenkins-agent-worker
name: jenkins-agent-worker
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: jenkins-agent-worker
spec:
containers:
- env:
- name: JENKINS_SLAVE_SSH_PUBKEY
value: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC6+L3I5Dh1oKCxRktAhKwX20vQq5+hp40D2HCN+JSOT1WmiZOKQQ2U73HyRlukXV1MJGn6NM0pZS1W12IiAiSeu6xl+YFlEJykRK+9NnpSGwTMXXirCmCyWAlMUb6pcXmCqa1Pk1HqiUUfvflkvFHNT+26LBNXj0LbrT6KFd0xhm/KH9gMTKnYoBQqezE7D5jjPki5lKAfBL7IQkwgs5wFdaQicRYAUsuI7gV6EsDgVmLmF6f2d8+/AJ0fwYIFpzaYqQfgrpilMCvHXcuskpHj2RtJFMiPZ4WZSMZ3sMTD0MmZxdNU32qc/TR7mILHEB9/10EzmE4F7X1NdWYeJqK5VKH8RfwLHtiFDPPoqttc2AuaMrSPiRJxtww0oLsEN3toE9qauXpVcJUgaxpj0hE7UQP026Et3LZDQCD8w+3VPVUCfGHy7LTZdPzxDYuWmSMGF/VjYYKbv3WgPEVomRdB1TlaSEb8JfnHI1CVo4C+dImwxppVRbiAkjK/D+TnTavgx+zl85Fo1oNO49kjg9Avp2sOoHBSCBk6ceywIdvvaIzQSxQZfj3PbSWRg+ywJMS8tM6m6riEQola8EmHA7pP/Aj70453ip08MUnz1vsM/e396nqdw55KhR5dPEPHrfqmONMgr6IUa+6zyeWBQ7LTpkWztQ4lQcPl48jRE0ijTQ==
sido@client-145-100-225-240.surfnet.eduroam.rug.nl
image: registry.molgenis.org/molgenis-ops-releases/jenkins-agent-worker:lts
name: jenkins-agent-worker
ports:
- containerPort: 22
resources: {}
volumeMounts:
- mountPath: /var/run/docker.sock
name: jenkins-agent-worker-claim
restartPolicy: Always
volumes:
- name: jenkins-agent-worker-claim
persistentVolumeClaim:
claimName: jenkins-agent-worker-claim
status: {}

View File

@ -0,0 +1,40 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.13.0 ()
creationTimestamp: null
labels:
io.kompose.service: jenkins-master
name: jenkins-master
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: jenkins-master
spec:
containers:
- env:
- name: JENKINS_ADMIN_PASS
- name: JENKINS_ADMIN_USER
image: registry.molgenis.org/molgenis-ops-releases/jenkins-master:lts
name: jenkins-master
ports:
- containerPort: 8080
resources: {}
volumeMounts:
- mountPath: /var/jenkins-home
name: jenkins-master-claim
- mountPath: /var/run/docker.sock
name: jenkins-master-claim
restartPolicy: Always
volumes:
- name: jenkins-master-claim
persistentVolumeClaim:
claimName: jenkins-master-claim
status: {}

View File

@ -0,0 +1,12 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ingress-${SERVICE}
spec:
rules:
- host: ${SITENAME}
http:
paths:
- backend:
serviceName: ${SERVICE}
servicePort: 80

View File

@ -0,0 +1,19 @@
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.13.0 ()
creationTimestamp: null
labels:
io.kompose.service: jenkins-agent-worker
name: jenkins-agent-worker
spec:
ports:
- name: "22"
port: 22
targetPort: 22
selector:
io.kompose.service: jenkins-agent-worker
status:
loadBalancer: {}

View File

@ -0,0 +1,19 @@
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.13.0 ()
creationTimestamp: null
labels:
io.kompose.service: jenkins-master
name: jenkins-master
spec:
ports:
- name: "8080"
port: 8080
targetPort: 8080
selector:
io.kompose.service: jenkins-master
status:
loadBalancer: {}

View File

@ -0,0 +1,45 @@
# Default values for jenkins.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: registry.molgenis.org/molgenis-ops-releases/jenkins-master:lts
tag: lts
pullPolicy: Always
service:
type: ClusterIP
port: 8080
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
path: /
hosts:
- registry.molgenis.local
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}

View File

@ -1,32 +0,0 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "nexus.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "nexus.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "nexus.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}

View File

@ -1,34 +0,0 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
name: {{ .Values.httpd.name }}
labels:
app: {{ .Values.httpd.name }}
environment: {{ .Values.environment }}
spec:
replicas: {{ .Values.replicaCount }}
strategy:
type: {{ .Values.httpd.strategy.type }}
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 }}:{{ .Values.nexus.path.dockerV2 }}"
- name: SERVER_NAME
value: {{ .Values.httpd.hostname }}
ports:
- containerPort: {{ .Values.httpd.port }}
resources: {}

View File

@ -1,29 +0,0 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
name: {{ .Values.nexus.name }}
labels:
app: {{ .Values.nexus.name }}
environment: {{ .Values.environment }}
spec:
replicas: {{ .Values.replicaCount }}
strategy:
type: {{ .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 }}

View File

@ -1,38 +0,0 @@
{{- if .Values.ingress.enabled }}
{{- range .Values.ingress.hosts }}
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: "{{ $.Release.Name }}-ingress"
labels:
app: httpd
chart: "{{ $.Chart.Name }}-{{ $.Chart.Version }}"
release: "{{ $.Release.Name }}"
heritage: "{{ $.Release.Service }}"
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/proxy-body-size: "0"
{{- if .tls }}
ingress.kubernetes.io/secure-backends: "true"
{{- end }}
{{- range $key, $value := .annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
rules:
- host: {{ .name }}
http:
paths:
- path: {{ default "/" .path }}
backend:
serviceName: httpd
servicePort: 80
{{- if .tls }}
tls:
- hosts:
- {{ .name }}
secretName: {{ .tlsSecret }}
{{- end }}
---
{{- end }}
{{- end }}

View File

@ -1,13 +0,0 @@
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 }}

View File

@ -1,15 +0,0 @@
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 }}

View File

@ -2,5 +2,5 @@ apiVersion: v1
appVersion: "1.0" appVersion: "1.0"
description: Nexus stack for MOLGENIS description: Nexus stack for MOLGENIS
name: nexus name: nexus
version: 0.1.2 version: 0.1.0
icon: https://github.com/sidohaakma/molgenis-docker-helm/blob/master/nexus/catalogIcon-molgenis-nexus.svg icon: https://github.com/sidohaakma/molgenis-docker-helm/blob/master/nexus/catalogIcon-molgenis-nexus.svg

View File

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -0,0 +1,29 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
name: httpd
labels:
app: httpd
spec:
replicas: 1
strategy: {}
template:
metadata:
labels:
app: httpd
creationTimestamp: null
spec:
containers:
- env:
- name: PROXY_SERVICE
value: nexus:8081,nexus:5000:v2
- name: SERVER_NAME
value: httpd:80
image: registry.webhosting.rug.nl/molgenis/httpd:lts
name: httpd
ports:
- containerPort: 80
resources: {}
restartPolicy: Always
status: {}

View File

@ -0,0 +1,32 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
name: nexus
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
labels:
app: httpd
creationTimestamp: null
spec:
containers:
- image: sonatype/nexus3:latest
name: nexus
ports:
- containerPort: 8081
- containerPort: 5000
resources: {}
volumeMounts:
- mountPath: /nexus-data
name: molgenis-nexus-data
restartPolicy: Always
volumes:
- name: molgenis-nexus-data
persistentVolumeClaim:
claimName: molgenis-nexus-data
status: {}

View File

@ -0,0 +1,12 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ingress-nexus
spec:
rules:
- host: registry.molgenis.org
http:
paths:
- backend:
serviceName: httpd
servicePort: 80

View File

@ -0,0 +1,19 @@
apiVersion: v1
kind: Service
metadata:
name: {{ template "httpd.fullname" . }}
labels:
app: {{ template "httpd.name" . }}
chart: {{ template "httpd.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
type: {{ .Values.httpd.type }}
ports:
- port: {{ .Values.httpd.port }}
targetPort: http
protocol: TCP
name: http
selector:
app: {{ template "httpd.name" . }}
release: {{ .Release.Name }}

View File

@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
name: nexus
labels:
app: nexus
spec:
ports:
- name: "ui"
port: 8081
- name: "docker"
port: 5000
selector:
app: nexus

View File

@ -4,41 +4,20 @@
replicaCount: 1 replicaCount: 1
environment: production image:
service:
type: NodePort
port: 80
nexus:
name: nexus
strategy:
type: Recreate
selector: nexus
restartPolicy: Always
image:
repository: sonatype/nexus3 repository: sonatype/nexus3
tag: latest tag: stable
pullPolicy: Always pullPolicy: IfNotPresent
port:
docker: 5000
ui: 8081
path:
dockerV2: v2
httpd: httpd:
name: httpd name: httpd
hostname: registry.molgenis.org type: ClusterIP
strategy:
type: Recreate
selector: httpd
restartPolicy: Always
image:
repository: registry.webhosting.rug.nl/molgenis/httpd
tag: lts
pullPolicy: Always
port: 80 port: 80
proxy: httpd:80:/
nexus:
name: nexus
type: ClusterIP
ingress: ingress:
enabled: true enabled: true
@ -47,7 +26,7 @@ ingress:
# kubernetes.io/tls-acme: "true" # kubernetes.io/tls-acme: "true"
path: / path: /
hosts: hosts:
- name: registry.molgenis.org - registry.molgenis.org
tls: [] tls: []
# - secretName: chart-example-tls # - secretName: chart-example-tls
# hosts: # hosts: