diff --git a/infrastructure/charts/agent/templates/apisixroute.yaml b/infrastructure/charts/agent/templates/apisixroute.yaml index 8a389f4013..47f1f5a0b9 100644 --- a/infrastructure/charts/agent/templates/apisixroute.yaml +++ b/infrastructure/charts/agent/templates/apisixroute.yaml @@ -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 diff --git a/infrastructure/charts/agent/values.yaml b/infrastructure/charts/agent/values.yaml index a32e7562f5..84638ad2b9 100644 --- a/infrastructure/charts/agent/values.yaml +++ b/infrastructure/charts/agent/values.yaml @@ -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 @@ -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