Commit Graph

15 Commits

Author SHA1 Message Date
2b1dc68303 Fix slice index removing 2022-05-07 17:39:03 +02:00
b1b96d8318 A big commit to fix more things, see details
- ingress can now have annotations
- configmaps are better named and there is a label to know from where
  the content is taken
- fixed bad "nil" pointer checks
- we force to not resolve paths from compose file, this should be a
  problem when we call the compose file from outside. So, TODO: check
  this!
- the "project" label is now the Chart Name, not a static string
- minor fixes
2022-05-06 20:18:10 +02:00
3031f37509 Refactorisation and improvements
- image of container is now splitted in repository and tag (in values
  and deployment). The "tag" is tested in deployment
- add "chart-version" option

Code:

- globalize the PVC generation
- ensure types for environment values
- refactored to make generic the container creation in a deployment
- avoiding race condition on ServiceConfig by using a copy (then a
  pointer of this copy)
2022-05-06 13:42:53 +02:00
ddcc3d00d3 Remove debug log 2022-05-05 10:48:14 +02:00
710b46061d Forgotten to use configured indent size 2022-05-05 10:46:22 +02:00
71befefea8 Better file closing 2022-05-05 10:45:41 +02:00
0a20be9660 Better file closing 2022-05-05 10:44:43 +02:00
053292f37c Add a "ignore" label to skip a service 2022-05-05 10:22:02 +02:00
5e8cf47ab6 WIP try to fix race condition and tests 2022-04-05 08:05:33 +02:00
30a79998ab Fix label ports 2022-04-04 13:52:28 +02:00
e346bb3ae4 WIP - there still are problem with several things
- ports label are not well managed
- no heathcheck, have to be rewritten
- many problem with generated compose file from memory
2022-04-04 09:53:36 +02:00
3c6b9493db WIP Try to use composer-go
- there are problems to resolve with health check
- compose/parser.go and compose/types.go should be recheck
- need to recheck writers
2022-04-03 16:08:00 +02:00
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
513039e3c9 Add ability to link containers in one pod 2022-02-16 17:40:11 +01:00
df60c2c866 Refactorisation to writers in generator package 2021-12-05 10:13:11 +01:00