TP-IaC-Kubernetes/roles/gitea-helm/tasks/main.yaml

15 lines
414 B
YAML

# To get the default file
# helm show values gitea-charts/gitea > values.yaml
- name: Get values
template:
src: values.yaml.j2
dest: /tmp/values.yaml
# TODO: Add a wait_for condition to test if ingress-nginx avalaible
- name: install gitea via helm
shell: |
helm repo add gitea-charts https://dl.gitea.io/charts/
helm repo update
helm install -f /tmp/values.yaml gitea gitea-charts/gitea