Commit Graph
171 Commits
Author SHA1 Message Date
Janik von Rotz 4859672abe feat: remove pass integration and add kubectx requirement
- Remove all pass-related functions for kubeconfig management
- Add kubectx to required tools in README
- Update task help to reflect removed pass functions
- Keep only KeePass integration for kubeconfig management
2026-01-06 10:01:42 +01:00
Janik von Rotz 00e5cdfbbc feat(taskfileBuild): add support for additional environment variables
- Introduce `additionalEnvs` parameter to allow setting custom environment variables in the taskfileBuild chart
- Update ConfigMap template to include additional environment variables
- Add example usage in test-values.yaml
- Update README.md with documentation for the new `additionalEnvs` parameter
- Rename test directories from `test/` to `test_values/` for clarity
- Update documentation and task scripts to reflect the new directory structure
2025-11-16 17:15:06 +01:00
Janik von Rotz 0c20e44e01 feat(docs): replace haproxy-ingress with ingress-nginx across documentation and configurations
- Update all documentation guides (Exoscale, Infomaniak, K3s, Development, Backup) to use ingress-nginx instead of haproxy-ingress
- Replace haproxy-ingress references in task commands and scripts with ingress-nginx equivalents
- Update Helm chart configurations (hugo, nextcloud, odoo, taskfileBuild, vuepress) to use nginx ingress class
- Modify ingress templates to include nginx-specific annotations and TLS configurations
- Add ingress-nginx as an external chart and remove haproxy-ingress related code
- Update Odoo chart to support python package installation and storage class configuration
- Adjust cert-manager cluster issuers to use nginx ingress class name
2025-11-13 21:38:51 +01:00
Janik von Rotz b5f2eb7952 feat(helm): replace ingress-nginx with haproxy-ingress across all charts and documentation
- Switch default ingress class from `nginx` to `haproxy` in all chart values files
- Update ingress templates to remove nginx-specific configurations and annotations
- Replace all references to `ingress-nginx` with `haproxy-ingress` in documentation and task scripts
- Remove nginx-related helper functions and config maps from chart templates
- Add Exoscale deployment guide and update cluster issuer templates to use haproxy ingress class
- Update task script commands and forwarding functions to use haproxy-ingress
- Remove ingress-nginx repository and installation logic from task helpers
- Adjust backup and development documentation to reflect haproxy-ingress usage
- Clean up obsolete nginx-specific parameters and examples throughout the project
2025-11-13 09:56:12 +01:00
Janik von Rotz 5d2f9a7745 feat(nextcloud): enhance ingress configuration and improve deployment stability
- Add support for custom domain in ingress with TLS configuration
- Configure proxy headers via ConfigMap for nginx ingress controller
- Update service and ingress resource names for consistency
- Refactor job template to use configMapRef and improve env handling
- Adjust probes and environment variables in deployment template
- Update documentation and test configurations for Nextcloud chart
- Fix port-forward command and test credentials in task script
2025-11-11 17:06:13 +01:00
Janik von Rotz 1788a25ea7 feat(nextcloud): remove hardcoded hsts header and improve security documentation
- Remove hardcoded Strict-Transport-Security header from ingress template
- Update README to recommend configuring security headers at ingress controller level
- Improve documentation regarding ingress-nginx snippet directive limitations
- Enhance context alias detection in task script with better error handling
2025-11-11 14:21:20 +01:00
Janik von Rotz 4c7aeddc7f feat(nextcloud): implement nextcloud helm chart with cnpg integration and backup support
- Add Nextcloud Helm chart with deployment, service, ingress, pvc templates
- Integrate CloudNativePG for database management
- Implement K8up backup configuration with scheduled backups
- Add init container to wait for database readiness
- Configure Nextcloud trusted domains via configmap
- Include job to fix missing database indices
- Update chart metadata with icon and app version
- Enhance documentation with updated parameter tables and secret examples
- Add test setup and port forwarding commands
- Standardize image field defaults across charts
2025-11-11 14:02:59 +01:00
Janik von Rotz b96de973ca feat: prepare nextcloud chart 2025-11-11 14:02:59 +01:00
Janik von Rotz a78e2f1f6c feat(helm): update chart package revisions and index metadata
- Regenerate all Helm chart packages with updated timestamps and digests
- Update index.yaml with new chart creation dates, digests and generated timestamp
- Exclude 'test' directory from chart listing in task script
2025-11-06 13:56:54 +01:00
Janik von Rotz e866fbac47 feat(test): add odoo test values file and update chart installation path
- Create new test values file for odoo chart with kind deployment configuration
- Include ingress host, init login, addons git repos and staging settings
- Update test-chart-odoo function to use test values file instead of default values file
2025-11-06 13:53:33 +01:00
Janik von Rotz bda11ee865 feat(docs): restructure documentation and improve task script
- Move deployment guides to separate files (APPUiO.md, Infomaniak.md, K3s.md)
- Create dedicated Development.md and Backup.md documentation
- Extract troubleshooting content to Troubleshooting.md
- Rewrite task script with improved bash practices and consistent formatting
- Update odoo chart documentation with complete secret setup instructions
- Modify backup.yaml to include ingress host in S3 bucket path
- Refactor task script functions to use lowercase variable names and proper quoting
- Remove obsolete minikube commands and simplify kind cluster management
- Improve hosts setup in task script with consistent formatting
- Update README.md to reference new documentation files
2025-11-04 20:14:38 +01:00
Janik von Rotz f4090696f5 feat(helm): add k8up installation function to task script
- Add `install-k8up` function to task script
- Use consistent formatting with other installation functions
- Install k8up-io/k8up chart in k8up namespace
2025-11-03 17:19:44 +01:00
Janik von Rotz 801010275d feat(helm): add k8up s3 configuration and update task script
- Add `k8up.endpoint` and `k8up.bucket` parameters to values.yaml
- Update backup.yaml to use configurable S3 endpoint and bucket
- Rename `load-images` task to `load-image` and accept image tag as argument
- Improve hosts setup in task script with consistent formatting
- Update README.md with additional newlines and K8up parameter documentation
2025-11-03 17:10:51 +01:00
Janik von Rotz 734fecdec3 feat(restic): add restic local configuration and update hosts setup
- Add new values file for restic.knd.local with ingress and staging config
- Update task script to include restic host entries in /etc/hosts
- Reorder and group host entries logically in setup-hosts function
- Fix duplicate odoo.local entry in hosts setup
- Ensure consistent formatting and spacing in task script
2025-10-24 14:44:37 +02:00
Janik von Rotz 2a73c3087b feat(helm): update chart packages and improve packaging logic
- Package all Helm charts dynamically using loop in task script
- Update binary chart files and index metadata
- Add new charts: deploymentUpdater, forgejoRunner, nextcloud
- Regenerate index.yaml with updated timestamps and digests
- Improve code consistency in task functions (lint, package-repo)
2025-10-21 20:30:47 +02:00
Janik von Rotz 4219ecdc70 feat(odoo): enhance staging environment setup and improve documentation
- Refactor staging database initialization with improved readiness checks and neutralization
- Copy filestore data during staging database clone process
- Update environment variables: replace `ODOO_DATABASE` with `DB_FILTER` in deployments
- Adjust PVC naming for clarity (`data-odoo` → `data-odoo-main`)
- Modify ingress configuration to properly enable staging ingress when enabled
- Update README installation steps for better clarity and ordering
- Add `forward-odoo-staging` task and update port-forward messages
- Grant CREATEDB privilege to CNPG owner user via postInitSQL
- Remove unused `PROXY_MODE` and `LIST_DB` from ConfigMap
2025-10-21 12:19:47 +02:00
Janik von Rotz d5ac05e215 feat(odoo): add staging environment support with dedicated deployment, services, and ingress
- Introduce staging deployment with database cloning and neutralization
- Add staging-specific PVC, services, and ingress configuration
- Update Odoo image version to 18.0.20251008
- Include staging parameters in values.yaml and values-staging.yaml
- Adjust task script to include staging host entry
- Enhance main deployment with hook annotations and volume naming consistency
2025-10-20 17:33:07 +02:00
Janik von Rotz bf6b1814cb feat(task): add wait for ingress-nginx deployment in test-chart-odoo 2025-10-17 13:03:46 +02:00
Janik von Rotz 63ccc2952e refactor(task): remove redundant publish-repo function and integrate logic into build-vitepress 2025-10-17 09:29:08 +02:00
Janik von Rotz 70899ede5c feat(helm): update package revisions and add KeePass support for kubeconfig and dotenv management 2025-10-17 09:25:36 +02:00
Janik von Rotz cd77b3ba20 feat(nextcloud): add Helm chart for Nextcloud deployment with PostgreSQL and ingress support 2025-10-16 20:08:52 +02:00
Janik von Rotz e76ea417b6 feat(docs): migrate VitePress to TypeScript and add Mermaid support
- Convert VitePress config and theme files from .mjs to .ts
- Add local search functionality to VitePress
- Integrate Mermaid diagram support via vitepress-mermaid-preview
- Update dependencies including VitePress to v2.0.0-alpha.12, Vue 3.5.21, and Vite 7.1.7
- Update Odoo image tag in README to mintsystem/odoo:18.0.20250909
- Rename initLogin to empty string in Odoo values
- Update task script command names for consistency
2025-09-24 14:15:49 +02:00
Janik von Rotz def1ba88f4 feat(task): rename context to cluster and add kind/alias to values files 2025-09-17 09:41:33 +02:00
Janik von Rotz b486445f3a feat(odoo): remove deprecated PostgreSQL subchart and Bitnami repository references 2025-09-15 14:57:45 +02:00
Janik von Rotz 66f7cb4be0 feat(clusterIssuer): standardize naming and add values file
feat(forgejoRunner): add values file and improve documentation

