Skip to content
Snippets Groups Projects
Verified Commit 4c1877c5 authored by Varac's avatar Varac
Browse files

Migrate applyHelmfiles() to master

Closes: #71
parent 5c4f78b8
No related branches found
No related tags found
No related merge requests found
......@@ -78,8 +78,6 @@
- name: Configure Keycloak secret
# realm.yml got generated by:
# kubectl create secret generic realm-secret --from-file=realm.json --dry-run -o yaml > realm.yml
tags:
- tmp
k8s:
state: present
namespace: default
......@@ -101,11 +99,12 @@
- /oas/config/values/apps/keycloak.yaml
- name: Apply helmfiles
tags:
- tmp
environment:
- KEYCLOAK_PASSWORD: "{{ keycloak_password }}"
command: 'oas_control /usr/local/bin/control applyHelmfiles'
register: applyHelmfiles
- debug: var=applyHelmfiles.stdout
command: '/usr/local/bin/helmfile -b /snap/bin/helm -e oas -f /oas/source/repos/helmfiles/helmfile.d/ apply'
- name: Fetch /oas/logs/rke.log from cluster
fetch:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment