From 355f5d90a93972d4a0bcc73e5c8e52ff21e16b75 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Tue, 5 Mar 2024 11:25:08 +0100 Subject: [PATCH] Add brand input --- artifacts/k8s_galaxy.yml | 3 ++- templates/k8s_galaxy.yaml | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/artifacts/k8s_galaxy.yml b/artifacts/k8s_galaxy.yml index d02ef78..c859832 100644 --- a/artifacts/k8s_galaxy.yml +++ b/artifacts/k8s_galaxy.yml @@ -5,6 +5,7 @@ vars: NAMESPACE: galaxy admin_users: "{{ galaxy_admin_users | default('admin@galaxy.com') }}" + brand: "{{ galaxy_brand | default('IM Deployed Galaxy K8s Cluster') }}" tasks: - name: Install Git package: name=git @@ -82,7 +83,7 @@ galaxy.yml: galaxy: admin_users: {{ admin_users }} - brand: IM Deployed Galaxy K8s Cluster + brand: {{ brand }} - name: Deploy Galaxy command: helm install --create-namespace -n {{ NAMESPACE }} galaxy . --timeout 15m -f /opt/galaxy_values.yaml diff --git a/templates/k8s_galaxy.yaml b/templates/k8s_galaxy.yaml index fe049fd..85a6194 100644 --- a/templates/k8s_galaxy.yaml +++ b/templates/k8s_galaxy.yaml @@ -22,6 +22,10 @@ topology_template: type: string description: Administrative users - set this to a comma-separated list of valid Galaxy users (email addresses). default: 'admin@admin.com' + galaxy_brand: + type: string + description: Brand for the Galaxy instance + default: 'IM Deployed Galaxy K8s Cluster' # Restrict some K8s input values @@ -65,7 +69,7 @@ topology_template: implementation: https://raw.githubusercontent.com/grycap/tosca/main/artifacts/k8s_galaxy.yml inputs: galaxy_admin_users: { get_input: galaxy_admin_users } - + galaxy_brand: { get_input: galaxy_brand } outputs: galaxy_endpoint: