Update prefixes for secrets in resource-manager and is-registry roles

This commit is contained in:
Antonio Calanducci 2023-11-17 13:42:32 +01:00
parent a1331570ad
commit 763fdf3e3a
2 changed files with 12 additions and 12 deletions

View File

@ -6,11 +6,11 @@ networks:
external: true
secrets:
ghn-config-{{ scope_name }}:
{{ service_prefix }}-ghn-config-{{ scope_name }}:
external: true
jndi-config-{{ scope_name }}:
{{ service_prefix }}-jndi-config-{{ scope_name }}:
external: true
server-config-{{ scope_name }}:
{{ service_prefix }}-server-config-{{ scope_name }}:
external: true
gcube-dev-legacy-security-key:
external: true
@ -26,17 +26,17 @@ services:
- {{ is_registry_docker_network }}
- {{ is_registry_haproxy_public_net }}
secrets:
- source: ghn-config-{{ scope_name }}
- source: {{ service_prefix }}-ghn-config-{{ scope_name }}
target: /home/gcube/gCore/config/GHNConfig.xml
uid: "333"
gid: "333"
mode: 0440
- source: jndi-config-{{ scope_name }}
- source: {{ service_prefix }}-jndi-config-{{ scope_name }}
target: /home/gcube/gCore/{{ config_dir }}/jndi-config.xml
uid: "333"
gid: "333"
mode: 0444
- source: server-config-{{ scope_name }}
- source: {{ service_prefix }}-server-config-{{ scope_name }}
target: /home/gcube/gCore/etc/globus_wsrf_core/server-config.wsdd
uid: "333"
gid: "333"

View File

@ -6,11 +6,11 @@ networks:
external: true
secrets:
ghn-config-{{ scope_name }}:
{{ service_prefix }}-ghn-config-{{ scope_name }}:
external: true
jndi-config-{{ scope_name }}:
{{ service_prefix }}-jndi-config-{{ scope_name }}:
external: true
server-config-{{ scope_name }}:
{{ service_prefix }}-server-config-{{ scope_name }}:
external: true
gcube-dev-legacy-security-key:
external: true
@ -26,17 +26,17 @@ services:
- {{ resource_manager_docker_network }}
- {{ resource_manager_haproxy_public_net }}
secrets:
- source: ghn-config-{{ scope_name }}
- source: {{ service_prefix }}-ghn-config-{{ scope_name }}
target: /home/gcube/gCore/config/GHNConfig.xml
uid: "333"
gid: "333"
mode: 0440
- source: jndi-config-{{ scope_name }}
- source: {{ service_prefix }}-jndi-config-{{ scope_name }}
target: /home/gcube/gCore/{{ config_dir }}/jndi-config.xml
uid: "333"
gid: "333"
mode: 0444
- source: server-config-{{ scope_name }}
- source: {{ service_prefix }}-server-config-{{ scope_name }}
target: /home/gcube/gCore/etc/globus_wsrf_core/server-config.wsdd
uid: "333"
gid: "333"