fix(conduit): fix wellknown resources and replica
This commit is contained in:
parent
f1caa90f87
commit
2198203fe9
3 changed files with 8 additions and 9 deletions
|
@ -3,7 +3,7 @@ name: conduit
|
||||||
description: Conduit is a simple, fast and reliable chat server powered by Matrix.
|
description: Conduit is a simple, fast and reliable chat server powered by Matrix.
|
||||||
icon: https://conduit.rs/conduit.svg
|
icon: https://conduit.rs/conduit.svg
|
||||||
type: application
|
type: application
|
||||||
version: 0.2.4
|
version: 0.2.5
|
||||||
# renovate: image=registry.gitlab.com/famedly/conduit/matrix-conduit
|
# renovate: image=registry.gitlab.com/famedly/conduit/matrix-conduit
|
||||||
appVersion: "0.6.0"
|
appVersion: "0.6.0"
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
= conduit
|
= conduit
|
||||||
|
|
||||||
image::https://img.shields.io/badge/Version-0.2.4-informational?style=flat-square[Version: 0.2.4]
|
image::https://img.shields.io/badge/Version-0.2.5-informational?style=flat-square[Version: 0.2.5]
|
||||||
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
|
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
|
||||||
image::https://img.shields.io/badge/AppVersion-0.6.0-informational?style=flat-square[AppVersion: 0.6.0]
|
image::https://img.shields.io/badge/AppVersion-0.6.0-informational?style=flat-square[AppVersion: 0.6.0]
|
||||||
== Maintainers
|
== Maintainers
|
||||||
|
|
|
@ -5,14 +5,13 @@ metadata:
|
||||||
name: {{ include "conduit.fullname" . }}-wellknown
|
name: {{ include "conduit.fullname" . }}-wellknown
|
||||||
labels:
|
labels:
|
||||||
{{- include "conduit.labels" . | nindent 4 }}
|
{{- include "conduit.labels" . | nindent 4 }}
|
||||||
|
app.kubernetes.io/component: wellknown
|
||||||
spec:
|
spec:
|
||||||
{{- if not .Values.autoscaling.enabled }}
|
replicas: {{ .Values.wellknown.replicaCount }}
|
||||||
replicas: {{ .Values.replicaCount }}
|
|
||||||
{{- end }}
|
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "conduit.selectorLabels" . | nindent 6 }}
|
{{- include "conduit.selectorLabels" . | nindent 6 }}
|
||||||
type: wellknown
|
app.kubernetes.io/component: wellknown
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- with .Values.wellknown.podAnnotations }}
|
{{- with .Values.wellknown.podAnnotations }}
|
||||||
|
@ -21,10 +20,10 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "conduit.selectorLabels" . | nindent 8 }}
|
{{- include "conduit.selectorLabels" . | nindent 8 }}
|
||||||
|
app.kubernetes.io/component: wellknown
|
||||||
{{- with .Values.wellknown.podLabels }}
|
{{- with .Values.wellknown.podLabels }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
type: wellknown
|
|
||||||
spec:
|
spec:
|
||||||
{{- with .Values.imagePullSecrets }}
|
{{- with .Values.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
|
@ -52,7 +51,7 @@ spec:
|
||||||
path: /
|
path: /
|
||||||
port: http
|
port: http
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.wellknown.resources | nindent 12 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: "data"
|
- name: "data"
|
||||||
mountPath: "/usr/share/nginx/html/.well-known/matrix/"
|
mountPath: "/usr/share/nginx/html/.well-known/matrix/"
|
||||||
|
@ -72,4 +71,4 @@ spec:
|
||||||
- name: "data"
|
- name: "data"
|
||||||
configMap:
|
configMap:
|
||||||
name: {{ include "conduit.fullname" . }}-wellknown
|
name: {{ include "conduit.fullname" . }}-wellknown
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue