Skip to content

Releases: laetho/metagraf

mg v0.0.25

29 Oct 13:55
Compare
Choose a tag to compare
  • Changed default context root for Route generation to /
  • Added -c or --context flags to mg create route subcommand to specify a specific context root.

faece54 (HEAD -> master, tag: v0.0.25, origin/master, origin/HEAD) Introduced -c --context flag to mg create route subcommand. The default contextroot is now / but you can override it with the -c or --context argument.

v0.0.24

28 Oct 14:02
Compare
Choose a tag to compare

Fixed another regression when using overridden version through --version flag. Fixed in SpecName()

1f4ff84 (HEAD -> master, tag: v0.0.24, origin/master, origin/HEAD) Fixed regression in container name generation, in SpecName when using overridden --version

mg v0.0.23

28 Oct 13:04
Compare
Choose a tag to compare

Regresstion in documentation output naming.

8c19a0d (HEAD -> master, tag: v0.0.23, origin/master, origin/HEAD) Fixed regression in create ref output files.

mg v0.0.22

28 Oct 10:47
Compare
Choose a tag to compare

Minor fix. Forgot to fix secret names in volume section of deploymentconfig spec.

80dc4cb (HEAD -> master, tag: v0.0.22) Fixed secret name reference when building volume specification part of DeploymentConfig.

mg v0.0.21

28 Oct 09:25
Compare
Choose a tag to compare
  • Fixed regression when generating handling secrets attached to resource names. Converts _ to - to comply with naming conventions for kubernetes objects.
  • Documentation changes, now using docsify to serve documentation through github pages.
  • Intital commit of an init command to generate a scaffold specification.

a33ac5c (HEAD -> master, tag: v0.0.21, origin/master, origin/HEAD) Merge branch 'master' of https://github.com/laetho/metagraf
4918149 Translate _ to - for generated secret names
9d75c99 Changed docsify default theme
b277552 Search not working
4dbf3bb Enabling search
93d219d Wording change in Ack..
747bb41 Fixed links
8f51907 Updated readme.md
b71d7a7 Fixed image link in docsified content
aa6e34a Merge pull request #3 from laetho/docsify
4ac3b08 Updated sidebar
ce996d6 Updated docsify documentation
da5d806 docsifying documentation
28407de (origin/init) Renamed doc to docs
20214d1 Initial commit of init subcommand to mg tool. Creates and empty specification with some guidance values.
42badf4 Fixed newline for annotations.
cbd1fbf Updated todo

mg v0.0.20

17 Sep 09:23
Compare
Choose a tag to compare

Fixed a regression in v0.0.19 which produces the wrong image reference in DeploymentConfig's.

Changelog:
db548d1 (HEAD -> master, tag: v0.0.20, origin/master, origin/HEAD) Fixed regression in SpecName, did not consider version correctly. SpecName now adhers to --version. But not override name.

mg v0.0.19

09 Sep 11:33
Compare
Choose a tag to compare

Main focus on this release is to support the use of a metagraf specification and a generated properties file as the basis for configuration control and deployment control in a GitOps flow. Currently testing mg together with kustomize.

Also contains a lot of assorted fixes.

d6367e5 (HEAD -> master, tag: v0.0.19, origin/master, origin/HEAD) Introduced SpecName() function to return name based on spec instead of name with override.
3828cba Updated component graph
b4abc80 Removed rank for annotations and label
dd1a054 Added Annotations and Labels to the Component graph. Not happy with the layout, should probably use a sub graph (cluster) for those.
97e5614 OName override name handled globally. Added flag to more commands
bf67125 Fixed reassignment bug
65c67bb Added support for name overrides in configmap generation
aa104ce Refactored DName flag, renamed to OName since it must be used in other resource types as well
1973c7c Added the ability to override deploymentconfig name.
abab458 Handling properties with multiple =
dc8b0fb Removed surplus newline
e920df4 Fixed bug when paramter included a = in the value when parsing the specified --cvfile
7b757c1 Added default value for registry flag.
fcb6d7d Added -t --tag flag for mg create deploymentconfig
2b8bccc Added -r --registry flag to mg create deploymentconfig to enable use of custom registry host or a non default one.
3867193 * Added Image Namespace override when generating deploymentconfig's * Sync for parameter's in flagpassinghack
e0a3992 Adding flags for inspect enforcement and parameter file
2c7942f Added the correctly named subcommand
c5a12c8 Fixed typo in subcommand
76469b8 Renamed sub command from keys to properties.
0ec64f4 Updated markdown ref document template
d156257 Updated Markdown template (bitbucket style)
9fc2538 Fixed reg gen subcommand. Adhere to Suffix and Template
bf815d7 Forgot to pass Suffix and Template in FlagPassingHack().
07e602e Fixed subcommand "create ref" implementation to adhere to suffix and template name input.
61f271f * Initial commit of markdown based refdoc template * Added "Template" and "Suffix" flags to mg command for "create ref" subcommand.
1ea566b Added ConfigRef to Resource struct to replace TemplateRef
7748282 Color change for component dot Renamed key's for probes.
1dfef43 Changed colorscheme
cfe2354 Wording change
10e1ad8 Using PNG instead of SVG in github markdown
187fcd5 Added PNG image of component graph
31fd3c0 Added a conceptual graph to readme
b157123 Updated readme.md to make it more clear?
5c6902f Redid graphviz plot for a software component.
b2140c9 Removed unused import
24465a6 Rewrote json and yaml marshaling for output of resources in mg.
09ff960 First attempt at yaml marshal
4be9eb4 Added ability to inject custom values when generating keys/properties with mg generate keys with the --cvars flag.
6c90025 Fixed handling of empty CVfile parameters (CV = custom values)
e7821bd Removed \n from last split value.
142e791 Fixed parsing and added some logging to identify broken property files.
900e2b3 Initial commit of support for CVfile parsing for overrides values.

