Commit Graph
100 Commits
Author SHA1 Message Date
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
metal3d a9b75c48c4 Add test for bad volumes 2022-04-01 08:22:06 +02:00
metal3d 6ea3a923cc Avoid "not mapped" volumes
fix #5
2022-04-01 08:18:45 +02:00
metal3d 6cd1af015b Manage empty image name
And avoid removing charts if there are problems before generating the
helm chart

fix #6
2022-04-01 08:15:39 +02:00
metal3d 68a031d0be Remove bad log 2022-04-01 08:15:01 +02:00
metal3d 7ba68c2854 If there is no image name, fail!
fix #6
2022-04-01 08:04:37 +02:00
metal3d 1dd8fef4b3 Fix compose file argument
fix #7
2022-04-01 07:59:53 +02:00
metal3d 6a2417c361 Create dependabot.yml 2022-03-31 14:30:42 +02:00
metal3d ad316d1f49 Removed the forcing of install type 2022-03-31 14:25:40 +02:00
metal3d ed22774a93 Use pure shell to read release.id 2022-03-31 14:17:15 +02:00
metal3d 8dfca953dc Fix push-release 2022-03-31 14:14:54 +02:00
metal3d 7b774e84d8 Develop (#3)
* Update command added
* Ensure that the upgraded version is really greater
* Update command should not update prerelease
* Minor presentation changes
* Fix command generation in containers from docker-compose file
- Refactored service creation
* Place the full command to the "cmd" package
* Update cobra to v1.4.0
* Updated build and release creation
* Created an install script
* Add more doc
* Add some tests...
* Add a test directive in Makefile
2022-03-31 14:12:20 +02:00
metal3d d0576d4b81 Add name explanation 2022-02-17 15:12:15 +01:00
metal3d c1fc388b26 Fix Smile link 2022-02-17 15:07:25 +01:00
metal3d 86ca723aa8 Fixup logos 2022-02-17 15:04:13 +01:00
metal3d 35ecb0d4d9 Add temporary logo 2022-02-17 12:22:52 +01:00
metal3d 89adc17857 Add doc for "same-pod" example 2022-02-17 11:54:09 +01:00
metal3d 16fddbc6aa Fixed ignore list 2022-02-17 11:53:15 +01:00
metal3d 8543bc5232 Added some generated examples 2022-02-17 11:48:33 +01:00
metal3d 3d45401649 Fixup doc 2022-02-17 11:38:48 +01:00
metal3d 95c24be14a Make it possible to mount one file from configMap 2022-02-17 11:38:23 +01:00
metal3d bf44d442e5 Fix "/" in configMap names
Fix #2
2022-02-17 11:04:04 +01:00
metal3d 5d574015ce Fix the missed volume mount for empty dirs
Fix #1
2022-02-17 10:43:07 +01:00
metal3d 3619cc4b20 Update README.md
Add Releases information to install katenary
2022-02-17 10:06:50 +01:00
metal3d 5a49c4f869 Forgotten logo file... 2022-02-17 09:58:44 +01:00
metal3d 88fb12a3bf Add Smile :) 2022-02-17 09:58:09 +01:00
metal3d d387d9aec0 Add MIT License 2022-02-17 09:42:32 +01:00
metal3d 1343f99e39 Better build command + Doc 2022-02-16 18:32:51 +01:00
metal3d 90d04346d5 Add completion doc 2022-02-16 17:57:14 +01:00
metal3d 950a77aade Fix documentation 2022-02-16 17:48:57 +01:00
metal3d 6ef4f7ac42 Fix template 2022-02-16 17:44:25 +01:00
metal3d 513039e3c9 Add ability to link containers in one pod 2022-02-16 17:40:11 +01:00
metal3d a60ab484d2 And one more time, fix flag strings 2022-02-16 11:11:30 +01:00
metal3d d9fcf5a1b9 Fix doc 2022-02-16 11:09:08 +01:00
metal3d 0668b718ea Doc 2022-02-16 11:02:56 +01:00
metal3d 0d1a6f8c82 Fix some indentation behavio + add indent flag 2022-02-16 10:56:21 +01:00
metal3d a4834a0661 Now manage kubernetes version in ingress
The backend and ingressClassName are now under condition
2022-02-16 10:37:46 +01:00
metal3d 722c7424d0 Fix version flag 2022-02-14 17:15:11 +01:00