
Automatic merge from submit-queue Fix the way addon-manager handles non-namespaced objects Fixes #28451 cc @wojtek-t
20 lines
416 B
YAML
20 lines
416 B
YAML
{% set pd_prefix = pillar.get('master_name', '') -%}
|
|
{% set pd_name = pd_prefix + '-influxdb-pd' -%}
|
|
|
|
kind: PersistentVolume
|
|
apiVersion: v1
|
|
metadata:
|
|
name: influxdb-pv
|
|
labels:
|
|
kubernetes.io/cluster-service: "true"
|
|
spec:
|
|
capacity:
|
|
storage: 10Gi
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
- ReadOnlyMany
|
|
gcePersistentDisk:
|
|
pdName: {{ pd_name }}
|
|
fsType: ext4
|
|
persistentVolumeReclaimPolicy: Delete
|