apiVersion: apps/v1 kind: Deployment metadata: name: alertmanager-webhook spec: selector: matchLabels: app: alertmanager-webhook template: metadata: labels: app: alertmanager-webhook spec: imagePullSecrets: - name: reg volumes: - name: config configMap: name: alertmanager-webhook containers: - name: alertmanager-webhook volumeMounts: - mountPath: /app/webhook/config name: config image: webhook ports: - containerPort: 8080 name: web readinessProbe: httpGet: port: web path: /health livenessProbe: httpGet: port: web path: /health initialDelaySeconds: 10