-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgalaxy_app.yml
51 lines (49 loc) · 1.36 KB
/
galaxy_app.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
- name: Setup the Galaxy application
hosts: controllers[0]
vars:
chart: cloudve/galaxy
version: 5.17.0
image: quay.io/galaxyproject/galaxy-min
tag: 24.1
job_max_cores: 1
job_max_mem: 4
environment:
KUBECONFIG: "/home/{{ ansible_user }}/.kube/config"
tasks:
- name: Create the galaxy namespace
kubernetes.core.k8s:
kind: Namespace
name: galaxy
state: present
- name: Copy the values file to the remote host
ansible.builtin.copy:
src: "{{ values_file }}"
dest: /tmp/values.yml
mode: '0644'
- name: Helm install Galaxy
kubernetes.core.helm:
name: galaxy
namespace: galaxy
chart_ref: "{{ chart }}"
chart_version: "{{ version }}"
values_files:
- /tmp/values.yml
values:
configs:
galaxy.yml:
galaxy:
admin_users: "{{ gxy_admin_users }}"
master_api_key: "{{ gxy_api_key }}"
image:
repository: "{{ image }}"
tag: "{{ tag }}"
jobs:
rules:
tpv_rules_local.yml:
destinations:
k8s:
max_cores: "{{ job_max_cores }}"
max_mem: "{{ job_max_mem }}"
# postgresql:
# galaxyDatabasePassword: galaxydbpassword