diff --git a/manifests/_apps/ntfy.yaml b/manifests/_apps/ntfy.yaml deleted file mode 100644 index ca3f65b..0000000 --- a/manifests/_apps/ntfy.yaml +++ /dev/null @@ -1,29 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: cluster-fun-ntfy - namespace: argocd - finalizers: - - resources-finalizer.argocd.argoproj.io -spec: - project: cluster.fun - destination: - namespace: ntfy - name: cluster-fun (v2) - source: - path: manifests/ntfy - repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" - targetRevision: HEAD - syncPolicy: - automated: {} - syncOptions: - - CreateNamespace=true - ignoreDifferences: - - kind: Secret - jsonPointers: - - /data - - group: apps - kind: Deployment - jqPathExpressions: - - .spec.template.spec.containers[]?.image ---- diff --git a/manifests/ntfy/configmap.yaml b/manifests/ntfy/configmap.yaml deleted file mode 100644 index a357189..0000000 --- a/manifests/ntfy/configmap.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: ntfy - labels: - app.kubernetes.io/name: ntfy -data: - server.yml: | - # Template: https://github.com/binwiederhier/ntfy/blob/main/server/server.yml - base-url: https://ntfy.cluster.fun - upstream-base-url: "https://ntfy.sh" - behind-proxy: true - cache-file: "/var/cache/ntfy/cache.db" - cache-duration: "12h" - auth-file: "/var/cache/ntfy/user.db" - auth-default-access: "deny-all" - attachment-cache-dir: "/var/cache/ntfy/attachments" - attachment-file-size-limit: "50M" - attachment-expiry-duration: "24h" - enable-metrics: true - metrics-listen-http: "0.0.0.0:9090" - log-format: json - enable-signup: false - enable-login: true - enable-reservations: false diff --git a/manifests/ntfy/ingress.yaml b/manifests/ntfy/ingress.yaml deleted file mode 100644 index d6602c7..0000000 --- a/manifests/ntfy/ingress.yaml +++ /dev/null @@ -1,27 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: ntfy-ingress - labels: - app.kubernetes.io/name: ntfy - annotations: - cert-manager.io/cluster-issuer: letsencrypt - nginx.ingress.kubernetes.io/force-ssl-redirect: "true" -spec: - ingressClassName: nginx - tls: - - hosts: - - ntfy.cluster.fun - secretName: ntfy-ingress - rules: - - host: ntfy.cluster.fun - http: - paths: - - pathType: Prefix - path: / - backend: - service: - name: ntfy - port: - number: 80 ---- diff --git a/manifests/ntfy/sts.yaml b/manifests/ntfy/sts.yaml deleted file mode 100644 index b869be2..0000000 --- a/manifests/ntfy/sts.yaml +++ /dev/null @@ -1,58 +0,0 @@ -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: ntfy - labels: - app.kubernetes.io/name: ntfy - annotations: - prometheus.io/scrape: "true" - prometheus.io/port: "9090" - reloader.stakater.com/search: "true" -spec: - selector: - matchLabels: - app.kubernetes.io/name: ntfy - serviceName: ntfy - template: - metadata: - labels: - app.kubernetes.io/name: ntfy - spec: - containers: - - name: ntfy - image: binwiederhier/ntfy:v2.11.0 - args: ["serve"] - ports: - - containerPort: 80 - name: http - - containerPort: 9090 - name: metrics - volumeMounts: - - name: config - mountPath: "/etc/ntfy" - readOnly: true - - name: cache - mountPath: "/var/cache/ntfy" - volumes: - - name: config - configMap: - name: ntfy - volumeClaimTemplates: - - metadata: - name: cache - spec: - accessModes: [ "ReadWriteOnce" ] - resources: - requests: - storage: 1Gi ---- -apiVersion: v1 -kind: Service -metadata: - name: ntfy -spec: - selector: - app.kubernetes.io/name: ntfy - ports: - - port: 80 - targetPort: 80