Skip to content

Releases: spoved/k8s.cr

v0.1.11

29 Apr 14:31
18f5fd5
Compare
Choose a tag to compare

added k8s v1.27
fixed bug with array property

v0.1.10

08 Feb 20:15
a95e539
Compare
Choose a tag to compare

Adds k8s 1.25 and 1.26 objects

v0.1.9

10 Aug 15:26
fe39f36
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.8...v0.1.9

Fix for Time casting

v0.1.8

08 Aug 20:38
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.7...v0.1.8

v0.1.7

08 Aug 20:29
409c550
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.6...v0.1.7

v0.1.6

01 Aug 19:19
ccf43da
Compare
Choose a tag to compare

Full Changelog: v0.1.5...v0.1.6

Some minor fixes. Biggest change is that k8s_new_resource will throw a K8S::Error::UnknownResource error now that includes the K8S::Kubernetes::Resource::Generic, so that the object can be recovered and used if you are ok with it.

v0.1.5

09 May 21:19
b06bde5
Compare
Choose a tag to compare

Full Changelog: v0.1.4...v0.1.5

v0.1.4

09 May 21:08
33797d8
Compare
Choose a tag to compare

Full Changelog: v0.1.3...v0.1.4

v0.1.3

05 May 15:44
2f8f2e7
Compare
Choose a tag to compare

Full Changelog: v0.1.2...v0.1.3

add ability to pass snakecase keys to objects via hash

example:

::K8S::Kubernetes::Resource.define_object("ImageSpec", "K8S::Types", [
  {name: "name", kind: String, nilable: false},
  {name: "pull_policy", kind: String, nilable: true, key: "imagePullPolicy"},
  {name: "pull_secret", kind: String, nilable: true, key: "imagePullSecret"},
])

image = K8S::Types::ImageSpec.new(
  name: "nginx:latest",
  pull_policy: "IfNotPresent",
)

# is the same as:
image = K8S::Types::ImageSpec.new(
  name: "nginx:latest",
  imagePullPolicy: "IfNotPresent",
)

v0.1.2

26 Apr 22:26
Compare
Choose a tag to compare

Fixes for watch events