Skip to content

Commit

Permalink
feat: add annotations to deployment and statefulset metadata (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcc138 authored Mar 7, 2022
1 parent 41ee8f7 commit 4b87757
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/prosody/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
name: {{ include "prosody.fullname" . }}
labels:
{{- include "prosody.labels" . | nindent 4 }}
{{- with .Values.annotations }}
annotations:
{{ toYaml . | nindent 4 }}
{{- end }}
spec:
serviceName: "prosody"
replicas: 1
Expand Down
4 changes: 4 additions & 0 deletions templates/jibri/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ metadata:
name: {{ include "jitsi-meet.jibri.fullname" . }}
labels:
{{- include "jitsi-meet.jibri.labels" . | nindent 4 }}
{{- with .Values.jibri.annotations }}
annotations:
{{ toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.jibri.replicaCount | default 1 }}
selector:
Expand Down
4 changes: 4 additions & 0 deletions templates/jicofo/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
name: {{ include "jitsi-meet.jicofo.fullname" . }}
labels:
{{- include "jitsi-meet.jicofo.labels" . | nindent 4 }}
{{- with .Values.jicofo.annotations }}
annotations:
{{ toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.jicofo.replicaCount }}
selector:
Expand Down
4 changes: 4 additions & 0 deletions templates/jvb/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ metadata:
name: {{ include "jitsi-meet.jvb.fullname" . }}
labels:
{{- include "jitsi-meet.jvb.labels" . | nindent 4 }}
{{- with .Values.jvb.annotations }}
annotations:
{{ toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.jvb.replicaCount }}
selector:
Expand Down
4 changes: 4 additions & 0 deletions templates/web/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
name: {{ include "jitsi-meet.web.fullname" . }}
labels:
{{- include "jitsi-meet.web.labels" . | nindent 4 }}
{{- with .Values.web.annotations }}
annotations:
{{ toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.web.replicaCount }}
selector:
Expand Down

0 comments on commit 4b87757

Please sign in to comment.