Skip to content

Releases: krisnova/naml

The TGIK Release

19 Aug 03:32
0f44b75
Compare
Choose a tag to compare

Cutting from head for vendoring a new repo

0.2.7 The -oyaml release

18 Aug 03:39
0f44b75
Compare
Choose a tag to compare

Naml now supports -o yaml

naml -o yaml
naml output AppName -o json
naml output
naml output AppName -o yaml

Other features

  • Integration test for yaml -> go -> compile -> run
  • Improvements to generating packages
  • Improvements to CLI langauge

0.2.6 The Duffie Release

04 Aug 21:03
Compare
Choose a tag to compare

Adding new features with codify

  • Output
  • Better debug
  • GoName

0.2.5 The go modules make me sad release

03 Aug 04:26
Compare
Choose a tag to compare

Go modules make me cry - like in the sad way. They really hurt me.

Anyway this release exists just to prevent the HTTP 410 error whilst trying to vendor 0.2.4

v0.2.4 Codify improvements

03 Aug 04:17
Compare
Choose a tag to compare

Closing #45
Embedding improvements
Updating go mod release tag

0.2.3 Updating vendoring and bug fixes

01 Aug 22:59
Compare
Choose a tag to compare

This addresses the

../go/pkg/mod/github.com/kris-nova/naml@v0.2.1/codify.go:104:23: undefined: FormatMainGo

error with 0.2.1 and 0.2.2


This also now adds logging to stderr for the naml codify command (if something goes wrong)

0.2.2 The Codify Release

01 Aug 06:16
Compare
Choose a tag to compare

Updating the naml codify feature.

Now working with the following Kubernetes objects in the codify package. I was able to generate working go code from entire namespaces.

  • corev1.Pod
  • appsv1.Deployment
  • appsv1.StatefulSet
  • appsv1.DaemonSet
  • corev1.ConfigMap
  • corev1.Service
  • corev1.PersistentVolume
  • corev1.PersistentVolumeClaim
  • batchv1.Job
  • batchv1.CronJob
  • rbacv1.Role
  • rbacv1.ClusterRole
  • rbacv1.RoleBinding
  • rbacv1.ClusterRoleBinding
  • networkingv1.Ingress
  • appsv1.ReplicaSet
  • corev1.Endpoints

0.2.1 with "codify" in alpha

01 Aug 01:12
28a3a00
Compare
Choose a tag to compare

Releasing the new codify feature. This feature is still in alpha. Use responsibly.

There is a new (alpha) feature codify that will attempt to generate as much go code as possible for existing Kubernetes YAML.

You can pipe valid Kubernetes .yaml to naml codify and it will do it's best to generate as much code as possible for you. This will work best if you know what you are doing and just want a place to get started coding.

Currently the following types are supported. If there is a type that you are looking for that isn't here feel free to open a pull request or submit an issue and I will add it as soon as I can.

  • Service
  • ConfigMap
  • Deployment
  • StatefulSet
  • DaemonSet
  • Deployment
  • Pod
  • List

You can use the codify feature like this:

kubectl get deploy -oyaml | naml codify > main.go
cat configmap.yaml | naml codify > main.go
helm template chart | naml codify > main.go

First firm Deployable interface

09 Jul 02:37
aef71c1
Compare
Choose a tag to compare

Adding .Description() string to the Deployable interface.

After some thought I do believe that the interface is a viable starting point.

I have decided NOT to add the following for this initial release

  • Reconcile()
  • List()
  • Get()
  • IsInstalled()

I believe these are out of scope, and in theory should be handled by another system (such as a controller or operator).

Determining if an application needs to be installed or uninstalled is out of scope.

We just are here for a user to call .Install() or .Uninstall() when they deem necessary.

0.1.4

24 Jun 03:00
Compare
Choose a tag to compare

Minor doc tweaks and updating client.go and registry.go

This should vendor reasonable well by now