Skip to content

Commit

Permalink
Fix recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Mar 4, 2024
1 parent fb40b10 commit fa32e34
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions artifacts/k8s_galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
environment:
KUBECONFIG: /etc/kubernetes/admin.conf

- name: Create flink K8s resources file
- name: Create galaxy helm chart values file
copy:
dest: /opt/galaxy_values.yaml
mode: '644'
Expand All @@ -85,11 +85,21 @@
brand: IM Deployed Galaxy K8s Cluster
- name: Deploy Galaxy
command: helm install --create-namespace -n {{ NAMESPACE }} my-galaxy . --timeout 10m -f /opt/galaxy_values.yaml
command: helm install --create-namespace -n {{ NAMESPACE }} galaxy . --timeout 15m -f /opt/galaxy_values.yaml
args:
chdir: /opt/galaxy-helm/galaxy
environment:
KUBECONFIG: /etc/kubernetes/admin.conf
ignore_errors: true
register: helm_install

- name: Undeploy galaxy app
command: helm uninstall --namespace {{ NAMESPACE }} galaxy
when: helm_install is failed

- fail:
msg: "Error installing galaxy helm chat"
when: helm_install is failed

- name: Wait a bit for pods to start
pause:
Expand Down

0 comments on commit fa32e34

Please sign in to comment.