Skip to content

Commit a313dff

Browse files
committed
helm for: save OAuth2 attributes in the API key "config" dict
1 parent 4507d99 commit a313dff

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

deploy/helm/apikeymanager/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ spec:
106106
value: {{ .Values.config.contact_email | quote }}
107107
- name: "APIKM_OPENAPI_URL"
108108
value: {{ .Values.config.openapi_url | quote }}
109+
- name: "APIKM_OAUTH2_ATTRIBUTES"
110+
value: {{ .Values.config.oauth2_attributes | quote }}
109111
{{- range $key, $val := .Values.env }}
110112
- name: {{ $key }}
111113
value: {{ $val | quote }}

deploy/helm/apikeymanager/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ config:
5959
contact_email: "support@csgroup.space"
6060
# -- The URL where the OpenAPI schema will be served from
6161
openapi_url: "/openapi.json"
62+
# -- List of optional OAuth2 attributes to save as key/values in the API key "config" dict. The list is given as a
63+
# -- comma-separated str (e.g. 'attr1,attr2') or json representation str (e.g. '["attr1", "attr2"]')
64+
oauth2_attributes: ""
6265

6366
# --
6467
fullnameOverride: ""

0 commit comments

Comments
 (0)