@@ -31,6 +31,18 @@ service:
3131 # port is the service port
3232 port : 8080
3333
34+ # serviceAccount is the configuration for the Kubernetes service account
35+ serviceAccount :
36+ # create specifies whether a service account should be created
37+ create : true
38+ # name is the name of the service account to use.
39+ # If not set and create is true, a name is generated using the fullname template
40+ name : " "
41+ # annotations to add to the service account
42+ annotations : {}
43+ # automountServiceAccountToken is a boolean to determine if the service account token should be automatically mounted
44+ automountServiceAccountToken : true
45+
3446# nats is the configuration for the NATS server
3547nats :
3648 # url is the URL of the NATS server
@@ -121,45 +133,82 @@ authelia:
121133
122134# app is the configuration for the application
123135app :
124- # logLevel is the log level (debug, info, warn, error)
125- logLevel : debug
126- # logAddSource is a boolean to determine if the log source should be added
127- logAddSource : true
128- # authSource is the authentication source (jwt or mock)
129- authSource : jwt
130- # jwtAuthDisabledMockLocalPrincipal is used for local development to bypass JWT validation
131- jwtAuthDisabledMockLocalPrincipal : " "
136+ # audience is the JWT audience required for authentication with this app
137+ audience : lfx-v2-mailing-list-service
132138 # use_oidc_contextualizer is a boolean to determine if the OIDC contextualizer should be used
133139 use_oidc_contextualizer : true
134- # jwt is the configuration for JWT authentication
135- # audience is the intended audience for the JWT token
136- audience : lfx-v2-mailing-list-service
137140
138- # Repository implementation source (nats or mock)
139- # Production should use 'nats', local development should use 'mock'
140- repositorySource : nats
141-
142- # GroupsIO integration configuration
143- groupsio :
144- # source determines the GroupsIO implementation (groupsio or mock)
145- # Use 'groupsio' for production, 'mock' for testing/local development
146- # Empty string defaults to production in code
147- source : groupsio
148- # baseUrl is the Groups.io API base URL
149- baseUrl : " https://groups.io/api"
150- # email is the Groups.io account email for authentication
151- # Do not commit actual credentials to this file will be set by Kubernetes secrets
152- email : " "
153- # password is the Groups.io account password for authentication
154- # Do not commit actual credentials to this file will be set by Kubernetes secrets
155- password : " "
156- # timeout is the HTTP client timeout for Groups.io requests
157- timeout : " 30s"
158- # maxRetries is the maximum number of retry attempts for failed requests
159- maxRetries : " 3"
160- # retryDelay is the delay between retry attempts
161- retryDelay : " 1s"
162-
163- # Webhook secret for GroupsIO webhook validation
164- # Do not commit actual credentials to this file will be set by Kubernetes secrets
165- groupsioWebhookSecret : " "
141+ # environment contains all application environment variables
142+ # Each variable can have either a 'value' (for direct values) or 'valueFrom' (for secret references)
143+ environment :
144+ # NATS_URL is the URL of the NATS server (required)
145+ NATS_URL :
146+ value : nats://lfx-platform-nats.lfx.svc.cluster.local:4222
147+
148+ # LOG_LEVEL is the log level (debug, info, warn, error) - optional, defaults to info
149+ LOG_LEVEL :
150+ value : info
151+
152+ # LOG_ADD_SOURCE determines if log source should be added - optional, defaults to true
153+ LOG_ADD_SOURCE :
154+ value : true
155+
156+ # JWKS_URL is the URL to the JSON Web Key Set endpoint for JWT validation
157+ # Required unless JWT_AUTH_DISABLED_MOCK_LOCAL_PRINCIPAL is set
158+ JWKS_URL :
159+ value : http://lfx-platform-heimdall.lfx.svc.cluster.local:4457/.well-known/jwks
160+
161+ # JWT_AUDIENCE is the intended audience for the JWT token (required)
162+ JWT_AUDIENCE :
163+ value : lfx-v2-mailing-list-service
164+
165+ # JWT_AUTH_DISABLED_MOCK_LOCAL_PRINCIPAL is used for local development to bypass JWT validation
166+ # Optional, local dev only. Set to a principal name to enable mock authentication
167+ JWT_AUTH_DISABLED_MOCK_LOCAL_PRINCIPAL :
168+ value : ' '
169+
170+ # AUTH_SOURCE is the authentication source: 'jwt' for production, 'mock' for local dev (optional, defaults to jwt)
171+ AUTH_SOURCE :
172+ value : jwt
173+
174+ # REPOSITORY_SOURCE is the repository implementation: 'nats' for production, 'mock' for local dev
175+ # Optional, defaults to nats. Production should use 'nats', local development should use 'mock'
176+ REPOSITORY_SOURCE :
177+ value : nats
178+
179+ # GroupsIO Integration Configuration
180+ # GROUPSIO_SOURCE determines the GroupsIO implementation: 'groupsio' for production, 'mock' for testing
181+ # Use 'groupsio' for production, 'mock' for testing. Empty string defaults to production in code.
182+ GROUPSIO_SOURCE :
183+ value : groupsio
184+
185+ # GROUPSIO_BASE_URL is the Groups.io API base URL
186+ GROUPSIO_BASE_URL :
187+ value : " https://groups.io/api"
188+
189+ # GROUPSIO_EMAIL is the Groups.io account email for authentication
190+ # WARNING: Do not commit actual credentials to this file - should be set via Kubernetes secrets using valueFrom
191+ GROUPSIO_EMAIL :
192+ value : null
193+
194+ # GROUPSIO_PASSWORD is the Groups.io account password for authentication
195+ # WARNING: Do not commit actual credentials to this file - should be set via Kubernetes secrets using valueFrom
196+ GROUPSIO_PASSWORD :
197+ value : null
198+
199+ # GROUPSIO_TIMEOUT is the HTTP client timeout for Groups.io requests (e.g., "30s", "1m")
200+ GROUPSIO_TIMEOUT :
201+ value : " 30s"
202+
203+ # GROUPSIO_MAX_RETRIES is the maximum number of retry attempts for failed requests
204+ GROUPSIO_MAX_RETRIES :
205+ value : " 3"
206+
207+ # GROUPSIO_RETRY_DELAY is the delay between retry attempts (e.g., "1s", "500ms")
208+ GROUPSIO_RETRY_DELAY :
209+ value : " 1s"
210+
211+ # GROUPSIO_WEBHOOK_SECRET is the secret for GroupsIO webhook validation
212+ # WARNING: Do not commit actual credentials to this file - should be set via Kubernetes secrets using valueFrom
213+ GROUPSIO_WEBHOOK_SECRET :
214+ value : null
0 commit comments