summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/nextcloud/tasks/main.yml4
-rw-r--r--roles/nextcloud/templates/pod-with-mariadb.yml.j22
2 files changed, 3 insertions, 3 deletions
diff --git a/roles/nextcloud/tasks/main.yml b/roles/nextcloud/tasks/main.yml
index 1b0602f5..cf710f7a 100644
--- a/roles/nextcloud/tasks/main.yml
+++ b/roles/nextcloud/tasks/main.yml
@@ -103,7 +103,7 @@
label: "{{ item.key }}"
template:
src: "pod-with-{{ item.value.database.type }}.yml.j2"
- dest: "/etc/kubernetes/manifests/{{ item.key }}.yml"
+ dest: "/etc/kubernetes/manifests/nextcloud-{{ item.key }}.yml"
mode: 0600
@@ -140,7 +140,7 @@
name: nginx/vhost
vars:
nginx_vhost:
- name: "{{ item.key }}"
+ name: "nextcloud-{{ item.key }}"
template: generic-proxy-no-buffering-with-acme
acme: true
hostnames: "{{ item.value.hostnames }}"
diff --git a/roles/nextcloud/templates/pod-with-mariadb.yml.j2 b/roles/nextcloud/templates/pod-with-mariadb.yml.j2
index cebcb2ef..dfef3810 100644
--- a/roles/nextcloud/templates/pod-with-mariadb.yml.j2
+++ b/roles/nextcloud/templates/pod-with-mariadb.yml.j2
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Pod
metadata:
- name: "{{ item.key }}"
+ name: "nextcloud-{{ item.key }}"
spec:
securityContext:
allowPrivilegeEscalation: false