From dd6c34211c5ec46c1b438bd576ba00ede649da6e Mon Sep 17 00:00:00 2001 From: Nicklas Wallgren Date: Sun, 17 Nov 2019 17:43:40 +0100 Subject: [PATCH] Fixed issue with grafana persistence storage on k3s --- base_operator_stack.jsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_operator_stack.jsonnet b/base_operator_stack.jsonnet index f3acb98..2e6dad9 100644 --- a/base_operator_stack.jsonnet +++ b/base_operator_stack.jsonnet @@ -114,7 +114,7 @@ local utils = import 'utils.libsonnet'; pvc.new() + pvc.mixin.metadata.withNamespace($._config.namespace) + pvc.mixin.metadata.withName('grafana-storage') + - pvc.mixin.spec.withAccessModes('ReadWriteMany') + + pvc.mixin.spec.withAccessModes('ReadWriteOnce') + pvc.mixin.spec.resources.withRequests({ storage: '2Gi' }), } else {},