try plausible CE for web analytics
This commit is contained in:
66
plausible/kustomization.yaml
Normal file
66
plausible/kustomization.yaml
Normal file
@@ -0,0 +1,66 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
helmCharts:
|
||||
- name: plausible
|
||||
repo: https://charts.pascaliske.dev
|
||||
version: 2.0.0
|
||||
releaseName: plausible
|
||||
valuesFile: plausibleValues.yaml
|
||||
|
||||
patches:
|
||||
- target:
|
||||
kind: IngressRoute
|
||||
name: plausible-route
|
||||
patch: |-
|
||||
- op: add
|
||||
path: /spec/tls
|
||||
value:
|
||||
certResolver: letsencrypt
|
||||
domains:
|
||||
- main: arcodange.duckdns.org
|
||||
sans:
|
||||
- analytics.arcodange.duckdns.org
|
||||
|
||||
resources:
|
||||
- resources/vaultauth.yaml
|
||||
- resources/vaultdynamicsecret.yaml
|
||||
- resources/vaultsecret.yaml
|
||||
- resources/configmap.yaml
|
||||
- resources/geoipsecret.yaml
|
||||
|
||||
patchesJson6902:
|
||||
- target:
|
||||
version: v1
|
||||
kind: Deployment
|
||||
name: plausible
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/1/env/2
|
||||
value:
|
||||
name: GEOIPUPDATE_LICENSE_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: plausible-geoip
|
||||
key: LICENSE_KEY
|
||||
- op: add
|
||||
path: /spec/template/spec/volumes/-
|
||||
value:
|
||||
name: generated-secrets
|
||||
emptyDir:
|
||||
medium: Memory
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/envFrom
|
||||
value:
|
||||
- configMapRef:
|
||||
name: plausible-config
|
||||
- op: add
|
||||
path: /spec/template/spec/initContainers/0/envFrom
|
||||
value:
|
||||
- configMapRef:
|
||||
name: plausible-config
|
||||
- target:
|
||||
version: v1
|
||||
kind: Deployment
|
||||
name: plausible
|
||||
path: add-initcontainer.yaml
|
||||
Reference in New Issue
Block a user