Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template / Add directus #503

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions services/directus/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
apiVersion: application.kubero.dev/v1alpha1
kind: KuberoApp
metadata:
name: directus
annotations:
kubero.dev/template.architecture: "[]"
kubero.dev/template.description: "The flexible backend for all your projects. Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more."
kubero.dev/template.icon: "https://avatars.githubusercontent.com/u/15967950"
kubero.dev/template.installation: ""
kubero.dev/template.links: "[]"
kubero.dev/template.screenshots: "[]"
kubero.dev/template.source: "https://github.com/directus/directus"
kubero.dev/template.tags: "['database','cms','api']"
kubero.dev/template.title: "Directus"
kubero.dev/template.website: "https://directus.io/"
labels:
manager: kubero
spec:
name: directus
deploymentstrategy: docker
envVars:
- name: ADMIN_EMAIL
value: [email protected]
- name: ADMIN_PASSWORD
value: example
- name: DB_CLIENT
value: sqlite3
- name: DB_FILENAME
value: /directus/database/data.db
- name: WEBSOCKETS_ENABLED
value: "true"
extraVolumes:
- accessMode: ReadWriteOnce
accessModes:
- ReadWriteOnce
emptyDir: false
mountPath: /directus/database
name: directus-db-volume
size: 1Gi
storageClass: standard
- accessMode: ReadWriteOnce
accessModes:
- ReadWriteOnce
emptyDir: false
mountPath: /directus/uploads
name: directus-uploads-volume
size: 1Gi
storageClass: standard
- accessMode: ReadWriteOnce
accessModes:
- ReadWriteOnce
emptyDir: false
mountPath: /directus/extensions
name: directus-extensions-volume
size: 1Gi
storageClass: standard
- accessMode: ReadWriteOnce
accessModes:
- ReadWriteOnce
emptyDir: false
mountPath: /directus/templates
name: directus-templates-volume
size: 1Gi
storageClass: standard
cronjobs: []
addons: []
web:
replicaCount: 1
worker:
replicaCount: 0
image:
containerPort: "8055"
pullPolicy: Always
repository: directus/directus
tag: "11"