Skip to content

Commit

Permalink
update readme and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinon committed Apr 21, 2022
1 parent 65f66f1 commit 4fb80fd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,21 +144,21 @@ pods = client.api("v1").resource("pods", namespace: "default").delete_collection

```crystal
pod = K8S::Api::Core::V1::Pod.new(
metadata: ::K8S::ObjectMeta.new(
name: name.nil? ? random_string(10) : name,
metadata: {
name: "pod-name",
namespace: "default",
labels: {
"app" => "kube-client-test",
},
),
spec: K8S::Api::Core::V1::PodSpec.new(
},
spec: {
containers: [
K8S::Api::Core::V1::Container.new(
{
name: "test",
image: "test",
),
},
],
)
}
)
logger.info "Create pod=#{pod.metadata!.name} in namespace=#{pod.metadata!.namespace}"
Expand Down
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors:
repository: "https://github.com/spoved/kube-client.cr"
license: MIT

version: 0.3.2
version: 0.4.0
crystal: ">= 1.2.2, < 2.0.0"

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion src/kube-client/version.cr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Kube
class Client
VERSION = "0.3.2"
VERSION = "0.4.0"
end
end

0 comments on commit 4fb80fd

Please sign in to comment.