mirror of
https://github.com/nold360/hive-apps
synced 2025-01-11 00:04:46 +00:00
change(ntfy): Moved to different chart
This commit is contained in:
parent
a999cf825e
commit
93333335f3
2 changed files with 68 additions and 81 deletions
|
@ -2,6 +2,6 @@ config:
|
||||||
description: Notification Service
|
description: Notification Service
|
||||||
apps:
|
apps:
|
||||||
- name: ntfy
|
- name: ntfy
|
||||||
repoURL: https://charts.truecharts.org
|
repoURL: https://charts.sarabsingh.com
|
||||||
chart: ntfy
|
chart: ntfy
|
||||||
targetRevision: 4.0.11
|
targetRevision: 0.1.0
|
||||||
|
|
|
@ -1,65 +1,50 @@
|
||||||
|
# Default values for ntfy.
|
||||||
|
# This is a YAML-formatted file.
|
||||||
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
|
replicaCount: 1
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: tccr.io/truecharts/ntfy
|
repository: binwiederhier/ntfy
|
||||||
tag: 1.30.1
|
pullPolicy: IfNotPresent
|
||||||
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
|
tag: ""
|
||||||
|
|
||||||
extraArgs: ["serve"]
|
imagePullSecrets: []
|
||||||
|
nameOverride: ""
|
||||||
|
fullnameOverride: ""
|
||||||
|
|
||||||
securityContext:
|
serviceAccount:
|
||||||
readOnlyRootFilesystem: false
|
# Specifies whether a service account should be created
|
||||||
runAsNonRoot: true
|
create: true
|
||||||
|
# Annotations to add to the service account
|
||||||
|
annotations: {}
|
||||||
|
# The name of the service account to use.
|
||||||
|
# If not set and create is true, a name is generated using the fullname template
|
||||||
|
name: ""
|
||||||
|
|
||||||
|
podAnnotations: {}
|
||||||
|
|
||||||
podSecurityContext:
|
podSecurityContext:
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
runAsGroup: 1000
|
runAsGroup: 1000
|
||||||
fsGroup: 1000
|
fsGroup: 2000
|
||||||
|
|
||||||
env:
|
securityContext:
|
||||||
NTFY_LISTEN_HTTP: ":{{ .Values.service.main.ports.main.port }}"
|
capabilities:
|
||||||
# User Defined
|
drop:
|
||||||
NTFY_BASE_URL: "https://notify.dc"
|
- ALL
|
||||||
NTFY_BEHIND_PROXY: false
|
readOnlyRootFilesystem: true
|
||||||
ENABLE_FIREBASE_FILE: false
|
runAsNonRoot: true
|
||||||
ENABLE_CACHE_FILE: false
|
runAsUser: 1000
|
||||||
ENABLE_ATTACHMENT_CACHE_DIR: false
|
|
||||||
ENABLE_AUTH_FILE: false
|
|
||||||
# NTFY_CACHE_DURATION: "12h"
|
|
||||||
# NTFY_KEEPALIVE_INTERVAL: "45s"
|
|
||||||
# NTFY_MANAGER_INTERVAL: "1m"
|
|
||||||
# NTFY_GLOBAL_TOPIC_LIMIT: 15000
|
|
||||||
# NTFY_VISITOR_SUBSCRIPTION_LIMIT: 30
|
|
||||||
# NTFY_VISITOR_ATTACHMENT_TOTAL_SIZE_LIMIT: "100M"
|
|
||||||
# NTFY_VISITOR_ATTACHMENT_DAILY_BANDWIDTH_LIMIT: "500M"
|
|
||||||
# NTFY_VISITOR_REQUEST_LIMIT_BURST: 60
|
|
||||||
# NTFY_VISITOR_REQUEST_LIMIT_REPLENISH: "5s"
|
|
||||||
# NTFY_VISITOR_REQUEST_LIMIT_EXEMPT_HOSTS: ""
|
|
||||||
# NTFY_VISITOR_EMAIL_LIMIT_BURST: 16
|
|
||||||
# NTFY_VISITOR_EMAIL_LIMIT_REPLENISH: "1h"
|
|
||||||
# NTFY_ATTACHMENT_TOTAL_SIZE_LIMIT: "5G"
|
|
||||||
# NTFY_ATTACHMENT_FILE_SIZE_LIMIT: "15M"
|
|
||||||
# NTFY_ATTACHMENT_EXPIRY_DURATION: "3h"
|
|
||||||
# NTFY_AUTH_DEFAULT_ACCESS: "read-write"
|
|
||||||
# NTFY_SMTP_SENDER_ADDR: ""
|
|
||||||
# NTFY_SMTP_SENDER_USER: ""
|
|
||||||
# NTFY_SMTP_SENDER_PASS: ""
|
|
||||||
# NTFY_SMTP_SENDER_FROM: ""
|
|
||||||
# NTFY_SMTP_SERVER_LISTEN: ""
|
|
||||||
# NTFY_SMTP_SERVER_DOMAIN: ""
|
|
||||||
# NTFY_SMTP_SERVER_ADDR_PREFIX: ""
|
|
||||||
|
|
||||||
envFrom:
|
|
||||||
- configMapRef:
|
|
||||||
name: '{{ include "tc.common.names.fullname" . }}-ntfy'
|
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
type: ClusterIP
|
||||||
ports:
|
port: 80
|
||||||
main:
|
|
||||||
port: 10222
|
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
main:
|
|
||||||
enabled: true
|
enabled: true
|
||||||
enableFixedMiddlewares: false
|
className: ""
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: vault-issuer
|
cert-manager.io/cluster-issuer: vault-issuer
|
||||||
traefik.ingress.kubernetes.io/router.tls: 'true'
|
traefik.ingress.kubernetes.io/router.tls: 'true'
|
||||||
|
@ -73,23 +58,25 @@ ingress:
|
||||||
hosts:
|
hosts:
|
||||||
- notify.dc
|
- notify.dc
|
||||||
|
|
||||||
persistence:
|
resources:
|
||||||
config:
|
limits:
|
||||||
enabled: true
|
cpu: 100m
|
||||||
mountPath: "/etc/ntfy"
|
memory: 128Mi
|
||||||
cache:
|
|
||||||
enabled: true
|
|
||||||
mountPath: "/var/cache/ntfy"
|
|
||||||
|
|
||||||
configmap:
|
autoscaling:
|
||||||
ntfy:
|
|
||||||
enabled: true
|
|
||||||
data:
|
|
||||||
# If a path is set, it enables this options. To disable set to emtpy path
|
|
||||||
NTFY_ATTACHMENT_CACHE_DIR: '{{ ternary "/var/cache/ntfy/attachments" "" .Values.env.ENABLE_ATTACHMENT_CACHE_DIR }}'
|
|
||||||
NTFY_CACHE_FILE: '{{ ternary "/var/cache/ntfy/cache.db" "" .Values.env.ENABLE_CACHE_FILE }}'
|
|
||||||
NTFY_AUTH_FILE: '{{ ternary "/etc/ntfy/user.db" "" .Values.env.ENABLE_AUTH_FILE }}'
|
|
||||||
NTFY_FIREBASE_KEY_FILE: '{{ ternary "/etc/ntfy/firebase-key.json" "" .Values.env.ENABLE_FIREBASE_FILE }}'
|
|
||||||
|
|
||||||
portal:
|
|
||||||
enabled: false
|
enabled: false
|
||||||
|
minReplicas: 1
|
||||||
|
maxReplicas: 100
|
||||||
|
targetCPUUtilizationPercentage: 80
|
||||||
|
# targetMemoryUtilizationPercentage: 80
|
||||||
|
|
||||||
|
|
||||||
|
config:
|
||||||
|
enabled: false
|
||||||
|
data:
|
||||||
|
base-url: "https://notify.dc"
|
||||||
|
auth-file: "/var/cache/ntfy/user.db"
|
||||||
|
auth-default-access: "allow-all"
|
||||||
|
cache-file: "/var/cache/ntfy/cache.db"
|
||||||
|
attachment-cache-dir: "/var/cache/ntfy/attachments"
|
||||||
|
behind-proxy: true
|
||||||
|
|
Loading…
Reference in a new issue