Skip to content

Commit

Permalink
add grid-ftp door and port range
Browse files Browse the repository at this point in the history
  • Loading branch information
kofemann committed Aug 30, 2023
1 parent 56f4c64 commit 755ad24
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
7 changes: 7 additions & 0 deletions templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ data:
[{{ $.Release.Name }}-door-svc/dcap]
dcap.authn.protocol = gsi
[{{ $.Release.Name }}-door-svc/ftp]
ftp.authn.protocol = gsi
{{- range .Values.dcache.pools }}
config-pool-{{ . }}: |-
dcache.broker.scheme = satellite
Expand Down Expand Up @@ -116,6 +120,9 @@ data:
#webdav.redirect.allow-https=false
#pool.enable.encrypted-transfers=false
dcache.net.wan.port.min={{ $.Values.mover.wan_range_min }}
dcache.net.wan.port.max={{ $.Values.mover.wan_range_max }}
00-init.sh: |-
export JAVA=/usr/bin/java
/opt/dcache/bin/dcache database update
Expand Down
7 changes: 7 additions & 0 deletions templates/pool-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,12 @@ spec:
- name: https-mover
port: {{ $.Values.mover.https }}
targetPort: {{ $.Values.mover.https }}
{{ $range_start := ( $.Values.mover.wan_range_min | int) }}
{{ $range_stop := ( $.Values.mover.wan_range_max | int) }}
{{- range $port_index, $port := untilStep $range_start $range_stop 1 }}
- name: wan-port-{{ $port_index }}
port: {{ $port }}
targetPort: {{ $port }}
{{- end }}
---
{{- end }}
4 changes: 3 additions & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ mover:
nfs: 32049
xrootd: 31094
http: 38080
https: 38083
https: 38083
wan_range_min: 28000
wan_range_max: 28050

0 comments on commit 755ad24

Please sign in to comment.