feat(nfty-sh): add configmap and bump version. Additionally enable metrics for Prometheus.

This commit is contained in:
Tommy Skaug 2024-04-06 12:44:57 +00:00
parent 77d2077ef7
commit 15af90c6d6
3 changed files with 18 additions and 2 deletions

View file

@ -4,7 +4,7 @@ description: |
ntfy lets you send push notifications to your phone or desktop via scripts from any computer
appVersion: v2.10.0
type: application
version: 0.1.0
version: 0.1.1
maintainers:
- name: Tommy Skaug
email: tommy@skaug.me

View file

@ -0,0 +1,10 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "nfty-sh.fullname" . }}-server-config
labels:
{{- include "nfty-sh.labels" . | nindent 4 }}
data:
server.yaml: |
enable-metrics: true

View file

@ -45,7 +45,13 @@ metadata:
- name: {{ include "nfty-sh.fullname" . }}-server
mountPath: "/var/lib/nfty"
readOnly: false
- name: config
mountPath: "/etc/ntfy"
readOnly: true
volumes:
- name: {{ include "nfty-sh.fullname" . }}-server
persistentVolumeClaim:
claimName: {{ .Values.persistence.existingClaim }}
claimName: {{ .Values.persistence.existingClaim }}
- name: config
configMap:
name: {{ include "nfty-sh.fullname" . }}-server-config