Compare commits
2 Commits
579f78d6d1
...
0e0cfb3da0
Author | SHA1 | Date | |
---|---|---|---|
0e0cfb3da0
|
|||
33c7a50802 |
@@ -0,0 +1,19 @@
|
|||||||
|
apiVersion: monitoring.coreos.com/v1
|
||||||
|
kind: ServiceMonitor
|
||||||
|
metadata:
|
||||||
|
name: directus
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: directus
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
endpoints:
|
||||||
|
- port: http
|
||||||
|
interval: 30s
|
||||||
|
scrapeTimeout: 15s
|
||||||
|
path: /metrics
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: directus
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
@@ -98,12 +98,10 @@ directus:
|
|||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
name: ceph-bucket-directus
|
name: ceph-bucket-directus
|
||||||
key: BUCKET_NAME
|
key: BUCKET_NAME
|
||||||
- name: STORAGE_S3_REGION
|
|
||||||
value: us-east-1
|
|
||||||
- name: STORAGE_S3_ENDPOINT
|
- name: STORAGE_S3_ENDPOINT
|
||||||
value: http://rook-ceph-rgw-ceph-objectstore.rook-ceph:80
|
value: rook-ceph-rgw-ceph-objectstore.rook-ceph
|
||||||
- name: STORAGE_S3_FORCE_PATH_STYLE
|
- name: STORAGE_S3_FORCE_PATH_STYLE
|
||||||
value: "true"
|
value: true
|
||||||
- name: AUTH_PROVIDERS
|
- name: AUTH_PROVIDERS
|
||||||
value: AUTHENTIK
|
value: AUTHENTIK
|
||||||
- name: AUTH_AUTHENTIK_DRIVER
|
- name: AUTH_AUTHENTIK_DRIVER
|
||||||
@@ -130,6 +128,8 @@ directus:
|
|||||||
value: Authentik
|
value: Authentik
|
||||||
- name: TELEMETRY
|
- name: TELEMETRY
|
||||||
value: false
|
value: false
|
||||||
|
- name: METRICS_ENABLED
|
||||||
|
value: true
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
|
Reference in New Issue
Block a user