Skip to content

Commit

Permalink
update configmap
Browse files Browse the repository at this point in the history
  • Loading branch information
totegamma committed Oct 20, 2024
1 parent 4267333 commit fbc98af
Show file tree
Hide file tree
Showing 2 changed files with 158 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/concrnt/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
appVersion: "0.0.0"
description: A Helm chart for concurrent
name: concrnt
version: 0.3.3
version: 0.4.0
164 changes: 157 additions & 7 deletions charts/concrnt/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,47 +31,197 @@ data:
gateway.yaml: |-
services:
- name: webui
- name: net.concrnt.webui
host: ccwebui
port: 80
path: /web
preservePath: true
- name: concrnt
- name: net.concrnt.api
host: ccapi
port: 8000
path: /api/v1
injectCors: true
rateLimit:
'GET:/api/v1/domain':
bucketSize: 100
refillSpan: 1
'GET:/api/v1/domain/:id':
bucketSize: 10
refillSpan: 1
'GET:/api/v1/domains':
bucketSize: 10
refillSpan: 1
'GET:/api/v1/entity/:id':
bucketSize: 1000
refillSpan: 1
'GET:/api/v1/entity/:id/acking':
bucketSize: 10
refillSpan: 1
'GET:/api/v1/entity/:id/acker':
bucketSize: 10
refillSpan: 1
'GET:/api/v1/entity/:id/entities':
bucketSize: 10
refillSpan: 1
'GET:/api/v1/message/:id':
bucketSize: 1000
refillSpan: 1
'GET:/api/v1/message/:id/associations':
bucketSize: 1000
refillSpan: 1
'GET:/api/v1/message/:id/associationcounts':
bucketSize: 1000
refillSpan: 1
'GET:/api/v1/message/:id/associations/mine':
bucketSize: 1000
refillSpan: 1
'GET:/api/v1/association/:id':
bucketSize: 1000
refillSpan: 1
'GET:/api/v1/profile/:id':
bucketSize: 1000
refillSpan: 1
'GET:/api/v1/profile/:owner/:semanticid':
bucketSize: 1000
refillSpan: 1
'GET:/api/v1/profiles':
bucketSize: 10
refillSpan: 1
'GET:/api/v1/profile/:id/associations':
bucketSize: 100
refillSpan: 1
'GET:/api/v1/timeline/:id':
bucketSize: 100
refillSpan: 1
'GET:/api/v1/timeline/:id/query':
bucketSize: 100
refillSpan: 1
'GET:/api/v1/timeline/:id/associations':
bucketSize: 100
refillSpan: 1
'GET:/api/v1/timelines':
bucketSize: 10
refillSpan: 1
'GET:/api/v1/timelines/mine':
bucketSize: 10
refillSpan: 1
'GET:/api/v1/timelines/recent':
bucketSize: 100
refillSpan: 1
'GET:/api/v1/timelines/range':
bucketSize: 100
refillSpan: 1
'GET:/api/v1/timelines/chunks':
bucketSize: 100
refillSpan: 1
'GET:/api/v1/timelines/retracted':
bucketSize: 100
refillSpan: 1
'GET:/api/v1/timelines/realtime':
bucketSize: 10
refillSpan: 1
'GET:/api/v1/chunks/itr':
bucketSize: 100
refillSpan: 1
'GET:/api/v1/chunks/body':
bucketSize: 100
refillSpan: 1
'GET:/api/v1/kv/:key':
bucketSize: 100
refillSpan: 1
'PUT:/api/v1/kv/:key':
bucketSize: 100
refillSpan: 1
'GET:/api/v1/auth/passport':
bucketSize: 30
refillSpan: 1
'GET:/api/v1/key/:id':
bucketSize: 100
refillSpan: 1
'GET:/api/v1/keys/mine':
bucketSize: 10
refillSpan: 1
'GET:/api/v1/subscription/:id':
bucketSize: 100
refillSpan: 1
'GET:/api/v1/subscription/:id/associations':
bucketSize: 100
refillSpan: 1
'GET:/api/v1/subscriptions/mine':
bucketSize: 10
refillSpan: 1
'GET:/api/v1/repository':
bucketSize: 100
refillSpan: 1
'POST:/api/v1/repository':
bucketSize: 100
refillSpan: 1
'GET:/api/v1/repositories/sync':
bucketSize: 10
refillSpan: 1
'POST:/api/v1/repositories/sync':
bucketSize: 10
refillSpan: 1
'GET:/api/v1/jobs':
bucketSize: 10
refillSpan: 1
'POST:/api/v1/jobs':
bucketSize: 10
refillSpan: 1
'DELETE:/api/v1/job/:id':
bucketSize: 10
refillSpan: 1
'POST:/api/v1/commit':
bucketSize: 30
refillSpan: 5
'DEFAULT':
bucketSize: 100
refillSpan: 1
{{- if .Values.activitypub.enabled }}
- name: activitypub
- name: world.concrnt.ap-bridge
host: ccactivitypub
port: 8000
path: /ap
preservePath: true
injectCors: true
- name: webfinger
- name: world.concrnt.webfinger
host: ccactivitypub
port: 8000
path: /.well-known
preservePath: true
{{- end }}
{{- if .Values.hyperproxy.enabled }}
- name: hyperproxy-summary
- name: world.concrnt.hyperproxy.summary
host: hyperproxy
port: 8000
path: /summary
preservePath: true
injectCors: true
{{- end }}
{{- if .Values.hyperproxy.enabled }}
- name: hyperproxy-image
- name: world.concrnt.hyperproxy.image
host: hyperproxy
port: 8000
path: /image
preservePath: true
injectCors: true
{{- end }}
{{- if .Values.mediaserver.enabled }}
- name: mediaserver
- name: world.concrnt.mediaserver
host: mediaserver
port: 8000
path: /storage
Expand Down

0 comments on commit fbc98af

Please sign in to comment.