Skip to content

Commit

Permalink
fix: Option to disable apisix key auth (#813)
Browse files Browse the repository at this point in the history
Signed-off-by: Milos Backonja <[email protected]>
  • Loading branch information
milosbackonja authored Dec 12, 2023
1 parent 6d9ed3c commit f163682
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion infrastructure/charts/agent/templates/apisixroute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
- serviceName: agent-server-tapir-service
servicePort: 8085
authentication:
enable: true
enable: {{ .Values.ingress.auth.enable }}
type: keyAuth
plugins:
- name: proxy-rewrite
Expand Down
5 changes: 4 additions & 1 deletion infrastructure/charts/agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ ingress:
enabled: false
allow_origins: ""
consumers: []
auth:
enable: true
# External Consumers are ones where the secret keys/API tokens
# are pulled in using External Secrets [and therefore aren't generated by helm]
externalConsumerKeyPrefix: chart-base-key-prefix
Expand All @@ -28,7 +30,8 @@ server:
requests:
cpu: 250m
memory: 512Mi
additionalEnvVariables: []
# Additional environment variables to be added to the server container
additionalEnvVariables: {}
useVault: true
keycloak:
enabled: false
Expand Down

0 comments on commit f163682

Please sign in to comment.