<-- Back

How to access enterprise file share storage in Mendix Private Cloud applications

Introduction

This article covers the available approaches for accessing enterprise file share storage, such as a Server Message Block (SMB) file share, from a Mendix application deployed on Private Cloud in Hybrid connected mode. Direct Persistent Volume Claim (PVC) mounting is not supported in Mendix Private Cloud currently.

Environment

Applications hosted in Mendix on Kubernetes

Instructions/Procedure

To access enterprise file share storage from a Private Cloud application, follow one of these approaches:

  1. Use community-supported Marketplace module: FileShareConnector

    Note: This module is community-supported and is not maintained by Mendix Support. It does not natively enforce the use of Service Accounts (SA), which presents a security concern in environments that require controlled credential management.

  2. Implement a custom Java action that enforces SA usage. Refer to the community forum approach: Getting file from SMB share

  3. Create a REST API wrapper

  • Mount SMB share in cluster namespace

  • Use SA from secret

  • Expose REST API to read or write to the files

  • Call REST API from within the Mendix application to perform required tasks

Outcome

Upon completion of one of these approaches, the Private Cloud application is able to access enterprise file share storage without directly mounting a PVC.

Internal information related

269593

Additional information

Marketplace Module: FileShareConnector

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.