forgejo: update task to read in values passed to helm
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
parent
69911c5d72
commit
a7b5254c8d
1 changed files with 12 additions and 3 deletions
|
@ -1,12 +1,21 @@
|
||||||
---
|
---
|
||||||
# From git
|
- name: Generate the values.yaml from template
|
||||||
- name: Git clone stable repo on HEAD
|
ansible.builtin.template:
|
||||||
|
src: "values.yaml.j2"
|
||||||
|
dest: "/root/ocp4/openshift-apps/forgejo/helm-values.yaml"
|
||||||
|
mode: "0770"
|
||||||
|
|
||||||
|
|
||||||
|
- name: Git clone the Fedora Forgejo Helm Chart
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: "https://codeberg.org/fedora/forgejo-helm.git"
|
repo: "https://codeberg.org/fedora/forgejo-helm.git"
|
||||||
dest: /tmp/forgejo-helm_repo
|
dest: /tmp/forgejo-helm_repo
|
||||||
|
|
||||||
- name: Deploy Grafana chart from local path
|
- name: Deploy Grafana chart from local path
|
||||||
kubernetes.core.helm:
|
kubernetes.core.helm:
|
||||||
name: test
|
name: forgejo
|
||||||
|
create_namespace: true
|
||||||
chart_ref: /tmp/forgejo-helm_repo/
|
chart_ref: /tmp/forgejo-helm_repo/
|
||||||
release_namespace: forgejo
|
release_namespace: forgejo
|
||||||
|
values_files:
|
||||||
|
- "/root/ocp4/openshift-apps/forgejo/helm-values.yaml"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue