summaryrefslogtreecommitdiffstats
path: root/ansible/roles/k8s-persistent-volume/defaults/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/k8s-persistent-volume/defaults/main.yml')
-rw-r--r--ansible/roles/k8s-persistent-volume/defaults/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/k8s-persistent-volume/defaults/main.yml b/ansible/roles/k8s-persistent-volume/defaults/main.yml
index 5260db11..d1a2b69c 100644
--- a/ansible/roles/k8s-persistent-volume/defaults/main.yml
+++ b/ansible/roles/k8s-persistent-volume/defaults/main.yml
@@ -3,3 +3,5 @@ k8s_volumes:
- name: kube-prometheus
capacity: "6Gi"
path_prefix: "{{ nfs_mount_path }}"
+ owner: 1000 # derived from prometheus.prometheusSpec.securityContext.runAsUser
+ group: 2000 # derived from prometheus.prometheusSpec.securityContext.fsGroup