Commit Graph
100 Commits
Author SHA1 Message Date
metal3d 7e8cb57979 Fixes 2024-04-22 15:43:02 +02:00
metal3d 12814f4732 Cleanup 2024-04-22 15:36:49 +02:00
metal3d dc41826691 Back to normal 2024-04-22 15:32:39 +02:00
metal3d 6770f8176a Make pure svg calls 2024-04-22 15:29:32 +02:00
metal3d cd946b2df6 Try another thing 2024-04-22 15:20:29 +02:00
metal3d 734b0ed39d Try to embed logos 2024-04-22 15:17:28 +02:00
metal3d 78d37c4405 Ease installation 2024-04-22 13:55:53 +02:00
metal3d fd3ba6d577 Fix doc after changes in source files 2024-04-22 13:31:30 +02:00
metal3d 8ae9350d31 Add YAML keys in the comments
I eases developpers and admins to know the key to override when they
create an override file or to use `--set` argument for Helm.
2024-04-22 13:28:22 +02:00
metal3d 9621493343 Add resources in containers and values 2024-04-22 13:27:44 +02:00
metal3d f291d17aa3 Fixup documentation after changing packages 2024-04-21 16:37:20 +02:00
metal3d 9826a54187 Fix notes.txt problems
We were using a bad method to read the ingress values. It's not ensured
by using the service names + checking the "ingress" key.
2024-04-21 16:35:32 +02:00
metal3d d48fd2f911 make a better override + add more values (serviceAccount, nodeSelector...) 2024-04-21 16:34:21 +02:00
metal3d ec62a79d82 Better override list and documentation 2024-04-19 22:26:45 +02:00
metal3d 58d19cce52 Fix the chart app version 2024-04-19 22:12:09 +02:00
metal3d 3bb635a627 Add FAQ page 2024-04-19 12:11:43 +02:00
metal3d 35f464a1cb Add footnotes and search 2024-04-19 12:11:18 +02:00
metal3d 85f1b2d43c Fixes the ingress doc 2024-04-19 11:28:27 +02:00
metal3d 77e8be4e63 Container can be null
In case of deployment with "same-pod" label, the container can be not
found in the deployment.
2024-04-19 11:27:48 +02:00
metal3d 57b274e345 Fixing documentation 2024-04-19 11:17:54 +02:00
metal3d 3c743fb135 Fixup hard problems on bound volumes
Recreated the method to bind local content to configMaps with subPath.
That simplify a few how we can bound files and not only directory
content.
2024-04-19 11:13:24 +02:00
metal3d ab15614076 Use "helm" filtype first for vim modeline + tests
"helm" can be managed by vim/neovim plugins, so it's a good idea to add
it as default, then use "gotmpl.yaml".

Add basic tests...
2024-04-11 09:37:10 +02:00
metal3d c41fa22c59 Update k8s.io/api + fix changed function 2024-04-11 09:34:58 +02:00
metal3d 81ea0fbb6f fix fonts in svg, one more time... 2024-04-10 22:55:58 +02:00
metal3d 821c038206 Fix fonts 2024-04-10 22:53:32 +02:00
metal3d 19a37ace18 Better styles, logo, effects...
- Make a SVG with classes to invert the color of strokes
- Set a better logo + one vertical
2024-04-10 22:25:07 +02:00
metal3d d8bd66e66f Change license date, enhance and fix documentation 2024-04-10 14:19:07 +02:00
metal3d c780e6c2a2 Change doc, icon and logo 2024-04-10 13:53:58 +02:00
metal3d 3317459b0b Code cleaning 2024-04-10 04:54:38 +02:00
metal3d 564b939464 Remove useless composition call 2024-04-10 04:54:16 +02:00
metal3d c7c18f01cd Fixup documentation
- better gomarkdown generation that now fixed the escaped strings, no
  need to use pandoc anymore
- added workflow image
- upgraded versions of mkdocs requirements
2024-04-10 04:51:45 +02:00
metal3d 2f53638f82 Add documentation 2024-04-10 04:49:36 +02:00
metal3d 5070101706 Add workflow image and zoom on click 2024-04-10 04:48:51 +02:00
metal3d cc3c42b8fd Add venv to ignore list 2024-04-10 04:47:52 +02:00
metal3d 45de7ab543 Fix samepod generation
The container was not merged to the target deployment. It necessary to
make one more loop to apply the container + remove the source
deployment.
2024-04-08 23:15:05 +02:00
metal3d 984b50356a Do not pass by composed struct
It useless to use the composed struct field as the current "object" is
composed by this one. Get Name field directly. (Thanks staticcheck)
2024-04-05 07:58:37 +02:00
metal3d 441b30a570 Code cleaning
Using gofumpt. Add documentation.
Some fixes on type checking and const icon type declaration.
2024-04-05 07:56:27 +02:00
metal3d 2aad5d4b9d Upgrading mod package 2024-04-04 09:53:33 +02:00
metal3d 50169c8fbc Changing logo, fix doc, catchy text... 2024-04-04 09:50:17 +02:00
metal3d fc67cb668d Fix line width to 120 columns 2024-04-03 23:30:24 +02:00
metal3d 8e4b3be108 Add nvimrc file
Editorconfig seems to not allow the line wrapping. I'm using neovim with
`set exrc`, so this local file is used to fix some behaviors.

