summaryrefslogtreecommitdiffstats
path: root/kubernetes/appc/charts/appc-ansible-server/templates/pv.yaml
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2019-06-26 13:51:46 -0400
committerTaka Cho <takamune.cho@att.com>2019-06-26 13:53:58 -0400
commit72759850929ea6b3f1ebc6d4e584f450f70b2471 (patch)
tree2dc2b42c5caa9566222add2d89adcbd3ed415d2a /kubernetes/appc/charts/appc-ansible-server/templates/pv.yaml
parentbd63178c1c0eabafe55ac8c23b16cf73552360ce (diff)
change ansible directory ownership
move to /home/ansible to share in NFS and owned by ansible:ansible (100:101) Issue-ID: APPC-1596 Change-Id: Id2c60ccf7d8bd1d7137a26fa3561c4322b9b03d9 Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'kubernetes/appc/charts/appc-ansible-server/templates/pv.yaml')
-rw-r--r--kubernetes/appc/charts/appc-ansible-server/templates/pv.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/appc/charts/appc-ansible-server/templates/pv.yaml b/kubernetes/appc/charts/appc-ansible-server/templates/pv.yaml
index 25257eaeaf..6fef70ceb5 100644
--- a/kubernetes/appc/charts/appc-ansible-server/templates/pv.yaml
+++ b/kubernetes/appc/charts/appc-ansible-server/templates/pv.yaml
@@ -19,7 +19,7 @@
kind: PersistentVolume
apiVersion: v1
metadata:
- name: {{ include "common.fullname" $global }}-data{{$i}}
+ name: {{ include "common.fullname" $global }}-playbook{{$i}}
namespace: {{ include "common.namespace" $global }}
labels:
app: {{ include "common.fullname" $global }}
@@ -32,7 +32,7 @@ spec:
storage: {{ $global.Values.persistence.size}}
accessModes:
- {{ $global.Values.persistence.accessMode }}
- storageClassName: "{{ include "common.fullname" $global }}-data"
+ storageClassName: "{{ include "common.fullname" $global }}-playbook"
persistentVolumeReclaimPolicy: {{ $global.Values.persistence.volumeReclaimPolicy }}
hostPath:
path: {{ $global.Values.global.persistence.mountPath | default $global.Values.persistence.mountPath }}/{{ $global.Release.Name }}/{{ $global.Values.persistence.mountSubPath }}{{$i}}