chore: Update manifests after change
This commit is contained in:
@@ -52,6 +52,15 @@ spec:
|
||||
barmanObjectName: "ntfy-postgresql-18-backup-garage-local"
|
||||
serverName: "ntfy-postgresql-18-backup-1"
|
||||
bootstrap:
|
||||
initdb:
|
||||
recovery:
|
||||
database: app
|
||||
owner: app
|
||||
source: ntfy-postgresql-18-backup-1
|
||||
externalClusters:
|
||||
- name: ntfy-postgresql-18-backup-1
|
||||
plugin:
|
||||
name: barman-cloud.cloudnative-pg.io
|
||||
enabled: true
|
||||
isWALArchiver: false
|
||||
parameters:
|
||||
barmanObjectName: "ntfy-postgresql-18-recovery"
|
||||
serverName: ntfy-postgresql-18-backup-1
|
||||
|
||||
53
clusters/cl01tl/manifests/ntfy/Deployment-ntfy-debug.yaml
Normal file
53
clusters/cl01tl/manifests/ntfy/Deployment-ntfy-debug.yaml
Normal file
@@ -0,0 +1,53 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: ntfy-debug
|
||||
labels:
|
||||
app.kubernetes.io/controller: debug
|
||||
app.kubernetes.io/instance: ntfy
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: ntfy
|
||||
helm.sh/chart: ntfy-4.6.2
|
||||
namespace: ntfy
|
||||
spec:
|
||||
revisionHistoryLimit: 3
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/controller: debug
|
||||
app.kubernetes.io/name: ntfy
|
||||
app.kubernetes.io/instance: ntfy
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/controller: debug
|
||||
app.kubernetes.io/instance: ntfy
|
||||
app.kubernetes.io/name: ntfy
|
||||
spec:
|
||||
enableServiceLinks: false
|
||||
serviceAccountName: default
|
||||
automountServiceAccountToken: true
|
||||
hostIPC: false
|
||||
hostNetwork: false
|
||||
hostPID: false
|
||||
dnsPolicy: ClusterFirst
|
||||
containers:
|
||||
- command:
|
||||
- sleep
|
||||
- infinity
|
||||
image: ubuntu/go:1.22-24.04_stable
|
||||
name: main
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 32Mi
|
||||
volumeMounts:
|
||||
- mountPath: /var/cache/ntfy
|
||||
name: cache
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: cache
|
||||
persistentVolumeClaim:
|
||||
claimName: ntfy
|
||||
@@ -1,7 +1,7 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: ntfy
|
||||
name: ntfy-main
|
||||
labels:
|
||||
app.kubernetes.io/controller: main
|
||||
app.kubernetes.io/instance: ntfy
|
||||
@@ -11,7 +11,7 @@ metadata:
|
||||
namespace: ntfy
|
||||
spec:
|
||||
revisionHistoryLimit: 3
|
||||
replicas: 1
|
||||
replicas: 0
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
@@ -43,17 +43,8 @@ spec:
|
||||
value: https://ntfy.alexlebens.net
|
||||
- name: NTFY_LISTEN_HTTP
|
||||
value: :80
|
||||
- name: NTFY_CACHE_FILE
|
||||
value: /var/cache/ntfy/cache.db
|
||||
- name: NTFY_CACHE_DURATION
|
||||
value: 36h
|
||||
- name: NTFY_CACHE_STARTUP_QUERIES
|
||||
value: |
|
||||
pragma journal_mode = WAL;
|
||||
pragma synchronous = normal;
|
||||
pragma temp_store = memory;
|
||||
pragma busy_timeout = 15000;
|
||||
vacuum;
|
||||
- name: NTFY_BEHIND_PROXY
|
||||
value: "true"
|
||||
- name: NTFY_ATTACHMENT_CACHE_DIR
|
||||
@@ -73,8 +64,6 @@ spec:
|
||||
value: "true"
|
||||
- name: NTFY_ENABLE_RESERVATIONS
|
||||
value: "false"
|
||||
- name: NTFY_AUTH_FILE
|
||||
value: /var/cache/ntfy/user.db
|
||||
- name: NTFY_AUTH_DEFAULT_ACCESS
|
||||
value: deny-all
|
||||
- name: NTFY_METRICS_LISTEN_HTTP
|
||||
@@ -82,6 +71,14 @@ spec:
|
||||
- name: NTFY_LOG_LEVEL
|
||||
value: info
|
||||
image: binwiederhier/ntfy:v2.21.0@sha256:2b9e12d56a538f4402da51328eeca02696c4b207ab7fbe031c27e51a22ca9b86
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /v1/health
|
||||
port: 80
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 60
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 30
|
||||
name: main
|
||||
resources:
|
||||
requests:
|
||||
Reference in New Issue
Block a user