Git Product home page Git Product logo

helm-chart's Introduction

Community-maintained. This project is not maintained by the Directus Core Team, but by our wider community. Interested in taking it on? Get in touch!

Directus Community Helm Charts

This is the Community Helm Charts repository for Directus, the open data platform for headless content management.

Usage

To install the Directus Helm charts, you need to add the following repository:

helm repo add directus https://directus-labs.github.io/helm-chart/

Documentation

Chart documentation is found in Directus directory.

helm-chart's People

Contributors

meezaan avatar mikkeschiren avatar phazonoverload avatar xontab avatar yckwan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

helm-chart's Issues

Extra volume

I want to load the Oracle Driver and Oracle Wallet credential, but it seems like we are missing it

New helm chart

While waiting to learn the future of this community chart, which we want to contribute to, we created our own chart, based on this, with some fixes and more configuration options.

You can find this chart here:
https://github.com/digitalist-se/directus-helm-chart

Our hope is to contribute back to this chart if we get permission to do so. It's better with one great chart, then several random companies building their own.

"KEY" Environment Variable is missing.

您好,我按照部署命令安装,日志如下:

13:40:02 ✨ Initializing bootstrap...
13:40:02 ✨ Installing Directus system tables...
13:40:03 ✨ Running migrations...
13:40:03 ✨ Applying Remove Collection Foreign Keys...
13:40:04 ✨ Applying Remove System Relations...
13:40:04 ✨ Applying Remove System Collections...
13:40:04 ✨ Applying Remove System Fields...
13:40:04 ✨ Applying Add Cascade System Relations...
13:40:07 ✨ Applying Change Webhook URL Type...
13:40:07 ✨ Applying Add Relations Sort Field...
13:40:07 ✨ Applying Remove Locked Fields...
13:40:07 ✨ Applying Webhooks Collections Text...
13:40:07 ✨ Applying Add Refresh Interval...
13:40:07 ✨ Applying Make Filesize Nullable...
13:40:08 ✨ Applying Add Collections Accountability...
13:40:08 ✨ Applying Remove Files Interface...
13:40:08 ✨ Applying Rename Interfaces...
13:40:08 ✨ Applying Restructure Relations...
13:40:08 ✨ Applying Add Foreign Key Constraints...
13:40:08 ✨ Applying Add System Fk Triggers...
13:40:09 ✨ Applying Add Collections Icon Color...
13:40:10 ✨ Applying Add Insights...
13:40:10 ✨ Applying Add Deep Clone Config...
13:40:10 ✨ Applying Change Filesize Bigint...
13:40:10 ✨ Applying Add Conditions to Fields...
13:40:10 ✨ Applying Add Default Folder...
13:40:10 ✨ Applying Replace Groups...
13:40:10 ✨ Applying Add Required to Fields...
13:40:11 ✨ Applying Update Groups...
13:40:11 ✨ Applying Change Image Metadata Structure...
13:40:11 ✨ Applying Add Geometry Config...
13:40:11 ✨ Applying Remove Limit Column...
13:40:11 ✨ Applying Add Auth Provider...
13:40:11 ✨ Applying Webhooks Collections Not Null...
13:40:11 ✨ Applying Move Module Setup...
13:40:11 ✨ Applying Webhooks URL Not Null...
13:40:12 ✨ Applying Add Collection Organization...
13:40:12 ✨ Applying Replace Fields Group...
13:40:12 ✨ Applying Replace M2M Interface...
13:40:12 ✨ Applying Rename Login Action...
13:40:12 ✨ Applying Update Presets...
13:40:12 ✨ Applying Add Auth Data...
13:40:12 ✨ Applying Add Webhook Headers...
13:40:12 ✨ Applying Set Unique to User Token...
13:40:13 ✨ Applying Update Special Geometry...
13:40:13 ✨ Applying Remove Collections Listing...
13:40:13 ✨ Applying Add Notifications...
13:40:13 ✨ Applying Add Shares...
13:40:13 ✨ Applying Add Project Descriptor...
13:40:13 ✨ Setting up first admin role...
13:40:13 ✨ Adding first admin user...
13:40:13 ✨ No admin email provided. Defaulting to "[email protected]"
13:40:13 ✨ No admin password provided. Defaulting to "4SUTtqq8SSjV"
13:40:14 ✨ Done
npm notice
npm notice New major version of npm available! 8.1.2 -> 9.1.3
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.1.3>
npm notice Run `npm install -g [email protected]` to update!
npm notice
13:40:16 🚨 "KEY" Environment Variable is missing.

Data Model orchestration

I'm trying to deploy directus as part of an automatic CI/CD pipeline (with terraform) so that instances can be brought up and down automatically.

Ideally, I'd like to synchronize directus's snapshot so that it can be instantiated from a github repo. I'm thinking of adding some sidecars such as git-sync and another sidecar that runs npx directus schema snapshot --yes ./snapshot.yaml periodically to dump the current schema so that it can be picked up by git-sync and uploaded to github.

So all that needs to be done to the chart for that part is to add the ability to add sidecars to the deployment.


But the second part is how to apply the snapshot to directus. The obvious answer is to use an initcontainer and to mount the snapshot as a config map, but it would need to be careful to not overwrite changes that a user makes through the UI.

That leads me to think that there is room for an extension that synchronizes the schema with a local file

  • Listen to data model change events -> write snapshot to file
    • (I don't see data model changes in the events listed 😥)
  • Watch for file change events -> apply snapshot
    • (Can use kiwigrid/k8s-sidecar with REQ_URL and the extension could have a custom endpoint to do the apply)

Then you'd use git-sync to sync the file with github.

I'm wondering if anyone else has a similar use case?

tl;dr - looking for a robust way to sync the directus data model with git

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.