Java client for Kubernetes & OpenShift
APACHE-2.0 License
Bot releases are hidden (Show)
Published by rohanKanojia over 3 years ago
Published by manusa over 3 years ago
.withPropagationPolicy
and .withGracePeriod
DSL methods can't be combined for Resource API deletion operationscrd-generator-apt
artifact corresponding to the previous crd-generator
artifact, while thecrd-generator-api
artifact can be consumed directly to generate the CRDs at runtime.@EnableOpenShiftMockClient
for OpenShiftClientPublished by manusa over 3 years ago
client.isAdaptable(OpenShiftClient.class)
doesn't work on OpenShift 4Published by manusa over 3 years ago
storage
and served
to Version
annotationShortNames
annotation to specify short names for CRD generationcertificates.k8s.io
v1 and v1beta1 API in KubernetesClient DSLClass.forName
scheduling.k8s.io
v1
and v1beta1
to SchedulingAPIGroupDSLCustomResource
class can now be used as the basis for CRD generationio.fabric8:crd-generator
compile
scope)v1beta1
and v1
versions of the specification at this pointmycrplural.group.example.com
)mycrplural.group.example.com-v1.yml
target/META-INF/fabric8
directory of your projectclient.settings()
DSL has been removed since PodPreset v1alpha1 API is no longer present in Kubernetes 1.20.xclient.customResourceDefinitions()
has been removed. Use client.apiextensions().v1beta1().customResourceDefinitions()
insteadclient.events()
has been removed. Use client.v1().events()
insteadclient.customResource(...)
method is removed. Use client.customResources(...)
with CustomResource configuration in annotations inside POJOsio.fabric8.kubernetes.api.model.scheduling
have been moved to io.fabric8.kubernetes.api.model.scheduling.v1
and io.fabric8.kubernetes.api.model.scheduling.v1beta1
io.fabric8.kubernetes.api.model.admission
have been moved to io.fabric8.kubernetes.api.model.admission.v1
and io.fabric8.kubernetes.api.model.admission.v1beta1
io.fabric8.kubernetes.api.model.certificates
have been moved to io.fabric8.kubernetes.api.model.certificates.v1
and io.fabric8.kubernetes.api.model.certificates.v1beta1
io.fabric8.kubernetes.api.model.events
have been moved to io.fabric8.kubernetes.api.model.events.v1
and io.fabric8.kubernetes.api.model.events.v1beta1
Published by manusa over 3 years ago
Published by manusa over 3 years ago
Published by manusa over 3 years ago
Published by manusa over 3 years ago
Published by manusa over 3 years ago
CustomResource
when possible.initSpec
and initStatus
methods are also provided to allow for overriding of the default implementation.Published by manusa over 3 years ago
Published by manusa almost 4 years ago
CustomResource
Published by manusa almost 4 years ago
http://json-schema.org/draft-05/schema#
)CustomResource
instancesCustomResource
instances must now be annotated with @ApiVersion
and @ApiGroup
so that theHasMetadata
provides default implementations for getApiVersion
and getKind
based on theHasMetadata
and CustomResource
to encapsulate theKind
, ApiVersion
, Group
, Version
, Plural
, Singular
and CRD Name
v1CRDFromCustomResourceType
and v1beta1CRDFromCustomResourceType
methods have beenCustomResourceDefinitionContext
to initialize a CustomResourceDefinitionBuilder
CustomResource
implementation, making it muchCustomResource
is now parameterized by the spec and status types that it uses which further@ApiVersion
and @ApiGroup
to simply @Version
and @Group
, respectively. This was done@ApiVersion
HasMetadata#getApiVersion
Published by manusa almost 4 years ago
http://json-schema.org/draft-05/schema#
)isFinalizerValid
to encapsulate validation logicisFinalizerValid
method on HasMetadata
to encapsulate validation logicPublished by manusa almost 4 years ago
Published by manusa almost 4 years ago
customResources
alternative that simply accepts the resource type as an argument.Published by manusa almost 4 years ago
Note: Breaking changes in the API
Tekton Pipeline v1beta1 sidecars field from a task step is now a list of io.fabric8.tekton.pipeline.v1beta1.Sidecar
instead of a list of io.fabric8.tekton.pipeline.v1beta1.Step
NetworkPolicy
moved to io.fabric8.kubernetes.api.model.networking.v1.NetworkPolicy
from
io.fabric8.kubernetes.api.model.networking.NetworkPolicy
Fix #2557: add missing OpenShiftReadiness.isReadinessApplicable
Published by manusa about 4 years ago
ProjectRequestHandler
causes ClassCastException when handling Project resources.Note Minor breaking changes:
WatchAndWaitable
"combiner" interface.Published by manusa about 4 years ago
Published by manusa about 4 years ago
Config
loading KUBECONFIG with external authentication commandNamespaced
interfaceNote: Some classes have been moved to other packages:
io.fabric8.kubernetes.api.model.apiextensions.v1
and io.fabric8.kubernetes.api.model.apiextensions.v1beta1
io.fabric8.kubernetes.api.model.authorization.v1
and io.fabric8.kubernetes.api.model.authorization.v1beta1
io.fabric8.tekton.pipeline.v1beta1.WorkspacePipelineDeclaration
is now io.fabric8.tekton.pipeline.v1beta1.PipelineWorkspaceDeclaration
Published by rohanKanojia over 4 years ago
withPropagationPolicy()
io.fabric8.kubernetes.client.Config
should expose all and the current context defined in kubeconfig