feat(hugo): add values file and update ingress parameters

feat(odoo): standardize parameter descriptions

feat(vuepress): add values file and update ingress parameters

refactor(task): simplify ingress-nginx installation and manifest templating

chore: remove values.yaml from .gitignore
2025-09-11 09:47:14 +02:00
Mint Bot 46c730d2e6 fix(clusterIssuer): update secret key name to api-token and integrate Infomaniak webhook installation 2025-09-10 18:15:57 +02:00
Mint Bot 1ca0af738b fix(clusterIssuer): correct capitalization and improve install/upgrade functions for clusterIssuer 2025-09-10 18:06:07 +02:00
Mint Bot d90f342723 docs(clusterIssuer): add Infomaniak webhook test instructions to README and remove duplicate test function from task file 2025-09-10 17:46:42 +02:00
Mint Bot e7a51a4603 feat(task): support optional values file parameter in helm commands and update chart configurations
- Update `install-chart`, `upgrade-release`, and `template-manifest` to accept optional values file parameter
- Modify help text to reflect new parameter usage
- Adjust function logic to pass values file to helm commands
- Remove deprecated `install-postgresql` and `upgrade-postgresql` functions
- Update `list-charts` to exclude `values` directory
- Add new context `jvr` to `list-context`
- Rename and reorganize values files to follow new naming convention
- Remove outdated `values.loc.yaml`
- Update README examples to use explicit values file paths
- Simplify odoo/Chart.yaml by removing unused postgresql dependency
- Update odoo chart README and values to set ingress.host empty by default
2025-09-10 09:29:20 +02:00
Mint Bot 4f2df6e8b9 refactor(task): reorganize task functions and remove deprecated commands
- Remove `template-dotenv` step from test workflow
- Rename `list-chart` to `list-charts` and improve logic to dynamically detect charts
- Introduce `list-external-charts` for external Helm charts
- Reorder functions: move docs-related functions lower in file
- Update `docs` and `lint` functions to use `list-charts` dynamically
- Adjust `install-chart`, `upgrade-release`, and `template-manifest` to use `list-charts` for validation
- Remove outdated chart entries and redundant functions (`forward-hugo`)
2025-09-10 08:34:57 +02:00
Mint Bot 52a5ef3d3d feat(vuepress): add new Helm chart for deploying Vuepress site 2025-09-09 18:30:48 +02:00
Mint Bot 74ee4e66a6 fix(task): remove values.yaml cleanup from test-chart-odoo function 2025-09-08 09:57:19 +02:00
Mint Bot 956a7439e3 feat(secrets): migrate to context-specific values files and remove deprecated S3 chart 2025-09-08 09:52:33 +02:00
Mint Bot cf90751921 refactor(task): remove unused NAMESPACE variable and update helm command output messages 2025-08-26 11:20:27 +02:00
Mint Bot 5af48f48ac feat(s3): add S3 chart for managing S3 backend credentials 2025-08-22 18:49:53 +02:00
Mint Bot 7f33c83ca3 docs(readme): update setup instructions and tooling requirements
- Add kubctx to required tools
- Improve consistency in command descriptions
- Reorganize deployment sections and remove duplicates
- Add missing context switching instructions for clusters
- Fix typos and formatting issues
- Streamline helm repository and chart deployment steps
2025-08-22 14:01:13 +02:00
Mint Bot 5812ea2ad7 feat(docs): rename install to install-vitepress for clarity 2025-08-21 17:15:43 +02:00
Mint Bot cef1b47b9b feat(config): add RELEASE_NAME environment variable and update template values
- Add RELEASE_NAME to .env.template for consistent release naming
- Include RELEASE_NAME in info output for better context visibility
- Export NAMESPACE in template-values function to ensure availability
- Update values.chk.yaml.template to use $NAMESPACE in ingress host
- Fix helm upgrade command formatting in upgrade-release function
2025-08-21 17:13:02 +02:00
Mint Bot 16a595da4b feat(task): simplify release name handling and improve output formatting
- Removed redundant second parameter for `install-chart`, `upgrade-release`, and `template-manifest` functions
- Standardized output formatting in `info` function with consistent naming
- Improved log messages to include namespace context
- Simplified release name assignment by always using the first argument and converting to lowercase
2025-08-21 08:34:17 +02:00
Mint Bot b00b558ed2 feat(config): add NAMESPACE and CUSTOM_DOMAIN environment variables with template updates
- Added `NAMESPACE` and `CUSTOM_DOMAIN` to `.env.template` and default initialization
- Updated `CUSTOM_DOMAIN` export in `template-values` function
- Enhanced various command functions (`install-chart`, `upgrade-release`, `uninstall-release`, `template-manifest`) to support release name override and namespace handling
- Added `CUSTOM_DOMAIN` to `values.chk.yaml.template` for dynamic ingress configuration
- Improved help text consistency for command arguments (using `[release]` instead of `[ns]`)
2025-08-20 21:14:58 +02:00
Mint Bot 8dc4451d46 chore(ci): update test workflow and task functions
- Rename tasks in test.yml to be more descriptive: 'Run task clone taskfile' -> 'Clone taskfile', 'Run task template .env' -> 'Template .env', 'Run task test-k8s' -> 'Test chart odoo'
- Update task function names from test-k8s to test-chart-odoo and test-clusterIssuer to test-chart-clusterIssuer for consistency
- Update help text and function definitions accordingly
- Modify test-chart-odoo to install ingress-nginx via install-chart instead of direct call
2025-08-20 10:11:52 +02:00
Mint Bot a1dcec5cef feat(install): add support for hugo chart and forgejo instance token configuration 2025-08-13 18:03:10 +02:00
Mint Bot afb2319a7c feat(forgejoRunner): reduce replicas and improve init container configuration
- Reduced the number of replicas from 2 to 1 for forgejo-runner deployment
- Renamed init container from `runner-config-generation` to `init`
- Updated init container command to use `sh -c` with multi-step script for better readability and control
- Added informative echo messages during runner registration and config generation
- Properly quoted environment variable references in template
- Removed unused `FORGEJO_INSTANCE_URL` environment variable
- Updated task script to correctly reference chart name during helm upgrade and uninstall
- Added `get-secrets` support for forgejoRunner to retrieve forgejoInstanceToken
- Improved output formatting in get-secrets function with proper labels
2025-08-13 15:22:44 +02:00
Mint Bot 242da69ba0 feat(charts): add forgejoRunner chart and related configurations 2025-08-13 14:57:57 +02:00
Mint Bot 634a3f0a49 feat(odoo): add K8up backup support and Helm chart integration 2025-08-13 10:13:30 +02:00
Mint Bot f84063d3f5 feat(odoo): add cloudnative-pg as a dependency and wait for deployment availability 2025-08-13 09:54:44 +02:00
Mint Bot 08cf68d239 feat(task): add load-images function to load Docker images into kind cluster 2025-08-13 09:43:15 +02:00
Mint Bot 227773ed5e feat(k8s): install cnpg chart in test-k8s workflow 2025-08-13 08:48:32 +02:00
Mint Bot b5b349c685 feat(odoo): migrate from Bitnami PostgreSQL to CloudNativePG and update configurations
- Replace Bitnami PostgreSQL with CloudNativePG for Odoo deployment
- Add new `cnpg` configuration section in `values.yaml` and template files
- Update environment variables in `.env.template` by removing obsolete `POSTGRES_PASSWORD` and `OC_PROJECT`
- Adjust task functions to support new naming conventions and Kind cluster checks
- Update documentation in READMEs for consistency and clarity
- Fix duplicate `GITHUB_USERNAME` in ConfigMap template
- Update log and secret retrieval commands for new PostgreSQL setup
2025-08-12 22:09:28 +02:00
Janik von Rotz 1c9615fcb2 fix(kube-config): ensure target config file exists before symlinking 2025-08-09 17:31:23 +02:00