If a contributor can give solutions for a global configuration that
works everywhere...
2024-04-03 23:28:04 +02:00
metal3d 3ae5ec99ff Typo, format of markdown
I prefer to limit 120 columns. A .nvimrc will be proposed to avoid
having to wide markdown lines.
2024-04-03 23:26:54 +02:00
metal3d ef7fcb6133 Some users want to use "host" instead of "hostname"
We accept both, nothing more.
2024-04-03 22:44:41 +02:00
metal3d 50c2f9d1dc Use new labels in documentation, and fix content 2024-04-03 22:38:23 +02:00
metal3d eeb044bab0 Add markdown editor configuration 2024-04-03 22:37:56 +02:00
metal3d 6ce52cc037 Reindentation and change labels 2024-04-03 22:37:22 +02:00
metal3d 9a3fc6a2b4 Fix "depends_on" check
If "depends_on" is set, we need to ensure that the target service has
got declared ports. It's necessary, at this time, to ensure the target
is started (with an initContainer)

As soon as Kubernetes proposes a better check, we will be able to fix
this requirement.
2024-04-03 22:22:48 +02:00
metal3d 4ded4d4e09 Set the compose file list using overrides
This is a hack to force the compose package to read all files provided
with the -c flag.
2024-04-03 22:08:01 +02:00
metal3d dc47e73b4b Temorary fixing overrides
WIP: this breaks the -c flag, but it's a start

We can now use compose.katenary.yaml file as a default override.
2024-04-03 21:35:04 +02:00
metal3d 76aa332dc2 Fix dependencies parsing
The code was fetching a simple object while it should have been fetching an array of objects.
2024-04-03 21:34:15 +02:00
metal3d 5d4f72e984 Fix unued variable, useless functions... 2024-04-03 21:33:26 +02:00
metal3d 5a358f0a6a Add labels docs
This file was ignored by error in .gitignore
2024-04-03 16:16:28 +02:00
metal3d ed9b4681ad Unignore some yaml files
katenaryLabelsDoc.yaml is a file that is used to generate the documentation, it is not a file that should be ignored.
2024-04-03 16:15:24 +02:00
metal3d d135f5bc0a Remove the Smile sponsorship
One more time, thanks a lot for the adventure
2024-04-03 14:24:43 +02:00
metal3d f9cf3972d5 Removed Smile sponsorship
Thanks for the given time.
2024-04-03 14:18:16 +02:00
metal3d 6e33fa474a Get the newest version of go-compose
- better integration of compose file
- needed to impose to not resolve path in "parser" package to get them
  from the working directory. This should be improved later
