Skip to content

Commit f026d18

Browse files
feat(plugin-fees): add M2M and AWS_REGION env vars to chart
Add three new environment variables to the plugin-fees configmap template and values.yaml defaults: - M2M_TARGET_SERVICE: target service for machine-to-machine auth - M2M_CREDENTIAL_CACHE_TTL_SEC: TTL for cached M2M credentials (default 30s) - AWS_REGION: AWS region for IAM Roles Anywhere Requested-by: @JeffersonGR
1 parent 8444826 commit f026d18

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

charts/plugin-fees/templates/fees/configmap.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ data:
7575
ACCOUNT_CACHE_ENABLED: {{ .Values.fees.configmap.ACCOUNT_CACHE_ENABLED | default "true" | quote }}
7676
ACCOUNT_CACHE_TTL_SECONDS: {{ .Values.fees.configmap.ACCOUNT_CACHE_TTL_SECONDS | default "300" | quote }}
7777

78+
# M2M (Machine-to-Machine)
79+
M2M_TARGET_SERVICE: {{ .Values.fees.configmap.M2M_TARGET_SERVICE | default "" | quote }}
80+
M2M_CREDENTIAL_CACHE_TTL_SEC: {{ .Values.fees.configmap.M2M_CREDENTIAL_CACHE_TTL_SEC | default "30" | quote }}
81+
82+
# AWS
83+
AWS_REGION: {{ .Values.fees.configmap.AWS_REGION | default "" | quote }}
84+
7885
# MULTI TENANT
7986
MULTI_TENANT_ENABLED: {{ .Values.fees.configmap.MULTI_TENANT_ENABLED | default "false" | quote }}
8087
{{- if eq (.Values.fees.configmap.MULTI_TENANT_ENABLED | default "false" | toString) "true" }}

charts/plugin-fees/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,12 @@ fees:
174174
ACCOUNT_CACHE_ENABLED: "true"
175175
ACCOUNT_CACHE_TTL_SECONDS: "300"
176176
TRUSTED_PROXIES: ""
177+
# -- Target service name for M2M (machine-to-machine) authentication
178+
M2M_TARGET_SERVICE: ""
179+
# -- TTL in seconds for cached M2M credentials
180+
M2M_CREDENTIAL_CACHE_TTL_SEC: "30"
181+
# -- AWS region for IAM Roles Anywhere and other AWS integrations
182+
AWS_REGION: ""
177183
# -- Enable multi-tenant support via tenant-manager
178184
MULTI_TENANT_ENABLED: "false"
179185
# -- URL of the tenant-manager service (required when MULTI_TENANT_ENABLED=true)

0 commit comments

Comments
 (0)