Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/unpoller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: unpoller
description: "A Helm chart for unpoller, a unifi prometheus exporter. This chart helps deploy Unpoller (unifi metrics exporter)\nin kubernetes clusters. \nIt crates a Deployment to run the unpoller container, confiuration is stored in a ConfigMap and mounted in the container.\nIt supports integration with Prometheus operator, so a PodMonitor is created that will scrape the Deployment for the metrics.\nOptionally, it can deploy automatically the dashboards into a Grafana instance through the integration with GrafanaOperator:\n* Creates a Grafana CR with the credentials provided (or reuses existing Grafana object)\n* Creates a Dashboard instance for all the unpoller provided charts.\n\nSee further documentation in how to install unpoller in Kubernetes in http://unpoller.github.io/helm-chart \n\n**Note**: *This is a best effort to keep this chart working for kubernetes.*\n"
type: application
version: "2.1.0"
version: "2.2.0"
appVersion: "v2.21.0"
keywords:
- unifi
Expand Down
4 changes: 4 additions & 0 deletions charts/unpoller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- with .Values.extraEnv }}
env:
{{- toYaml . | nindent 12 }}
{{- end }}
ports:
- containerPort: 9130
name: tcp
Expand Down
6 changes: 5 additions & 1 deletion charts/unpoller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

replicaCount: 1

extraEnv: []
# - name: ENABLE_SERVER_STORAGE
# value: "false"

image:
repository: "ghcr.io/unpoller/unpoller"
pullPolicy: IfNotPresent
Expand Down Expand Up @@ -123,7 +127,7 @@ upConfig: |
dynamic = false
[loki]
disable = true
[[unifi.controller]]
[[unifi.controller]]
url = "https://unifi.home:8443"
user = "unifi"
pass = "unifi"
Expand Down