From 4469e604cb9d3d14d3879435efd2eadfa0eee5a3 Mon Sep 17 00:00:00 2001 From: Oliver Walsh Date: Fri, 13 Dec 2024 17:16:04 +0000 Subject: [PATCH] Use /var for hpp --- ansible/ocp_cnv.yaml | 11 ----------- ansible/templates/ai/hpp/hpp.yml.j2 | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/ansible/ocp_cnv.yaml b/ansible/ocp_cnv.yaml index a7e3ca53..56add780 100644 --- a/ansible/ocp_cnv.yaml +++ b/ansible/ocp_cnv.yaml @@ -110,17 +110,6 @@ state: directory mode: '0755' - - name: Create HPP directory on OCP nodes # (hacky, but fast) - shell: > - {% raw %} - for worker in $(oc get nodes -o name); do - oc debug $worker -T -- chroot /host sh -c "mkdir -p /var/hpp" - done - {% endraw %} - environment: - PATH: "{{ oc_env_path }}" - KUBECONFIG: "{{ kubeconfig }}" - - name: Create HPP CR template: src: ai/hpp/hpp.yml.j2 diff --git a/ansible/templates/ai/hpp/hpp.yml.j2 b/ansible/templates/ai/hpp/hpp.yml.j2 index f228690e..2911b970 100644 --- a/ansible/templates/ai/hpp/hpp.yml.j2 +++ b/ansible/templates/ai/hpp/hpp.yml.j2 @@ -6,7 +6,7 @@ spec: imagePullPolicy: IfNotPresent storagePools: - name: hpp-pool - path: "/var/hpp" + path: "/var" workload: nodeSelector: kubernetes.io/os: linux