feat: add plausible analytics app
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: plausible-analytics
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: plausible
|
||||
server: 'https://kubernetes.default.svc'
|
||||
sources:
|
||||
- repoURL: 'https://imio.github.io/helm-charts'
|
||||
targetRevision: 0.3.3
|
||||
chart: plausible-analytics
|
||||
helm:
|
||||
values: |
|
||||
baseURL: https://plausible.adm.oceanbox.io
|
||||
databaseURL: postgres://app:password@plausible-analytics-postgresql-rw:5432/app
|
||||
postgresql:
|
||||
enabled: false
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: nginx
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
nginx.ingress.kubernetes.io/whitelist-source-range: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,172.19.255.0/24,148.122.135.23
|
||||
hosts:
|
||||
- plausible.t0.itpartner.no
|
||||
paths:
|
||||
- /
|
||||
pathType: ImplementationSpecific
|
||||
tls:
|
||||
- secretName: plausible-tls
|
||||
hosts:
|
||||
- plausible.t0.itpartner.no
|
||||
project: sys
|
||||
syncPolicy:
|
||||
managedNamespaceMetadata:
|
||||
labels:
|
||||
component: sys
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ApplyOutOfSyncOnly=true
|
||||
- ServerSideApply=true
|
||||
automated:
|
||||
selfHeal: false
|
||||
prune: true
|
||||
---
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: plausible-db
|
||||
namespace: plausible
|
||||
spec:
|
||||
imageName: ghcr.io/cloudnative-pg/postgresql:16.3
|
||||
primaryUpdateStrategy: unsupervised
|
||||
instances: 1
|
||||
monitoring:
|
||||
enablePodMonitor: true
|
||||
storage:
|
||||
size: 10Gi
|
||||
Reference in New Issue
Block a user