Update owner of secrets to gcube user

This commit is contained in:
Antonio Calanducci 2023-11-06 12:25:33 +01:00
parent 4a149629d4
commit 094768ba21
2 changed files with 20 additions and 10 deletions

View File

@ -39,24 +39,29 @@ services:
secrets:
- source: {{ service_prefix }}-ghn-config-{{ scope_name }}
target: /home/gcube/gCore/config/GHNConfig.xml
gid: 333
uid: "333"
gid: "333"
mode: 0440
- source: {{ service_prefix }}-jndi-config-{{ scope_name }}
target: /home/gcube/gCore/etc/is-collector-service/jndi-config.xml
gid: 333
uid: "333"
gid: "333"
mode: 0440
- source: {{ service_prefix }}-server-config-{{ scope_name }}
target: /home/gcube/gCore/etc/globus_wsrf_core/server-config.wsdd
gid: 333
uid: "333"
gid: "333"
mode: 0440
- source: gcube-dev-legacy-security-key
target: /home/gcube/gCore/config/symm.key
gid: 333
uid: "333"
gid: "333"
mode: 0440
{% for item in gcube_dev_security_keys %}
- source: {{ item.name }}
target: /home/gcube/gCore/config/{{ item.name }}
gid: 333
uid: "333"
gid: "333"
mode: 0440
{% endfor %}
deploy:

View File

@ -28,24 +28,29 @@ services:
secrets:
- source: ghn-config-{{ scope_name }}
target: /home/gcube/gCore/config/GHNConfig.xml
gid: 333
uid: "333"
gid: "333"
mode: 0440
- source: jndi-config-{{ scope_name }}
target: /home/gcube/gCore/etc/is-registry-service/jndi-config.xml
gid: 333
uid: "333"
gid: "333"
mode: 0440
- source: server-config-{{ scope_name }}
target: /home/gcube/gCore/etc/globus_wsrf_core/server-config.wsdd
gid: 333
uid: "333"
gid: "333"
mode: 0440
- source: gcube-dev-legacy-security-key
target: /home/gcube/gCore/config/symm.key
gid: 333
uid: "333"
gid: "333"
mode: 0440
{% for item in gcube_dev_security_keys %}
- source: {{ item.name }}
target: /home/gcube/gCore/config/{{ item.name }}
gid: 333
uid: "333"
gid: "333"
mode: 0440
{% endfor %}
deploy: