Automated Manifest Update (#2175)
This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow. Reviewed-on: #2175 Co-authored-by: gitea-bot <gitea-bot@alexlebens.net> Co-committed-by: gitea-bot <gitea-bot@alexlebens.net>
This commit was merged in pull request #2175.
This commit is contained in:
195
clusters/cl01tl/manifests/ntfy/ntfy.yaml
Normal file
195
clusters/cl01tl/manifests/ntfy/ntfy.yaml
Normal file
@@ -0,0 +1,195 @@
|
||||
---
|
||||
# Source: ntfy/charts/ntfy/templates/common.yaml
|
||||
---
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: ntfy
|
||||
labels:
|
||||
app.kubernetes.io/instance: ntfy
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: ntfy
|
||||
helm.sh/chart: ntfy-4.4.0
|
||||
namespace: ntfy
|
||||
spec:
|
||||
accessModes:
|
||||
- "ReadWriteOnce"
|
||||
resources:
|
||||
requests:
|
||||
storage: "5Gi"
|
||||
storageClassName: "ceph-block"
|
||||
---
|
||||
# Source: ntfy/charts/ntfy/templates/common.yaml
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: ntfy
|
||||
labels:
|
||||
app.kubernetes.io/instance: ntfy
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: ntfy
|
||||
app.kubernetes.io/service: ntfy
|
||||
helm.sh/chart: ntfy-4.4.0
|
||||
namespace: ntfy
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
protocol: TCP
|
||||
name: http
|
||||
- port: 9090
|
||||
targetPort: 9090
|
||||
protocol: TCP
|
||||
name: metrics
|
||||
selector:
|
||||
app.kubernetes.io/controller: main
|
||||
app.kubernetes.io/instance: ntfy
|
||||
app.kubernetes.io/name: ntfy
|
||||
---
|
||||
# Source: ntfy/charts/ntfy/templates/common.yaml
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: ntfy
|
||||
labels:
|
||||
app.kubernetes.io/controller: main
|
||||
app.kubernetes.io/instance: ntfy
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: ntfy
|
||||
helm.sh/chart: ntfy-4.4.0
|
||||
namespace: ntfy
|
||||
spec:
|
||||
revisionHistoryLimit: 3
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/controller: main
|
||||
app.kubernetes.io/name: ntfy
|
||||
app.kubernetes.io/instance: ntfy
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/controller: main
|
||||
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:
|
||||
- args:
|
||||
- serve
|
||||
env:
|
||||
- name: TZ
|
||||
value: US/Central
|
||||
- name: NTFY_BASE_URL
|
||||
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
|
||||
value: /var/cache/ntfy/attachments
|
||||
- name: NTFY_ATTACHMENT_TOTAL_SIZE_LIMIT
|
||||
value: 4G
|
||||
- name: NTFY_ATTACHMENT_FILE_SIZE_LIMIT
|
||||
value: 15M
|
||||
- name: NTFY_ATTACHMENT_EXPIRY_DURATION
|
||||
value: 36h
|
||||
- name: NTFY_ENABLE_SIGNUP
|
||||
value: "false"
|
||||
- name: NTFY_ENABLE_LOGIN
|
||||
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
|
||||
value: :9090
|
||||
- name: NTFY_LOG_LEVEL
|
||||
value: info
|
||||
image: binwiederhier/ntfy:v2.15.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: main
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 128Mi
|
||||
volumeMounts:
|
||||
- mountPath: /var/cache/ntfy
|
||||
name: cache
|
||||
volumes:
|
||||
- name: cache
|
||||
persistentVolumeClaim:
|
||||
claimName: ntfy
|
||||
---
|
||||
# Source: ntfy/templates/http-route.yaml
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: http-route-ntfy
|
||||
namespace: ntfy
|
||||
labels:
|
||||
app.kubernetes.io/name: http-route-ntfy
|
||||
app.kubernetes.io/instance: ntfy
|
||||
app.kubernetes.io/part-of: ntfy
|
||||
spec:
|
||||
parentRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: traefik-gateway
|
||||
namespace: traefik
|
||||
hostnames:
|
||||
- ntfy.alexlebens.net
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
backendRefs:
|
||||
- group: ''
|
||||
kind: Service
|
||||
name: ntfy
|
||||
port: 80
|
||||
weight: 100
|
||||
---
|
||||
# Source: ntfy/templates/service-monitor.yaml
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: ntfy
|
||||
namespace: ntfy
|
||||
labels:
|
||||
app.kubernetes.io/name: ntfy
|
||||
app.kubernetes.io/instance: ntfy
|
||||
app.kubernetes.io/part-of: ntfy
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: ntfy
|
||||
app.kubernetes.io/instance: ntfy
|
||||
endpoints:
|
||||
- port: metrics
|
||||
interval: 3m
|
||||
scrapeTimeout: 1m
|
||||
path: /metrics
|
||||
Reference in New Issue
Block a user