Skip to content

Commit

Permalink
use multimap instead of vorolemap file
Browse files Browse the repository at this point in the history
  • Loading branch information
kofemann committed Sep 10, 2024
1 parent 0fedfd6 commit cc4ce7d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,17 +214,17 @@ data:
auth optional voms
auth optional oidc
auth sufficient htpasswd
map optional vorolemap
map optional multimap gplazma.multimap.file=/opt/dcache/etc/multimap-id-to-username.conf
map sufficient multimap gplazma.multimap.file=/opt/dcache/etc/multimap-id-to-groupname.conf
map sufficient multimap gplazma.multimap.file=/opt/dcache/etc/multimap-id-to-username.conf
map requisite authzdb
session requisite roles
session requisite authzdb
multimap-id-to-username: |-
"dn:/C=DE/ST=Hamburg/O=dCache.ORG/CN=Kermit the frog" username:kermit
"dn:/C=DE/ST=Hamburg/O=dCache.ORG/CN=Kermit the frog" username:kermit uid:1000 gid:1000
grid-vorolemap: |-
"*" "/desy" desyuser
multimap-id-to-groupname: |-
fqan:/desy username:desyuser uid:1000 gid:2000,true
storage-authzdb: |-
version 2.1
Expand Down
10 changes: 5 additions & 5 deletions templates/door.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ spec:
mountPath: /opt/dcache/etc/multimap-id-to-username.conf
subPath: multimap-id-to-username.conf
readOnly: true
- name: vorolemap
mountPath: /opt/dcache/etc/grid-vorolemap
subPath: grid-vorolemap
- name: multimap-id-to-username
mountPath: /opt/dcache/etc/multimap-id-to-groupname.conf
subPath: multimap-id-to-groupname.conf
readOnly: true
- name: storage-authzdb
mountPath: /opt/dcache/etc/storage-authzdb
Expand Down Expand Up @@ -124,8 +124,8 @@ spec:
configMap:
name: {{ $.Release.Name }}-configmap
items:
- key: "grid-vorolemap"
path: "grid-vorolemap"
- key: "multimap-id-to-groupname"
path: "multimap-id-to-groupname.conf"
- name: storage-authzdb
configMap:
name: {{ $.Release.Name }}-configmap
Expand Down

0 comments on commit cc4ce7d

Please sign in to comment.