luisarizmendi / ocp-libvirt-ipi-role

Ansible Role to deploy OpenShift 4 on a CentOS 7 or Fedora KVM using libvirt IPI
31 stars 14 forks source link

Add NAMESPACE_NFS to env definition #11

Closed kenmoini closed 3 years ago

kenmoini commented 3 years ago

Hey gang - great provisioner here. I just utilized this to deploy NFS StorageClass & backing for the container registry and outside of a hiccup, it worked very well.

Issue I had was that the /files/post-install-scripts/nfs-autoprovisioner/template.yaml kept failing when used with the corresponding env file from /templates/nfs-autoprovisioner/ due to NAMESPACE_NFS not being defined.

I believe this is because the default value of the parameter is defined but also set as required in the template.yaml.

Defining the NAMESPACE_NFS parameter in the env file helped fix the issue!

Hope this helps, if it doesn't make sense to include feel free to close/ignore.