From 72759850929ea6b3f1ebc6d4e584f450f70b2471 Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Wed, 26 Jun 2019 13:51:46 -0400 Subject: 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 --- kubernetes/appc/charts/appc-ansible-server/templates/pv.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kubernetes/appc/charts/appc-ansible-server/templates/pv.yaml') 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}} -- cgit 1.2.3-korg