{"id":24973300,"url":"https://github.com/bluedynamics/cdk8s-plone-example","last_synced_at":"2026-05-09T07:03:24.633Z","repository":{"id":250441760,"uuid":"831391183","full_name":"bluedynamics/cdk8s-plone-example","owner":"bluedynamics","description":"Example for a cdk8s-plone based Kubernetes manifest generation.","archived":false,"fork":false,"pushed_at":"2025-02-13T07:57:01.000Z","size":464,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-13T08:35:53.118Z","etag":null,"topics":["cdk8s","kubernetes","plone"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bluedynamics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-20T12:16:01.000Z","updated_at":"2024-08-15T17:23:27.000Z","dependencies_parsed_at":"2024-08-17T01:34:58.289Z","dependency_job_id":null,"html_url":"https://github.com/bluedynamics/cdk8s-plone-example","commit_stats":null,"previous_names":["bluedynamics/cdk8s-plone-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluedynamics%2Fcdk8s-plone-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluedynamics%2Fcdk8s-plone-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluedynamics%2Fcdk8s-plone-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluedynamics%2Fcdk8s-plone-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bluedynamics","download_url":"https://codeload.github.com/bluedynamics/cdk8s-plone-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246145089,"owners_count":20730495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cdk8s","kubernetes","plone"],"created_at":"2025-02-03T18:27:09.878Z","updated_at":"2026-05-09T07:03:19.596Z","avatar_url":"https://github.com/bluedynamics.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example: How to use cdk8s-plone\n\nThis is an example how to use the [@bluedynamics/cdk8s-plone](https://www.npmjs.com/package/@bluedynamics/cdk8s-plone) typescript package.\n\n## Preparation\n\nConfigure node like so: `nvm use lts/*`\n\nThe run `yarn install`.\n\nHave `./node_modules/.bin` in your PATH (or use `yarn run synth` below).\n\n\n## Basic usage\n\nCreate a file `.env` with the following content:\n\n```bash\n# This file contains the environment variables for the project.\n# The variables are loaded when \"cdk8s synth\" is called  file.\n\n# configure domain names\nDOMAIN_CACHED=mxplone-cached.example.com\nDOMAIN_UNCACHED=mxplone-uncached.example.com\nDOMAIN_MAINTENANCE=mxplone-maintenance.example.com\n\n# cluster-issuer-to use (to get an TLS certifcate)\nCLUSTER_ISSUER=letsencrypt-prod\n\n# configure the images to use (mxmake based!)\nPLONE_FRONTEND_IMAGE=ghcr.io/bluedynamics/mximages-plone/mx-plone-frontend:main\nPLONE_BACKEND_IMAGE=ghcr.io/bluedynamics/mximages-plone/mx-plone-backend:main\n\n# configure database settings\nDATABASE=zalando\n```\n\nGenerate with\n\n```bash\ncdk8s synth\n```\nor\n```bash\nyarn synth\n```\n\nApply with kubectl\n```bash\nkubectl apply dist/example.k8s.yaml\n```\n\n## TODO/WIP\n\n- [x] add Traefik Ingress for uncached and maintenance\n- [ ] solve namespace problem with bitnami chart (see below)\n- [ ] more configuration parameters in `.env`.\n- [ ] better documnetation\n\n## Ingress\nThe default domain is `mxplone-cached.example.com`\n\n- For local testing portforward the wanted service\n- The Ingress in the current configuration will use the HTTP cache. If you don’t want to use it, add the desired Plone service instead.\n\n## Zalando vs Bitnami\n- Both Charts are useable, but Bitnami doesnt need and operator and needs therfore no prerequisites\n- Zalando needs the CDR `postgresql.yaml` to be found here in `imports/postgresql.yaml`, could be outdated, or from the official zalando/postgres-operator github repo.\n    - [Github - Zalando](https://github.com/zalando/postgres-operator/blob/master/charts/postgres-operator/crds/postgresqls.yaml)\n- These CDRs needs to be installed BEFORE the plone-example.\n\n## Notes\n\nBitnami Helm chart at the moment needs a namespace `plone` to be present.\nThis is a bit annnoying, but can be fixed by changing the namespace passed the Helm chart in `postgres.bitnami.ts`.\n\n```bash\n\nZalandos `postgresqls.yaml` file was [downloaded from Operators 1.12.2 Tag](https://raw.githubusercontent.com/zalando/postgres-operator/v1.12.2/charts/postgres-operator/crds/postgresqls.yaml) and modified to fix it.\nThere were two kind of duplicate entries which resulted in errors generating the CRD in TypeScript: `initContainers` and `init_containers` (latter were removed), `podPriorityClassName` and `pod_priority_class_name` (latter were removed).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluedynamics%2Fcdk8s-plone-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbluedynamics%2Fcdk8s-plone-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluedynamics%2Fcdk8s-plone-example/lists"}