File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ push: docker-push
1313install : kube-install
1414uninstall : kube-delete
1515upgrade : kube-update
16-
16+
1717docker-build :
1818 docker build -t ${IMAGE} rootfs
1919 docker tag ${IMAGE} ${MUTABLE_IMAGE}
@@ -26,11 +26,11 @@ update-manifests:
2626
2727kube-install : update-manifests
2828 kubectl create -f manifests/deis-monitor-grafana-svc.yaml
29- kubectl create -f manifests/deis-monitor-grafana-rc.yaml
29+ kubectl create -f manifests/deis-monitor-grafana-rc.tmp. yaml
3030
31- kube-delete :
31+ kube-delete : update-manifests
3232 kubectl delete -f manifests/deis-monitor-grafana-svc.yaml
33- kubectl delete -f manifests/deis-monitor-grafana-rc.yaml
33+ kubectl delete -f manifests/deis-monitor-grafana-rc.tmp. yaml
3434
3535kube-update : update-manifests
3636 kubectl delete -f manifests/deis-monitor-grafana-rc.tmp.yaml
Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ update-manifests:
2727kube-install : update-manifests
2828 kubectl create -f manifests/deis-monitor-influxdb-api-svc.yaml
2929 kubectl create -f manifests/deis-monitor-influxdb-ui-svc.yaml
30- kubectl create -f manifests/deis-monitor-influxdb-rc.yaml
30+ kubectl create -f manifests/deis-monitor-influxdb-rc.tmp. yaml
3131
32- kube-delete :
32+ kube-delete : update-manifests
3333 kubectl delete -f manifests/deis-monitor-influxdb-api-svc.yaml
3434 kubectl delete -f manifests/deis-monitor-influxdb-ui-svc.yaml
35- kubectl delete -f manifests/deis-monitor-influxdb-rc.yaml
35+ kubectl delete -f manifests/deis-monitor-influxdb-rc.tmp. yaml
3636
3737kube-update : update-manifests
3838 kubectl delete -f manifests/deis-monitor-influxdb-rc.tmp.yaml
Original file line number Diff line number Diff line change @@ -16,19 +16,20 @@ RUN \
1616 adduser -S -s /bin/bash -G influxdb influxdb
1717
1818RUN \
19- mkdir -p /usr/local/bin/ && \
20- apk update && \
21- apk add ca-certificates wget curl bash && \
22- wget -q -O /etc/apk/keys/andyshinn.rsa.pub https://raw.githubusercontent.com/andyshinn/alpine-pkg-glibc/master/andyshinn.rsa.pub && \
23- wget https://github.com/andyshinn/alpine-pkg-glibc/releases/download/2.23-r1/glibc-2.23-r1.apk && \
24- apk add glibc-2.23-r1.apk && \
25- curl -SL https://dl.influxdata.com/influxdb/releases/influxdb-${INFLUX_VERSION}-1_linux_amd64.tar.gz | tar xzC / && \
26- chown influxdb:influxdb /usr/bin/influx* && \
27- rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
19+ mkdir -p /usr/local/bin/ && \
20+ apk add -U ca-certificates wget curl bash
21+
22+ RUN curl -sSL https://raw.githubusercontent.com/andyshinn/alpine-pkg-glibc/master/andyshinn.rsa.pub -o /etc/apk/keys/andyshinn.rsa.pub && \
23+ curl -sSL https://github.com/andyshinn/alpine-pkg-glibc/releases/download/2.23-r1/glibc-2.23-r1.apk -O && \
24+ apk add glibc-2.23-r1.apk && rm /glibc-2.23-r1.apk
25+
26+ RUN curl -SL https://dl.influxdata.com/influxdb/releases/influxdb-${INFLUX_VERSION}-1_linux_amd64.tar.gz | tar xzC / && \
27+ chown influxdb:influxdb /usr/bin/influx* && \
28+ rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
2829
2930RUN \
30- mkdir -p /data && \
31- chown influxdb:influxdb /data
31+ mkdir -p /data && \
32+ chown influxdb:influxdb /data
3233
3334VOLUME /data
3435
Original file line number Diff line number Diff line change 204204{{ if .PROMETHEUS_URLS }}
205205[[inputs.prometheus ]]
206206 urls = [{{ .PROMETHEUS_URLS }}]
207+ insecure_skip_verify = {{ default true .PROMETHEUS_INSECURE_SKIP_VERIFY }}
207208 bearer_token = {{ .PROMETHEUS_BEARER_TOKEN | quote }}
208209{{ end }}
209210
You can’t perform that action at this time.
0 commit comments