Commit Graph

149 Commits

Author SHA1 Message Date
7eb75015a0 Fix first dot in name 2022-07-08 10:00:54 +02:00
66dec780ae Fix secret/conf environment from file 2022-07-08 09:56:55 +02:00
6cd361705d Try to fix the problem with Smile logo 2022-07-08 08:58:37 +02:00
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
dependabot[bot]
16c8e3dd20 Bump github.com/spf13/cobra from 1.4.0 to 1.5.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-22 09:55:35 +02:00
b21c821086 Split source file 2022-06-22 09:54:41 +02:00
890d7b5017 Fixup broken merge 2022-06-22 09:54:41 +02:00
dependabot[bot]
1266545919 Bump github.com/compose-spec/compose-go from 1.2.5 to 1.2.7 (#19)
Bumps [github.com/compose-spec/compose-go](https://github.com/compose-spec/compose-go) from 1.2.5 to 1.2.7.
- [Release notes](https://github.com/compose-spec/compose-go/releases)
- [Commits](https://github.com/compose-spec/compose-go/compare/v1.2.5...v1.2.7)

---
updated-dependencies:
- dependency-name: github.com/compose-spec/compose-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 09:53:13 +02:00
874e12f35d Fix links 2022-06-14 10:26:24 +02:00
b25b2fda2c Fix colors 2022-06-14 10:21:55 +02:00
e2a4d296f6 Fix Smile logo image 2022-06-14 10:14:08 +02:00
7d5b4d9306 Fixup styles 2022-06-14 10:08:22 +02:00
a1d963c15b Fix dependencies 2022-06-14 09:28:14 +02:00
bb83384d62 Better doc for ReadTheDocs 2022-06-14 09:25:43 +02:00
bc3c5dc932 Change nav top color 2022-06-13 14:00:10 +02:00
203449aa9e Fix logo path 2022-06-13 13:55:43 +02:00
a3dbdfd8c6 Add site_dirs 2022-06-13 13:50:57 +02:00
1b1397b45f Fix paths 2022-06-13 13:47:58 +02:00
1122c02e07 Fix MarkupSafe 2022-06-13 13:40:45 +02:00
01e045e4b7 Try to fix mkdocs again... 2022-06-13 13:37:09 +02:00
d28cbab0fe Fix mkdocs 2022-06-13 13:29:57 +02:00
b1dc94e0e9 Add doc (WIP) 2022-06-13 13:18:31 +02:00
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
Thomas BERNARD
7203928d95 Fix a typo (#22) 2022-06-09 18:35:04 +02:00
dc9b198208 Quote path label 2022-06-01 16:22:45 +02:00
0f9a46f52d Fix env with points to underscore 2022-06-01 16:13:10 +02:00
8cf3ff9f73 Add local test directory 2.0.0-beta2 2022-05-24 11:17:46 +02:00
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
5fc8c06d8b Layout again 2022-05-23 11:24:06 +02:00
51ca4e81d1 Layout... 2022-05-23 11:23:27 +02:00
a6f6b91ab9 Layout 2022-05-23 11:20:52 +02:00
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
adrian-salas
1e8fd44857 ISSUE-12 - Trim space on port label (#14)
Co-authored-by: Adrian SALAS <adrian.salas@smile.fr>

fix #12
2022-05-22 22:53:05 +02:00
adrian-salas
1403f9b198 ISSUE-13 - Ignore comment prefix in envfiles (#15)
Co-authored-by: Adrian SALAS <adrian.salas@smile.fr>

fix #13
2022-05-22 22:52:07 +02:00
dependabot[bot]
22ef9211ec Bump github.com/compose-spec/compose-go from 1.2.4 to 1.2.5 (#10)
Bumps [github.com/compose-spec/compose-go](https://github.com/compose-spec/compose-go) from 1.2.4 to 1.2.5.
- [Release notes](https://github.com/compose-spec/compose-go/releases)
- [Commits](https://github.com/compose-spec/compose-go/compare/v1.2.4...v1.2.5)

---
updated-dependencies:
- dependency-name: github.com/compose-spec/compose-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-18 14:20:03 +02:00
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...
2.0.0-beta1
2022-05-08 09:55:25 +02:00
165054ca53 For single env_file, it's a string...
see #8
1.0.0-rc7
2022-04-01 17:49:10 +02:00
a87391e726 Fix healthcheck
see #8
1.0.0-rc6
2022-04-01 17:39:41 +02:00
f8dcd2026b Fix test command to make it work as string / slice
see #8
1.0.0-rc5
2022-04-01 16:58:13 +02:00
f99f146af2 Force build with "build-all" by empty dist/* 1.0.0-rc4 2022-04-01 10:47:58 +02:00
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
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
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
a9b75c48c4 Add test for bad volumes 2022-04-01 08:22:06 +02:00
6ea3a923cc Avoid "not mapped" volumes
fix #5
2022-04-01 08:18:45 +02:00
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
68a031d0be Remove bad log 2022-04-01 08:15:01 +02:00
7ba68c2854 If there is no image name, fail!
fix #6
2022-04-01 08:04:37 +02:00
1dd8fef4b3 Fix compose file argument
fix #7
2022-04-01 07:59:53 +02:00
6a2417c361 Create dependabot.yml 2022-03-31 14:30:42 +02:00