Skip to content

Commit

Permalink
syncing up to e7bcf9446a2693c62589838b15d1e1034c76d3ea
Browse files Browse the repository at this point in the history
Co-authored-by: Bruce Yu <[email protected]>
  • Loading branch information
superblocksadmin and bruce-y committed Dec 10, 2024
1 parent af42a9e commit 59679aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
16 changes: 0 additions & 16 deletions helm/orchestrator/templates/kongplugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,3 @@ config:
allowed_payload_size: {{ .Values.gateway.maxBodySize }}
size_unit: megabytes
require_content_length: false
---
{{- if .Values.ingress.opa.enabled }}
apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
name: {{ include "orchestrator.fullname" . }}-workflows
label:
global: "false"
plugin: workflows
config:
organizations:
{{- range .Values.ingress.opa.organizations }}
- {{ . }}
{{- end }}
header: X-Superblocks-Organization-Id
{{- end }}
3 changes: 1 addition & 2 deletions helm/orchestrator/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Service
metadata:
name: {{ include "orchestrator.fullname" . }}
annotations:
konghq.com/plugins: {{ $fullname }}-cors,{{ $fullname }}-request-size,{{ $fullname }}-workflows
konghq.com/plugins: {{ $fullname }}-cors,{{ $fullname }}-request-size
labels:
component: orchestrator
spec:
Expand All @@ -24,7 +24,6 @@ kind: Service
metadata:
name: {{ include "orchestrator.fullname" . }}-grpc
annotations:
konghq.com/plugins: {{ $fullname }}-workflows
konghq.com/protocol: "grpc"
labels:
component: orchestrator
Expand Down

0 comments on commit 59679aa

Please sign in to comment.