feat(nfty-sh): add configmap and bump version. Additionally enable metrics for Prometheus.
This commit is contained in:
parent
77d2077ef7
commit
15af90c6d6
3 changed files with 18 additions and 2 deletions
|
@ -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
|
||||
|
|
10
charts/nfty-sh/templates/configuration.yaml
Normal file
10
charts/nfty-sh/templates/configuration.yaml
Normal 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
|
|
@ -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
|
Loading…
Reference in a new issue