Skip to content

Commit

Permalink
Add brand input
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Mar 5, 2024
1 parent f494ad4 commit 355f5d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion artifacts/k8s_galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
vars:
NAMESPACE: galaxy
admin_users: "{{ galaxy_admin_users | default('[email protected]') }}"
brand: "{{ galaxy_brand | default('IM Deployed Galaxy K8s Cluster') }}"
tasks:
- name: Install Git
package: name=git
Expand Down Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion templates/k8s_galaxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: '[email protected]'
galaxy_brand:
type: string
description: Brand for the Galaxy instance
default: 'IM Deployed Galaxy K8s Cluster'

# Restrict some K8s input values

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 355f5d9

Please sign in to comment.