This commit is contained in:
		@@ -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:
 | 
			
		||||
                  name: ceph-bucket-directus
 | 
			
		||||
                  key: BUCKET_NAME
 | 
			
		||||
            - name: STORAGE_S3_REGION
 | 
			
		||||
              value: us-east-1
 | 
			
		||||
            - 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
 | 
			
		||||
              value: "true"
 | 
			
		||||
              value: true
 | 
			
		||||
            - name: AUTH_PROVIDERS
 | 
			
		||||
              value: AUTHENTIK
 | 
			
		||||
            - name: AUTH_AUTHENTIK_DRIVER
 | 
			
		||||
@@ -130,6 +128,8 @@ directus:
 | 
			
		||||
              value: Authentik
 | 
			
		||||
            - name: TELEMETRY
 | 
			
		||||
              value: false
 | 
			
		||||
            - name: METRICS_ENABLED
 | 
			
		||||
              value: true
 | 
			
		||||
          resources:
 | 
			
		||||
            requests:
 | 
			
		||||
              cpu: 10m
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user