Skip to content

Releases: forbearing/k8s

k8s v0.12.4

11 Oct 16:06
Compare
Choose a tag to compare

ClusterRoleBinding Handler

  • Fix: import package metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"'

k8s v0.12.3

09 Oct 14:47
Compare
Choose a tag to compare

Feat: all typed Handler and dynamic Handler:

  • type-switch add a case metav1.Object in function Create()/Update()/Apply()/Patch()/Delete()/Get() to support create/update/apply/patch/delete/get from metav1.Object

k8s v0.12.2

04 Oct 05:56
Compare
Choose a tag to compare

Dyanmic Handler

  • feat: Add GVK() to return the GroupVersionKind of the k8s object.
  • feat: Add GVR() to return the GroupVersionResource of the k8s object.
  • feat: Add IsNamespaced() to return whether the k8s object is namespace-scoped.
  • feat: Add Kind() to return the k8s object kind name.
  • feat: Add Version() to return the k8s object version.
  • feat: Add Resource() to return the k8s object resource name.

k8s v0.12.1

03 Oct 17:25
Compare
Choose a tag to compare

Dynamc handler create k8s resource: remove debug message.

k8s 0.12.0

03 Oct 16:52
Compare
Choose a tag to compare
  1. Update GVK() -> GVK
  2. Update GVR() -> GVR
  3. Update Kind() -> Kind
  4. Update Group() -> Group
  5. Update Version() -> Version
  6. Update Resource() -> Resource

k8s v0.11.8

24 Sep 14:32
Compare
Choose a tag to compare
  • Fix: set tty to false when call Execute() or ExecuteWithStream() to execute command within pod.

k8s v0.11.7

23 Sep 05:16
Compare
Choose a tag to compare
  • Fix: RESTConfig() create rest config incluster will panic

k8s v0.11.6

16 Sep 11:56
Compare
Choose a tag to compare

Feat: add RawConfig() function in package util/client.

k8s v0.11.5

16 Sep 01:57
Compare
Choose a tag to compare
  • Feat: Dynamic Handler support patch typed k8s resource or unstructured object by Patch() method.
  • Fix: all typed handler, ErrInvalidPathType -> ErrInvalidPatchType.

k8s v0.11.4

15 Sep 15:39
Compare
Choose a tag to compare
  • Enh: Change the sequence of type-switch in Create()/Update()/Apply()/Delete()/Get()/Scale()/Log() method.
  • Chg: all namespace-scoped Handler: update Handler.resetNamespace() -> Handler.ResetNamespace().