Saturday, March 16, 2019

Harvesting Patterns from other go Operators

In an effort to come up to speed with Operator development, I decided to look into harvesting some patterns from the existing Operators in the open source community. 

Looking into the Etcd Operator and I can see a type that definitely seems like a good idea.

One interesting field is

BusyboxImage string `json:"busyboxImage,omitempty"`


I am thinking that this may be useful
 to configure initialization containers


/go/src/github.com/coreos/etcd-operator/pkg/apis/etcd/v1beta2/cluster.go




See more here

https://www.evernote.com/shard/s17/sh/4a3d3b43-1718-478a-a25a-8836bfda408d/54452771d0db3168193cd047dacac7e6

No comments: