Skip to content

Commit

Permalink
fixing s3 rse secret and how servers deal with it (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
egazzarr authored Nov 14, 2023
1 parent e4b965c commit f4253c5
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 1 deletion.
4 changes: 4 additions & 0 deletions infrastructure/cluster/flux-v2/rucio-vre/rucio-daemons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -511,3 +511,7 @@ spec:
use_ssl: "False"
brokers: "dashb-mb.cern.ch"
voname: "escape"

credentials:
gcs: "/opt/rucio/etc/rse-accounts.cfg"
signature_lifetime: "3600"
87 changes: 87 additions & 0 deletions infrastructure/cluster/flux-v2/rucio-vre/rucio-servers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,76 @@
# annotations:
# flux.weave.works/automated: "false"

<<<<<<< HEAD
spec:
releaseName: servers-vre
interval: 5m
chart:
spec:
sourceRef:
kind: HelmRepository
name: rucio-charts
namespace: rucio-vre
interval: 1m
chart: rucio-server
version: 1.30.0

valuesFrom:
- kind: Secret
name: rucio-db
valuesKey: values.yaml

values:

additionalSecrets:
idpsecrets:
secretName: idpsecrets
mountPath: /opt/rucio/etc/idpsecrets.json
subPath: idpsecrets.json
rse-accounts:
secretName: rse-accounts
mountPath: /opt/rucio/etc/rse-accounts.cfg
subPath: rse-accounts.cfg

replicaCount: 1
authReplicaCount: 1

useSSL:
server: true
authServer: true

image:
repository: rucio/rucio-server
tag: release-1.30.0
pullPolicy: Always

# The API server listens on port 6443 (by default).
# Therefore, expose the API server on port 443 and listen to 6443.

service:
type: LoadBalancer
port: 443
targetPort: 443
protocol: TCP
name: https
# # annotations:
# # # These annotations are only required for cluster templates <=1.18
# # loadbalancer.openstack.org/network-id: "798d00f3-2af9-48a0-a7c3-a26d909a2d64"
# # service.beta.kubernetes.io/openstack-internal-load-balancer: "true"
# # loadbalancer.openstack.org/cascade-delete: "false"

authService:
type: LoadBalancer
port: 443
targetPort: 443
protocol: TCP
name: https
# # annotations:
# # # These annotations are only required for cluster templates <=1.18
# # loadbalancer.openstack.org/network-id: "798d00f3-2af9-48a0-a7c3-a26d909a2d64"
# # service.beta.kubernetes.io/openstack-internal-load-balancer: "true"
# # loadbalancer.openstack.org/cascade-delete: "false"
=======
# spec:
# releaseName: servers-vre
# interval: 5m
Expand Down Expand Up @@ -73,6 +143,7 @@
# # # loadbalancer.openstack.org/network-id: "798d00f3-2af9-48a0-a7c3-a26d909a2d64"
# # # service.beta.kubernetes.io/openstack-internal-load-balancer: "true"
# # # loadbalancer.openstack.org/cascade-delete: "false"
>>>>>>> main

# # service:
# # type: ClusterIP
Expand Down Expand Up @@ -172,6 +243,21 @@
# pool_size: 10
# max_overflow: 20

<<<<<<< HEAD
oidc:
idpsecrets: "/opt/rucio/etc/idpsecrets.json"
admin_issuer: "escape"
expected_audience: "rucio"
expected_scope: "openid profile"

credentials:
gcs: "/opt/rucio/etc/rse-accounts.cfg"
signature_lifetime: "3600"

policy:
permission: "escape"
schema: "escape"
=======
# oidc:
# idpsecrets: "/opt/rucio/etc/idpsecrets.json"
# admin_issuer: "escape"
Expand All @@ -181,6 +267,7 @@
# policy:
# permission: "escape"
# schema: "escape"
>>>>>>> main

# serverResources:
# limits:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
namespace: rucio-vre
spec:
encryptedData:
rse-accounts.cfg: AgAAOZFvJSFXzX6Y5IKdNFG1VODN8fLqpNxKI5yP3Ix8vS53CHhqueoEEpAwMgrRz6xX4K2Z8o7+0dMFo3gPN0fM0/QvfVxmoPIEXF73B2DZyKrcCd/qtjLyAbYn+9Tgo7EKFJTMH8iEy6Qw6TCsBVR5p9CjYOHhweJyN5Z9ddTeK3BfkmUL8hV/FrkY+e/3Ivm2FvVztAqX5fxa6q27MP7EndHvG8lWQS+clYrJtJuSGcIH/MSR79vcqQv09I01K+Er7gSEx9XyKiNwH27AgWM0/HVoMC41njsq+k276eFg3iIptwT9Fsdux7YtVcEBUyMo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eD7BczQfhsI+Nk+LNCaHwEAh48nSoTRwRkM8jPev/cZR4hImCRS6RjJNUyu5r+4P5vNfG/M57jEOKpWf9TOjkJmjQdmVcdeVpOHdXqYZSJGxEOcp0E4EBfl/vq/PydvCmVITl071BaQENnlCdE+AkP4mL1uSSqwR6Oa6C3/WPmCXkzLLyHMBuNwWxz8eh74BBIuE7Ps1bAzCsQL1uGMw9ci6OrsaUqWcAhYJBIwREK4wExYSluoA74I4TMQKLSrivrkBG5UNbieevpy9KVLyYoQig/WtbqzSTsqRhRGyOhYZuNrDXY9X3qddPIUqoVuKhPIZDPBJIWVD/Rry4FTZ134OtCmsJHttoNvTGmBkxIXOcXds2ntdu6CsE/BhoCZ9xTdbfDQf4HNzKz6PKO1jGrauUhaPoqdMcuESBHGjuwJBJN33/GQJqUEx+ad/5lbX7CuWqsNlmMUcQgj6/WZAp5iWtLw0uTXCBiyr8Abbeutz6SUcPdvecUmuu4nU4zkSSvlTVs6/9WMZveo2EljGuRMvBQHNmfLN0gQ8AQLhPocZQV+iM5zIVnEF7NbCxwpy6aR/haFQeY0ot8GCfiT0+5lM+XK2Q6qTy6DG2sb/LZVxevjqWZ/GX4PV96ik+lWMqpL8lU5mmfJJPzn6C+6DozdPaSM+vGvy3KYxRZQPc6EjHDTs/hd/Fv1yJ1K4OTHOw+2OnpQ61JK+w==
template:
metadata:
creationTimestamp: null
Expand Down

0 comments on commit f4253c5

Please sign in to comment.