Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Saturn-V committed Oct 11, 2023
1 parent f79e569 commit 107fd77
Show file tree
Hide file tree
Showing 29 changed files with 16 additions and 6 deletions.
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
data/influxdb/*
data/grafana/*
.env
*/**/node_modules
*/**/node_modules

data/
/influxdb/
/grafana/dashboards/*
!/grafana/dashboards/smokeping.json
!/grafana/dashboards/dashboard.yml
/grafana/datasources/*
!/grafana/datasources/influxdb.yml
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed helm/service/files/data/influxdb/meta/meta.db
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions helm/service/templates/grafana-provisioning-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ConfigMap
metadata:
name: {{ include "<chart-name>.fullname" . }}-grafana-provisioning-dashboards
data:
{{- range $path, $bytes := .Files.Glob "files/grafana/provisioning/dashboards/*" }}
{{ $path | replace "files/grafana/provisioning/dashboards/" "" }}: |-
{{- range $path, $bytes := .Files.Glob "files/grafana/dashboards/*" }}
{{ $path | replace "files/grafana/dashboards/" "" }}: |-
{{ $.Files.Get $path | nindent 4 }}
{{- end }}
4 changes: 2 additions & 2 deletions helm/service/templates/grafana-provisioning-datasource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ConfigMap
metadata:
name: {{ include "<chart-name>.fullname" . }}-grafana-provisioning-datasources
data:
{{- range $path, $bytes := .Files.Glob "files/grafana/provisioning/datasources/*" }}
{{ $path | replace "files/grafana/provisioning/datasources/" "" }}: |-
{{- range $path, $bytes := .Files.Glob "files/grafana/datasources/*" }}
{{ $path | replace "files/grafana/datasources/" "" }}: |-
{{ $.Files.Get $path | nindent 4 }}
{{- end }}
2 changes: 2 additions & 0 deletions helm/service/templates/influxdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ spec:
value: {{ .Values.influxdb.adminPassword }}
- name: INFLUXDB_DB
value: {{ .Values.influxdb.db }}
- name: DB_NAME
value: {{ .Values.influxdb.db }}
volumes:
- name: influxdb-data
persistentVolumeClaim:
Expand Down
2 changes: 1 addition & 1 deletion helm/service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ingressHost: rancher.vzxy.net

influxdb:
image: influxdb:1.8
image: sjultra/influxdb-legacy:latest
adminUser: admin
adminPassword: password
db: speedtest
Expand Down

0 comments on commit 107fd77

Please sign in to comment.