diff --git a/templates/configmap.yaml b/templates/configmap.yaml index 47ad29e..70b016f 100644 --- a/templates/configmap.yaml +++ b/templates/configmap.yaml @@ -36,6 +36,7 @@ data: gplazma.gridmap.file=/opt/dcache/etc/grid-mapfile gplazma.authzdb.file=/opt/dcache/etc/storage-authzdb gplazma.vorolemap.file=/opt/dcache/etc/grid-vorolemap + gplazma.htpasswd.file=/opt/dcache/etc/htpasswd [{{ $.Release.Name }}-door-svc/xrootd] xrootd.security.tls.mode=OFF @@ -159,7 +160,7 @@ data: gplazma.conf: |- auth optional x509 auth optional voms - #auth sufficient htpasswd + auth sufficient htpasswd map optional vorolemap map optional gridmap map requisite authzdb @@ -182,3 +183,6 @@ data: linkgroupauthz: |- LinkGroup default-linkgroup /desy + + htpasswd: |- + admin:$apr1$nq7.vQxE$tvmghVXGplwv/SNpNYGiC1 \ No newline at end of file diff --git a/templates/door.yaml b/templates/door.yaml index 87ddce4..7151ac0 100644 --- a/templates/door.yaml +++ b/templates/door.yaml @@ -61,6 +61,10 @@ spec: mountPath: /opt/dcache/etc/storage-authzdb subPath: storage-authzdb readOnly: true + - name: htpasswd + mountPath: /opt/dcache/etc/htpasswd + subPath: htpasswd + readOnly: true - name: linkgroupauthz mountPath: /opt/dcache/etc/linkgroupauthz.conf subPath: linkgroupauthz.conf @@ -126,6 +130,12 @@ spec: items: - key: "storage-authzdb" path: "storage-authzdb" + - name: htpasswd + configMap: + name: {{ $.Release.Name }}-configmap + items: + - key: "htpasswd" + path: "htpasswd" - name: linkgroupauthz configMap: name: {{ $.Release.Name }}-configmap