Peter Kurfer
0ac1d722a3
All checks were successful
continuous-integration/drone/push Build is passing
39 lines
No EOL
1 KiB
YAML
39 lines
No EOL
1 KiB
YAML
---
|
|
- name: Create NextCloud namespace
|
|
kubernetes.core.k8s:
|
|
name: nextcloud
|
|
api_version: v1
|
|
kind: Namespace
|
|
state: present
|
|
definition:
|
|
metadata:
|
|
labels:
|
|
prometheus: default
|
|
|
|
- name: Add KeyDB chart repo
|
|
kubernetes.core.helm_repository:
|
|
name: enapter
|
|
repo_url: https://enapter.github.io/charts/
|
|
|
|
- name: Add NextCloud chart repo
|
|
kubernetes.core.helm_repository:
|
|
name: nextcloud
|
|
repo_url: https://nextcloud.github.io/helm/
|
|
|
|
- name: Deploy KeyDB chart
|
|
kubernetes.core.helm:
|
|
name: nextcloud-keydb
|
|
chart_ref: enapter/keydb
|
|
release_namespace: nextcloud
|
|
chart_version: "0.48.0"
|
|
update_repo_cache: true
|
|
release_values: "{{ lookup('template', 'values.nextcloud-keydb.yml.j2') | from_yaml }}"
|
|
|
|
- name: Deploy NextCloud chart
|
|
kubernetes.core.helm:
|
|
name: nextcloud
|
|
chart_ref: nextcloud/nextcloud
|
|
release_namespace: nextcloud
|
|
chart_version: "4.4.0"
|
|
update_repo_cache: true
|
|
release_values: "{{ lookup('template', 'values.nextcloud.yml.j2') | from_yaml }}" |