Files
infrastructure/clusters/cl01tl/manifests/kube-prometheus-stack/Deployment-ntfy-alertmanager.yml

51 lines
1.4 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: ntfy-alertmanager
labels:
app.kubernetes.io/controller: main
app.kubernetes.io/instance: kube-prometheus-stack
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: kube-prometheus-stack
helm.sh/chart: ntfy-alertmanager-4.4.0
namespace: kube-prometheus-stack
spec:
revisionHistoryLimit: 3
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app.kubernetes.io/controller: main
app.kubernetes.io/name: kube-prometheus-stack
app.kubernetes.io/instance: kube-prometheus-stack
template:
metadata:
labels:
app.kubernetes.io/controller: main
app.kubernetes.io/instance: kube-prometheus-stack
app.kubernetes.io/name: kube-prometheus-stack
spec:
enableServiceLinks: false
serviceAccountName: default
automountServiceAccountToken: true
hostIPC: false
hostNetwork: false
hostPID: false
dnsPolicy: ClusterFirst
containers:
- image: xenrox/ntfy-alertmanager:0.5.0
imagePullPolicy: IfNotPresent
name: main
volumeMounts:
- mountPath: /etc/ntfy-alertmanager/config
mountPropagation: None
name: config
readOnly: true
subPath: config
volumes:
- name: config
secret:
secretName: ntfy-alertmanager-config-secret