-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f154e3
commit ececa7e
Showing
4 changed files
with
147 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ | ||
# helm-docs templates | ||
*.gotmpl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
apiVersion: v2 | ||
name: ejabberd | ||
description: Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server) | ||
type: application | ||
version: 0.1.0 | ||
# renovate: image=ghcr.io/juniorjpdj/containers/ejabberd-captcha | ||
appVersion: 24.02-r1 | ||
kubeVersion: ">=1.22.0-0" | ||
keywords: | ||
- ejabberd | ||
- jabber | ||
- xmpp | ||
- communication | ||
- IM | ||
- instant-messenger | ||
dependencies: | ||
- name: common | ||
repository: https://bjw-s.github.io/helm-charts | ||
version: 3.0.4 | ||
sources: | ||
- https://github.com/processone/ejabberd | ||
- https://github.com/JuniorJPDJ/containers | ||
- https://github.com/JuniorJPDJ/charts | ||
annotations: | ||
artifacthub.io/links: |- | ||
- name: App Source | ||
url: https://github.com/processone/ejabberd | ||
- name: Dockerfile Source | ||
url: https://github.com/JuniorJPDJ/containers | ||
- name: Chart Source | ||
url: https://github.com/JuniorJPDJ/charts/tree/master/charts/ejabberd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{{/* Preprocess values and prepare config file */}} | ||
{{- define "ejabberd.preprocess" -}} | ||
controllers: | ||
main: | ||
containers: | ||
main: | ||
image: | ||
{{- toYaml .Values.image | nindent 10 }} | ||
{{- end -}} | ||
{{- $_ := merge .Values (include "ejabberd.preprocess" . | fromYaml) -}} | ||
|
||
{{/* Render the templates */}} | ||
{{- include "bjw-s.common.loader.all" . }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# | ||
# IMPORTANT NOTE | ||
# | ||
# This chart inherits from our common library chart. You can check the default values/options here: | ||
# https://github.com/bjw-s/helm-charts/blob/main/charts/library/common/values.yaml | ||
# | ||
|
||
config: | ||
ejabberd.yml: | ||
# This config uses envsubst internally to replace ${ENV_VARS} with environment variable values | ||
# The ${CAPTCHA_CMD} variable is always provided using entrypoint script and points to the captcha-ng.sh script | ||
|
||
envs: | ||
|
||
image: | ||
repository: ghcr.io/juniorjpdj/containers/ejabberd-captcha | ||
pullPolicy: Always | ||
tag: 24.02-r1 | ||
|
||
persistence: | ||
config: | ||
type: persistentVolumeClaim | ||
accessMode: ReadWriteOnce | ||
retain: true | ||
size: 100Mi | ||
globalMounts: | ||
- path: /config | ||
readOnly: false | ||
data: | ||
type: persistentVolumeClaim | ||
accessMode: ReadWriteOnce | ||
retain: true | ||
globalMounts: | ||
- path: /data | ||
readOnly: false | ||
size: 10Gi | ||
|
||
defaultPodOptions: | ||
securityContext: | ||
fsGroup: 9000 | ||
fsGroupChangePolicy: Always | ||
|
||
controllers: | ||
main: | ||
type: statefulset | ||
containers: | ||
main: | ||
# image: <templated from `image` section> | ||
securityContext: | ||
capabilities: | ||
drop: | ||
- ALL | ||
readOnlyRootFilesystem: true | ||
runAsNonRoot: true | ||
runAsUser: 9000 | ||
runAsGroup: 9000 | ||
|
||
service: | ||
main: | ||
type: ClusterIP | ||
controller: main | ||
ports: | ||
http: | ||
port: 8112 | ||
protocol: HTTP | ||
rtc: | ||
port: 58846 | ||
protocol: TCP | ||
torrent: | ||
type: ClusterIP | ||
controller: main | ||
ports: | ||
tcp: | ||
port: 6881 | ||
protocol: TCP | ||
udp: | ||
port: 6881 | ||
procotol: UDP |