mint
1.6.0, there's no need for setting insecure_skip_tls_verify: true
anymore in most cases. (https://github.com/elixir-mint/mint/pull/418). Documentation and examples were adapted.Full Changelog: https://github.com/coryodaniel/k8s/compare/2.6.0...2.6.1
Published by mruoss 7 months ago
K8s.Conn.Auth
providers now cache values, and periodically refresh their values. #302. because of this clusters using Exec commands to generate auth tokens will see greatly improved performance.Full Changelog: https://github.com/coryodaniel/k8s/compare/2.5.0...2.6.0
Published by mruoss 12 months ago
K8s.Conn
- Add namespace info in case of service account connection. #291
Full Changelog: https://github.com/coryodaniel/k8s/compare/2.4.2...2.5.0
Published by mruoss about 1 year ago
K8s.Client.Mint.HTTPAdapter
- Only stop the process if the connection is closed for reading (and writing). - #280, #285
Full Changelog: https://github.com/coryodaniel/k8s/compare/2.4.1...2.4.2
Published by mruoss about 1 year ago
Full Changelog: https://github.com/coryodaniel/k8s/compare/2.4.0...2.4.1
Published by mruoss over 1 year ago
K8s.Client.wait_until/2
- Allow passing DELETE operations in order to wait for deletion. - #262
Full Changelog: https://github.com/coryodaniel/k8s/compare/2.3.0...2.4.0
Published by mruoss over 1 year ago
K8s.Client.connect/4
- Support connecting to pods/log
subresource. - #254, #255
K8s.Conn.from_env/2
- Generates configuration from a file defined by an env variable. - #251
K8s.Conn
- Better hexdocsFull Changelog: https://github.com/coryodaniel/k8s/compare/2.2.0...2.3.0
Published by mruoss over 1 year ago
K8s.Conn.Auth.Exec
- Define default value for :args
- #240
Full Changelog: https://github.com/coryodaniel/k8s/compare/2.1.1...2.2.0
Published by mruoss over 1 year ago
Full Changelog: https://github.com/coryodaniel/k8s/compare/2.1.0...2.1.1
Published by mruoss over 1 year ago
opts
to K8s.Conn.from_file/N
and K8s.Conn.from_service_account/N
in order to be able to pass :insecure_skip_tls_verify
option directly. - #230, #203
Full Changelog: https://github.com/coryodaniel/k8s/compare/2.0.3...2.1.0
Published by mruoss over 1 year ago
Genserver.reply()
was removed.Published by mruoss over 1 year ago
Full Changelog: https://github.com/coryodaniel/k8s/compare/2.0.1...2.0.2
Published by mruoss over 1 year ago
Full Changelog: https://github.com/coryodaniel/k8s/compare/2.0.0...2.0.1
Thanks @elliottneilclark for your help.
This version comes with some breaking changes. Please refer to the migrations guide for help on how to migrate your projects to this version.
K8s.Selector.label_not/N
, K8s.Selector.field/N
and K8s.Selector.field_not/N
- Support for field selectors (#117)K8s.Client.Provider.stream/5
callback was added to the behaviourK8s.Client.Runner.Base.stream/3
K8s.Client.Provider.stream_to/6
callback was added to the behaviourK8s.Client.Runner.Base.stream_to/4
K8s.Client.MintHTTPProvider
- The mint client implementationK8s.Client.HTTPTestHelper
- to be used in tests (resides in lib/
so it can be used by dependents):connect
operations (connections) now accept messages to be sent to pods if using K8s.Client.stream_to/N
K8s.Client.put_conn/2
to add pielining support to the Client APIK8s.Client.Provider
behaviour was adapted to the new internal architectureK8s.Client.watch/N
now returns a :watch
or :watch_all_namespaces
operation to be passed to K8s.Client.stream/N
Websockex
was replaced by Mint.WebSocket
K8s.Client.HTTPProvider
was removed in favor of K8s.Client.MintHTTPProvider
:stream_to
in http_opts
was removed in favor of K8s.Client.stream_to/N
and K8s.Client.stream/N
.K8s.Client.DynamicWebSocketProvider
was removed. Use K8s.Client.DynamcHTTPProvider.websocket*
functions instead .DynamicHTTPProvider
which work with watch_and_stream
are going to need to be changed. The HTTP mocks now need to implement the stream/5
callback. (See K8s.Client.Runner.Watch.StreamTest
on this branch for examples)d.K8s.Client.DynamicWebSocketProvider
was removed in favor of K8s.Client.DynamcHTTPProvider.websocket*
functions.:stream_to
in http_opts
is not supported anymore. Use K8s.Client.stream/N
and K8s.Client.stream_to/N
instead.K8s.Client.HTTPError
headers/1
callback was removed from K8s.Client.Provider
behaviour.K8s.Client.HTTPProvider
(HTTPoison implementation) was removed.K8s.Client.watch/N
now returns a :watch
or :watch_all_namespaces
operation to be passed to K8s.Client.stream/N
PKI.cert_from_map/2
to support fully qualified domain names (FQDN) - Fix for K8s.Conn.from_file/1
(#164)Published by mruoss almost 2 years ago
Full Changelog: https://github.com/coryodaniel/k8s/compare/2.0.0-rc.5...2.0.0-rc.6
Published by mruoss almost 2 years ago
:poolboy
- Pooling for HTTP/1 connectionsK8s.Client.Mint.HTTPAdapter
- Monitor caller and cleanup state upon :DOWN
Full Changelog: https://github.com/coryodaniel/k8s/compare/2.0.0-rc.3...2.0.0-rc.4