mg v0.0.18

25 Jun 06:43
Compare
Choose a tag to compare

Notable changes are how we reference config/secrets for attached resources. Examples will be forthcoming when the v0.1.0 comes out. mg is approaching "feature completeness" for our internal uses and component spread.

===

2d01fa7 (HEAD -> master, tag: v0.0.18, origin/master, origin/HEAD) Code formatting.
1ff3180 Made namespace StringVar a StringVarP with shorthand notation as well as --namespace for all create subcommands.
2b9159a os.Exit() in FindMetagrafConfigMaps() if the configmap referenced in TemplateRef does not exist in the namespace.
578138b Removed experiment that caused cyclic imports
c3f8c93 Removed special generation handling of configmaps for resource of type "jms"
40a003c Formating changes and restructuring
0212563 Fixed key name for vars. external vars got named local. fxied
8448c96 Added subcommand flags
106e848 mg generate keys now support a --defaults arguemnt, that hydrates keys with default values
40f7eb7 Initial commit of genereate subcommand and generate keys subcommand. Generate keys will produce a source typed source=key=value configfile for a software component. This is intended to be used as the configuration input for mg create commands in deployment scenarios.
5d0cab1 Fix regarding ConfigMap mounting and volume names.
bd84e69 Added MergeSourceVars() function. This function will handle override values when MGVars include source identificator.
2239385 Added GetVarsFromSource(). This function returns a MGVars struct where the variables or keys includes where it originates.
a75999e Added some helper functions.
7de1891 Fixed a regression with naming configmaps from resources, they are treated as globals. Need to be fixed in the future
b0fd067 Added the --cvfile argument to "mg create deploymentconfig" to support reading a list of key value pairs from file to support gitops patterns.
91ca735 Cleaned up override and defaults handling.
b37c333 Added the ability to populate default values from metaGraf.json when creating deploymentconfig's: mg create deploymentconfig metagraf.json --defaults
6a9eacd Reworked EnvToEnvVar to support external or internal envvar's
41badfd Removed use of ExternalEnvToEnvVar to make it more clear what is going on. Using EnvToEnvVar with additonal arguments instead (ext bool).
3970db5 A bit of restructuring in how configmaps get added to the podspec.
9ce1680 Expanded FindMetaGrafConfigMaps() to handle TemplateRef field. ConfigMaps of this "type" will get mapped to /mg/template.
1083d63 Added some documentation for the directory strucutre inside a metagraf powered image.
6895dc2 Forgot to do secrets in the refactored volumes()
f8be4b6 Refactoring (splitting up) the GenDeploymentConfig() function, hopefully it will turn out more understandable and maintainable.
5c1832b Cleaned up textual content for inspect subcommand

mg v0.0.17

05 Jun 09:55
Compare
Choose a tag to compare

Added subcommands to inject for manipulating version field in spec. Useful for version manipulation in CI/CD.

e37d0d3 (HEAD -> master, tag: v0.0.17, origin/master, origin/HEAD) * Remove generate.go, integration difficulties * Reworked basic input checking for inject subcommand
be6b23f Added "version" and "semver" commands to subcommand "inject".

mg v0.0.16

04 Jun 12:40
Compare
Choose a tag to compare

Notable features: There is now a way to inject annotations into a metaGraf specification with the mg utility. Useful for adding metadata og documentation during CI/CD.

Example:
mg inject metagraf.json

38a81ad Using args to subcommand instead of array argument of key,value pairs
a758b95 Implemented storage of mg file
ddc6780 Added store.go with Store() to same a modified metagraf specification.
f298e37 Added inject subcommand
e14dcdd Changed default string
d3a85e7 Commented out unecessary code.
0d12b58 Added Liveness and Readiness probe to specification.
d350770 Merge branch 'master' of https://github.com/laetho/metagraf
fe6bd01 * Updated TODO * REF Template changes
9c54794 Merge pull request #1 from ollis/clusterservice
4b12951 Updated reference documentation template.
f4f2049 add doc for clusterservice resource type
e560e47 Renamed template. Added section output only if something is defined. Added secrets table