Some fixes on "same-pod" and volumes + add some tests #82

Merged
metal3d merged 20 commits from develop into master 2024-11-25 22:17:56 +00:00

20 Commits

Author SHA1 Message Date
fc335247f8 chore(tests): exlude tests for sonarqube 2024-11-25 23:11:14 +01:00
ad16005091 test(schema): Add test on ingress 2024-11-25 12:10:41 +01:00
a676372bbe chore(clean): remove unused functions 2024-11-25 12:02:19 +01:00
7fadc45e9e chore(typo): bad markdow, bad label name 2024-11-25 12:02:04 +01:00
41a0dc58a5 chore(typo): fix some typos 2024-11-25 12:00:04 +01:00
dc34d32c5c test(secrets): add tests 2024-11-25 11:54:38 +01:00
36984e3825 chore(clean): remove unused functions 2024-11-25 11:54:18 +01:00
046410a5ec chore(refacto): use utils package 2024-11-25 11:54:00 +01:00
827b5bc830 test(values): add map-env and exchange volumes tests 2024-11-22 16:23:00 +01:00
8aee6d9983 fix(nil): The service can not exist 2024-11-22 16:11:55 +01:00
7b890df1c5 fix(schema): Use ingress default values
Ingress has some default values, like path and classname. We need to
ensure that values are taken or nil, and to apply them if they are not
set explicitally. Port is a sepcial case.
2024-11-22 15:55:59 +01:00
e925f58e82 doc(add): Add more documentation about katenary file 2024-11-22 15:12:44 +01:00
91fc0fd9f0 fix(doc): missed a new line 2024-11-22 14:58:43 +01:00
1a1d2b5ee8 fix(configmap): do not write env var in file CM
File CM are configmap to store "static" data (file content), do not set
environment variables inside.
2024-11-22 14:55:42 +01:00
95f3abfa74 feat(volume): add "exchange volumes"
This volumes are "emptyDir" and can have init command. For example, in a
"same-pod", it allow the user to copy data from image to a directory
that is mounted on others pods.
2024-11-22 14:54:36 +01:00
3b51f41716 chore(names): Fix resource name
Use an utility function to fix some names
2024-11-21 11:12:38 +01:00
3f63375b60 refacto(labels): use external files
Files are more readable as external. Use "go:embed" to inject them.
2024-11-21 11:08:55 +01:00
8c97937b44 test(schema): Add tests 2024-11-21 11:08:09 +01:00
96f843630a chore(misc): make the code more readable here 2024-11-21 11:04:19 +01:00
48f6045cd3 fix(same-pod): environnment and volume mapping
We must ensure that the volume is owned by the container.
The environmment configMap wasn't bound.
2024-11-21 11:03:10 +01:00