2024-04-03 14:15:50 +02:00
metal3d 3a0cf1a7db Set test(s) to PHONY 2024-04-03 14:15:28 +02:00
metal3d 475a025d9e Go to Katenary V3
This is the next-gen of Katenary
2023-12-06 15:24:02 +01:00
metal3d c37bde487b Add note for the next release 2023-06-13 09:30:06 +02:00
metal3d a2bf9c005b Fix bracket
fixes #50 - the brackets are valid in JSON/YAML
2023-02-07 09:39:12 +01:00
metal3d 119b5d699c Use compose-go 1.2.8 2022-07-08 11:40:16 +02:00
metal3d 16196aae34 Set smile logo to base_url 2022-07-08 10:37:17 +02:00
metal3d 9726cc4a18 Fix and comment empty-dirs + volume-from 2022-07-08 10:26:01 +02:00
metal3d 7eb75015a0 Fix first dot in name 2022-07-08 10:00:54 +02:00
metal3d 66dec780ae Fix secret/conf environment from file 2022-07-08 09:56:55 +02:00
metal3d 6cd361705d Try to fix the problem with Smile logo 2022-07-08 08:58:37 +02:00
metal3d 9c449eefab Fix secret that disapeared from Values
- must fix #24
- optimisation on memory locks
- add `AddEnvironment` function to help management
2022-06-22 10:55:11 +02:00
metal3d b21c821086 Split source file 2022-06-22 09:54:41 +02:00
metal3d 890d7b5017 Fixup broken merge 2022-06-22 09:54:41 +02:00
metal3d 874e12f35d Fix links 2022-06-14 10:26:24 +02:00
metal3d b25b2fda2c Fix colors 2022-06-14 10:21:55 +02:00
metal3d e2a4d296f6 Fix Smile logo image 2022-06-14 10:14:08 +02:00
metal3d 7d5b4d9306 Fixup styles 2022-06-14 10:08:22 +02:00
metal3d a1d963c15b Fix dependencies 2022-06-14 09:28:14 +02:00
metal3d bb83384d62 Better doc for ReadTheDocs 2022-06-14 09:25:43 +02:00
metal3d bc3c5dc932 Change nav top color 2022-06-13 14:00:10 +02:00
metal3d 203449aa9e Fix logo path 2022-06-13 13:55:43 +02:00
metal3d a3dbdfd8c6 Add site_dirs 2022-06-13 13:50:57 +02:00
metal3d 1b1397b45f Fix paths 2022-06-13 13:47:58 +02:00
metal3d 1122c02e07 Fix MarkupSafe 2022-06-13 13:40:45 +02:00
metal3d 01e045e4b7 Try to fix mkdocs again... 2022-06-13 13:37:09 +02:00
metal3d d28cbab0fe Fix mkdocs 2022-06-13 13:29:57 +02:00
metal3d b1dc94e0e9 Add doc (WIP) 2022-06-13 13:18:31 +02:00
metal3d f9fd6332d6 Feat cronjob (#23)
Make possible to declare cronTabs inside docker-compose file.

⇒ Also, add multiple compose file injection with `-c` arguments 

⇒ Also, fixes “ignore depends on” for same pod 

⇒ Also fixes
 
* fix [Be able to specify compose.yml files and its override #21](https://github.com/metal3d/katenary/issues/21)
* fix [Be able to ignore ports to expose in a katenary.io/ports list #16](https://github.com/metal3d/katenary/issues/16)

And more fixes… (later, we will use branches in a better way, that was a hard, long fix process)
2022-06-10 16:15:18 +02:00
metal3d dc9b198208 Quote path label 2022-06-01 16:22:45 +02:00
metal3d 0f9a46f52d Fix env with points to underscore 2022-06-01 16:13:10 +02:00
metal3d 8cf3ff9f73 Add local test directory 2022-05-24 11:17:46 +02:00
metal3d 114fab4870 Fix the problem with environment as secret
We needed to filter the environment coming from a env file, but declared
as secet in `secret-vars` label

fix #17
2022-05-23 12:11:23 +02:00
metal3d 5fc8c06d8b Layout again 2022-05-23 11:24:06 +02:00
metal3d 51ca4e81d1 Layout... 2022-05-23 11:23:27 +02:00
metal3d a6f6b91ab9 Layout 2022-05-23 11:20:52 +02:00
metal3d 63afc3066b Fix problems with local volumes to configmap
- make it possible to mount only one file as configmap
- remove "dots" from path to convert it to volume name
- see #11 that can be resolved
2022-05-23 11:13:42 +02:00
metal3d 418a0a8029 Use compose-go + improvements (#9)
Use compose-go https://github.com/compose-spec/compose-go  to make Katenary parsing compose file the official way.
Add labels:
- `volume-from` (with `same-pod`) to avoid volume repetition
- `ignore` to ignore a service
- `mapenv` (replaces the `env-to-service`) to map environment to helm variable (as a template string)
- `secret-vars` declares variables as secret values

More:
- Now, environment (as secret vars) are set in values.yaml
- Ingress has got annotations in values.yaml
- Probes (liveness probe) are improved
- fixed code to optimize
- many others fixes about path, bad volume check, refactorisation, tests...
2022-05-08 09:55:25 +02:00
metal3d 165054ca53 For single env_file, it's a string...
see #8
2022-04-01 17:49:10 +02:00
metal3d a87391e726 Fix healthcheck
see #8
2022-04-01 17:39:41 +02:00
metal3d f8dcd2026b Fix test command to make it work as string / slice
see #8
2022-04-01 16:58:13 +02:00
metal3d f99f146af2 Force build with "build-all" by empty dist/* 2022-04-01 10:47:58 +02:00
metal3d e72a8a2e9c Fix envfile detection
+ The envfiles were not added!

see #8

TODO: what are the others properties to fix this way?
2022-04-01 10:43:08 +02:00
metal3d 0f73aa3125 Manage ugly format for command
Some people uses pure string as command, we need to cast to []string
slice.

see #8
2022-04-01 10:12:14 +02:00
metal3d 7dc5d509f7 Fix the problem with "ugly" environment syntax
We can now manage "- A=B" format as "A: B"

Some others properties than environment may have this problem (e.g.,
command) so we will fix this later.

fix #4
2022-04-01 09:22:00 +02:00