Fixed issue with grafana persistence storage on k3s

This commit is contained in:
Nicklas Wallgren 2019-11-17 17:43:40 +01:00
parent f857930874
commit dd6c34211c

View File

@ -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 {},