Skip to content

Commit 74bdc1f

Browse files
committed
fix(influxdb): replace drycc-monitor-influxapi to drycc-monitor-influx-api
1 parent 1061f20 commit 74bdc1f

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

charts/monitor/charts/influxdb/templates/monitor-influxdb-api-certificate.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
apiVersion: cert-manager.io/v1alpha2
33
kind: Certificate
44
metadata:
5-
name: drycc-monitor-influxapi
5+
name: drycc-monitor-influx-api
66
namespace: "{{ .Release.Namespace }}"
77
spec:
8-
secretName: drycc-monitor-influxapi-auto-tls
8+
secretName: drycc-monitor-influx-api-auto-tls
99
issuerRef:
1010
name: drycc-cluster-issuer
1111
kind: ClusterIssuer
1212
dnsNames:
13-
- drycc-monitor-influxapi.{{ .Values.global.platform_domain }}
13+
- drycc-monitor-influx-api.{{ .Values.global.platform_domain }}
1414
privateKey:
1515
rotationPolicy: Always
1616
{{- end }}

charts/monitor/charts/influxdb/templates/monitor-influxdb-api-ingress.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ apiVersion: networking.k8s.io/v1beta1
22
kind: Ingress
33
metadata:
44
namespace: "{{ .Release.Namespace }}"
5-
name: "drycc-monitor-influxapi-ingress"
5+
name: "drycc-monitor-influx-api-ingress"
66
labels:
7-
app: "drycc-monitor-influxapi"
7+
app: "drycc-monitor-influx-api"
88
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
99
release: "{{ .Release.Name }}"
1010
heritage: "{{ .Release.Service }}"
@@ -15,7 +15,7 @@ metadata:
1515
{{ end }}
1616
spec:
1717
rules:
18-
- host: drycc-monitor-influxapi.{{ .Values.global.platform_domain }}
18+
- host: drycc-monitor-influx-api.{{ .Values.global.platform_domain }}
1919
http:
2020
paths:
2121
{{- if eq .Values.global.ingress_class "gce" "alb" }}
@@ -24,11 +24,11 @@ spec:
2424
- path: /
2525
{{- end }}
2626
backend:
27-
serviceName: drycc-monitor-influxapi
27+
serviceName: drycc-monitor-influx-api
2828
servicePort: 80
2929
{{ if .Values.global.cert_manager_enabled }}
3030
tls:
31-
- secretName: drycc-monitor-influxapi-auto-tls
31+
- secretName: drycc-monitor-influx-api-auto-tls
3232
hosts:
33-
- drycc-monitor-influxapi.{{ .Values.global.platform_domain }}
33+
- drycc-monitor-influx-api.{{ .Values.global.platform_domain }}
3434
{{- end }}

charts/monitor/charts/influxdb/templates/monitor-influxdb-api-svc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
apiVersion: v1
33
kind: Service
44
metadata:
5-
name: drycc-monitor-influxapi
5+
name: drycc-monitor-influx-api
66
labels:
77
heritage: drycc
8-
app: drycc-monitor-influxapi
8+
app: drycc-monitor-influx-api
99
spec:
1010
ports:
1111
- port: 80

grafana/rootfs/usr/share/grafana/start-grafana

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ GRAFANA_USER=${DEFAULT_USER:-admin}
88
GRAFANA_PASSWD=${DEFAULT_USER_PASSWORD:-admin}
99
GRAFANA_PORT=${BIND_PORT:-3000}
1010

11-
INFLUXDB_HOST=${DRYCC_MONITOR_INFLUXAPI_SERVICE_HOST:-"drycc-monitor-influxapi.drycc.svc.cluster.local"}
11+
INFLUXDB_HOST=${DRYCC_MONITOR_INFLUXAPI_SERVICE_HOST:-"drycc-monitor-influx-api.drycc.svc.cluster.local"}
1212
INFLUXDB_PORT=${DRYCC_MONITOR_INFLUXAPI_SERVICE_PORT_TRANSPORT:-8086}
1313
INFLUXDB_DATABASE=${INFLUXDB_DATABASE:-kubernetes}
1414
INFLUXDB_USER=${INFLUXDB_USER:-admin}

0 commit comments

Comments
 (0)