Skip to content

Commit

Permalink
Use kubeflow userid header and prefix config for KFP servers (#1365)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobgy authored Jul 9, 2020
1 parent ffb31aa commit 8947d3a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pipeline/installs/multi-user/api-service/deployment-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,14 @@ spec:
envFrom:
- configMapRef:
name: pipeline-api-server-config
env:
- name: KUBEFLOW_USERID_HEADER
valueFrom:
configMapKeyRef:
name: kubeflow-config
key: userid-header
- name: KUBEFLOW_USERID_PREFIX
valueFrom:
configMapKeyRef:
name: kubeflow-config
key: userid-prefix
10 changes: 10 additions & 0 deletions pipeline/installs/multi-user/pipelines-ui/deployment-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ spec:
value: 'true'
- name: ENABLE_AUTHZ
value: 'true'
- name: KUBEFLOW_USERID_HEADER
valueFrom:
configMapKeyRef:
name: kubeflow-config
key: userid-header
- name: KUBEFLOW_USERID_PREFIX
valueFrom:
configMapKeyRef:
name: kubeflow-config
key: userid-prefix
volumeMounts:
- name: config-volume
mountPath: /etc/config
Expand Down

0 comments on commit 8947d3a

Please sign in to comment.