Skip to content

Commit

Permalink
Remove custom postgres-exporter queries
Browse files Browse the repository at this point in the history
These feature has been deprecated by postgres-exporter, and the only query currently defined in our file didn't work anyway.
  • Loading branch information
ChrisLovering committed Apr 9, 2024
1 parent 17f2169 commit 55a3a8e
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,15 @@ spec:
memory: 50Mi
ports:
- containerPort: 9187
env:
- name: PG_EXPORTER_EXTEND_QUERY_PATH
value: /opt/python-discord/queries/queries.yaml
envFrom:
- secretRef:
name: postgres-exporter-env
securityContext:
readOnlyRootFilesystem: true
volumeMounts:
- mountPath: /opt/python-discord/queries
name: queries
securityContext:
fsGroup: 2000
runAsUser: 1000
runAsNonRoot: true
volumes:
- configMap:
defaultMode: 420
name: postgres-exporter-queries
name: queries
---
apiVersion: v1
kind: Service
Expand Down

0 comments on commit 55a3a8e

Please sign in to comment.