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
metal3d
b602aa5e39
Fix the use of version flag
2022-02-14 17:02:29 +01:00
metal3d
d965e1d19b
Use "cobra" to propose better command/flags
2022-02-14 17:00:32 +01:00
metal3d
5a4d9e396d
Add healtcheck + some fixes
...
- better docs
- add healtcheck based on docker-compoe commands or labels
- fix some problems on secret names
- better dependency check
2022-02-14 14:37:09 +01:00
metal3d
8164603b47
Add a clean directive
2022-02-14 14:36:43 +01:00
metal3d
9aec646ab2
Fix the compose detection
2022-02-02 10:30:32 +01:00
metal3d
8d4ea90a9a
Fix name generation with "." and "/"
2022-02-02 10:15:14 +01:00
metal3d
4320519a2a
Fix the volume name with minus sign
2022-02-02 10:09:42 +01:00
metal3d
b9e91d56aa
Allow different docker-compose extensions
2022-02-02 10:02:35 +01:00
metal3d
93a06b52fb
Give a default value for GO var
2022-01-26 09:44:23 +01:00
metal3d
cb88f2879d
Give better information at build time
2022-01-26 09:43:01 +01:00
metal3d
1e79e954c5
Fix the source change detection
2022-01-26 09:21:36 +01:00
metal3d
69982e4514
Add information about the compiled version
2022-01-26 09:18:32 +01:00
metal3d
691c1a3b78
We must lock inside the goroutines
2021-12-17 12:08:50 +01:00
metal3d
332f7a8787
Fix some locks problem
2021-12-17 12:05:38 +01:00
metal3d
6273e5531a
Fix doc and syntax
2021-12-17 11:48:32 +01:00
metal3d
e0382a8b83
Fix directory check for .git
2021-12-17 11:46:35 +01:00
metal3d
3385b61272
Check if .git is a directory
2021-12-17 11:40:56 +01:00
metal3d
a0e02af06e
The version was overwritten to empty string
2021-12-17 11:04:43 +01:00
metal3d
7adac3662e
Autodetect git version/branch/hash for appversion
2021-12-17 10:59:57 +01:00
metal3d
ca9ab8a13b
Set all help message to lower case
2021-12-17 10:35:21 +01:00
metal3d
b16897b875
Fix the section following the config type.
2021-12-17 10:29:08 +01:00
metal3d
8ccdb2854b
Remove annotation for ingres.class
...
This yield an error on new Kubernetes
TODO: check k8s version like does "helm create"?
2021-12-17 10:28:16 +01:00
metal3d
df60c2c866
Refactorisation to writers in generator package
2021-12-05 10:13:11 +01:00
metal3d
fe2a655796
Enhancements, see details
...
- Added a message to explain to the user that it needs to build and push
images
- The Release Name string is now a constant ins source code, later we will be able to
change it to (for example) a template call
- SHA256 injected label (from docker-compose file content) is a bit long, SHA1 is shorter
- We now add compose command line and generation date in the Values file
- Code cleanup, refactorisation and enhancements
- More documentation in the source code
2021-12-05 09:05:48 +01:00
metal3d
714ccf771d
Mount with SELinux label to build
2021-12-05 07:40:11 +01:00
metal3d
cdfc2b8715
Add a new way to get VERSION
2021-12-03 14:16:12 +01:00
metal3d
c74fa8077b
Fix the doc, add a label
2021-12-03 11:53:33 +01:00
metal3d
87e26ca021
Check dependencies before to crash...
2021-12-03 11:49:32 +01:00
metal3d
f145a27a3d
Do not close chan, it's not so important...
2021-12-02 16:08:27 +01:00
metal3d
a292170a63
Fix names + color activation
2021-12-02 16:07:15 +01:00
metal3d
b894de6232
Now can create a configMap from a specific dir
2021-12-02 15:42:01 +01:00
metal3d
f12dbc25f0
Set default appname flag to the current directory
2021-12-02 14:59:08 +01:00
metal3d
96de1269fb
Change label system
2021-12-02 14:56:51 +01:00
metal3d
04d54bc2a3
Remove trailing slash
2021-12-02 12:36:32 +01:00
metal3d
ebfcc72311
Fix a problem on wait port number
2021-12-02 12:36:15 +01:00
metal3d
769c9b6c6c
New behavior for nodeport + fix storage
2021-12-01 16:50:32 +01:00
metal3d
2fb62bb554
Typo in "kubernetes" annotation
2021-12-01 15:18:02 +01:00
metal3d
1085be2b53
Fixup some annotations
2021-12-01 15:17:34 +01:00
metal3d
a536fcd369
Fix typo on code
2021-12-01 14:06:06 +01:00
metal3d
db84bdbccf
Fixup a message
2021-12-01 14:01:21 +01:00
metal3d
2f9a47413e
Fix the way we generate NOTES.txt
2021-12-01 13:59:41 +01:00
metal3d
54bdf74211
Make it possible to create secret files
2021-12-01 13:55:22 +01:00
metal3d
3f335a4dce
Ignore env files
2021-12-01 13:53:58 +01:00