Merge pull request #24 from NicklasWallgren/master

Fixed issue with grafana persistence storage on k3s
This commit is contained in:
Carlos Eduardo 2019-11-18 17:04:40 -03:00 committed by GitHub
commit 2ba0bc0834
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ local utils = import 'utils.libsonnet';
pvc.new() + pvc.new() +
pvc.mixin.metadata.withNamespace($._config.namespace) + pvc.mixin.metadata.withNamespace($._config.namespace) +
pvc.mixin.metadata.withName('grafana-storage') + pvc.mixin.metadata.withName('grafana-storage') +
pvc.mixin.spec.withAccessModes('ReadWriteMany') + pvc.mixin.spec.withAccessModes('ReadWriteOnce') +
pvc.mixin.spec.resources.withRequests({ storage: '2Gi' }), pvc.mixin.spec.resources.withRequests({ storage: '2Gi' }),
} else {}, } else {},