mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* add collabora-code chart Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * collabora-code - add home variable to Chart.yaml Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * add owners file Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * correct README to min req kubernetes api Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * fix service port definition Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * fix ingress servicePort definition Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * [collabora] reenable port naming Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * [collabora] linting Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com>
104 lines
3.4 KiB
YAML
104 lines
3.4 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: {{ include "collabora-code.fullname" . }}
|
|
labels:
|
|
app.kubernetes.io/name: {{ include "collabora-code.name" . }}
|
|
helm.sh/chart: {{ include "collabora-code.chart" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
spec:
|
|
replicas: {{ .Values.replicaCount }}
|
|
strategy:
|
|
type: {{ .Values.strategy }}
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: {{ include "collabora-code.name" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: {{ include "collabora-code.name" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
spec:
|
|
containers:
|
|
- name: {{ .Chart.Name }}
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
env:
|
|
- name: DONT_GEN_SSL_CERT
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: {{ include "collabora-code.fullname" . }}
|
|
key: DONT_GEN_SSL_CERT
|
|
- name: dictionaries
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: {{ include "collabora-code.fullname" . }}
|
|
key: dictionaries
|
|
- name: domain
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: {{ include "collabora-code.fullname" . }}
|
|
key: domain
|
|
- name: extra_params
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: {{ include "collabora-code.fullname" . }}
|
|
key: extra_params
|
|
- name: server_name
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
name: {{ include "collabora-code.fullname" . }}
|
|
key: server_name
|
|
- name: username
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: {{ include "collabora-code.fullname" . }}
|
|
key: username
|
|
- name: password
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: {{ include "collabora-code.fullname" . }}
|
|
key: password
|
|
livenessProbe:
|
|
failureThreshold: 3
|
|
httpGet:
|
|
path: /
|
|
port: http
|
|
scheme: HTTP
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 2
|
|
readinessProbe:
|
|
failureThreshold: 3
|
|
httpGet:
|
|
path: /
|
|
port: http
|
|
scheme: HTTP
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 2
|
|
ports:
|
|
- name: http
|
|
containerPort: {{ .Values.service.port }}
|
|
protocol: TCP
|
|
resources:
|
|
{{- toYaml .Values.resources | nindent 12 }}
|
|
securityContext:
|
|
{{- toYaml .Values.securitycontext | nindent 12 }}
|
|
{{- with .Values.nodeSelector }}
|
|
nodeSelector:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- with .Values.affinity }}
|
|
affinity:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- with .Values.tolerations }}
|
|
tolerations:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|