diff --git a/apps/influxdb2/values.yaml b/apps/influxdb2/values.yaml new file mode 100644 index 0000000..6237207 --- /dev/null +++ b/apps/influxdb2/values.yaml @@ -0,0 +1,30 @@ +persistence: + existingClaim: influxdb2-pvc +affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: app + operator: In + values: [synapse] + namespaceSelector: {} + topologyKey: kubernetes.io/hostname +env: +- name: TZ + value: Europe/Vienna +resources: + requests: + cpu: 500m + memory: 2Gi + limits: + cpu: "2" + memory: 16Gi +ingress: + enabled: true + host: influx.brunner.ninja + className: traefik + annotations: + traefik.ingress.kubernetes.io/router.entrypoints: websecure +monitoring: + storageAlerts: true diff --git a/bootstrap/influxdb2.yaml b/bootstrap/influxdb2.yaml new file mode 100644 index 0000000..3ddc3b9 --- /dev/null +++ b/bootstrap/influxdb2.yaml @@ -0,0 +1,28 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: influxdb2 + namespace: argocd +spec: + project: homelab + sources: + - repoURL: https://brunner.ninja/charts + chart: influxdb2 + targetRevision: 2.7.12 + helm: + releaseName: influxdb2 + valueFiles: + - $values/apps/influxdb2/values.yaml + - repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git + targetRevision: main + ref: values + destination: + server: https://kubernetes.default.svc + namespace: default + syncPolicy: + automated: + enabled: false + prune: false + selfHeal: false + syncOptions: + - ServerSideApply=true diff --git a/bootstrap/kustomization.yaml b/bootstrap/kustomization.yaml index 2c46ec9..3bdef0e 100644 --- a/bootstrap/kustomization.yaml +++ b/bootstrap/kustomization.yaml @@ -58,6 +58,7 @@ resources: - wordcraft.yaml - diun-project.yaml - diun.yaml +- influxdb2.yaml - brunner-ninja.yaml - coturn.yaml - flaresolverr.yaml