Skip to content

Commit

Permalink
fix (extensions/certmanager) : Update CertManager extension to latest…
Browse files Browse the repository at this point in the history
… version (fabric8io#4327)

+ Update CertManager extension to latest version (`v1.9.0-beta.1.0.20220829113803-8465f1223efb`)
+ Remove manual model classes with field name `class` (i.e. ACMEChallengeSolverHTTP01Ingress)
+ Remove Deprecated CertManager APIs
  - CertManager v1alpha2, v1alpha3, v1beta1 APIs were deprecated in v1.4.0 and are removed in v1.7.0
    Read https://cert-manager.io/docs/installation/upgrading/remove-deprecated-apis/ for more details
+ Force protobuf and yaml.v2 dependencies to not use vulnerable versions

Signed-off-by: Rohan Kumar <[email protected]>
  • Loading branch information
rohanKanojia committed Aug 29, 2022
1 parent de27297 commit abef0e2
Show file tree
Hide file tree
Showing 254 changed files with 2,807 additions and 46,027 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@
#### Dependency Upgrade
* Bump Knative model to v0.34.0
* Bump Apache Camel-K to v1.9.2
* Bump Cert-Manager to `v1.9.0-beta.1.0.20220829113803-8465f1223efb`

#### New Features
* Fix #2271: Support periodic refresh of access tokens before they expire
* Fix #4333: Implement "attach to pod" functionality

#### _**Note**_: Breaking changes in the API
* Fix #4206: The Serialization utility class will throw an Exception, instead of returning null, if an untyped unmarshall method is used on something that lacks type information
* CertManager v1alpha2, v1alpha3, v1beta1 APIs were deprecated in v1.4.0 and are removed in v1.7.0. They won't be available since this release in Fabric8 CertManager extension. Read [Cert-Manager](https://cert-manager.io/docs/installation/upgrading/remove-deprecated-apis/) docs for more details.for more details

### 5.12.3 (2022-07-27)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,12 @@
*/
package io.fabric8.certmanager.client;


import io.fabric8.certmanager.client.dsl.V1APIGroupDSL;
import io.fabric8.certmanager.client.dsl.V1alpha2APIGroupDSL;
import io.fabric8.certmanager.client.dsl.V1alpha3APIGroupDSL;
import io.fabric8.certmanager.client.dsl.V1beta1APIGroupDSL;
import io.fabric8.kubernetes.client.Client;

/**
* Main interface for CertManager Client library.
*/
public interface CertManagerClient extends Client {
V1APIGroupDSL v1();

V1alpha2APIGroupDSL v1alpha2();

V1alpha3APIGroupDSL v1alpha3();

V1beta1APIGroupDSL v1beta1();
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
package io.fabric8.certmanager.client;

import io.fabric8.certmanager.client.dsl.V1APIGroupDSL;
import io.fabric8.certmanager.client.dsl.V1alpha2APIGroupDSL;
import io.fabric8.certmanager.client.dsl.V1alpha3APIGroupDSL;
import io.fabric8.certmanager.client.dsl.V1beta1APIGroupDSL;
import io.fabric8.kubernetes.client.Client;
import io.fabric8.kubernetes.client.extension.ExtensionAdapter;

Expand All @@ -36,9 +33,6 @@ public CertManagerClient adapt(Client client) {

@Override
public void registerClients(ClientFactory factory) {
factory.register(V1alpha2APIGroupDSL.class, new V1alpha2APIGroupClient());
factory.register(V1alpha3APIGroupDSL.class, new V1alpha3APIGroupClient());
factory.register(V1beta1APIGroupDSL.class, new V1beta1APIGroupClient());
factory.register(V1APIGroupDSL.class, new V1APIGroupClient());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
package io.fabric8.certmanager.client;

import io.fabric8.certmanager.client.dsl.V1APIGroupDSL;
import io.fabric8.certmanager.client.dsl.V1alpha2APIGroupDSL;
import io.fabric8.certmanager.client.dsl.V1alpha3APIGroupDSL;
import io.fabric8.certmanager.client.dsl.V1beta1APIGroupDSL;
import io.fabric8.kubernetes.client.Client;
import io.fabric8.kubernetes.client.Config;
import io.fabric8.kubernetes.client.RequestConfig;
Expand Down Expand Up @@ -55,20 +52,4 @@ public FunctionCallable<NamespacedCertManagerClient> withRequestConfig(RequestCo
public V1APIGroupDSL v1() {
return adapt(V1APIGroupClient.class);
}

@Override
public V1alpha2APIGroupDSL v1alpha2() {
return adapt(V1alpha2APIGroupClient.class);
}

@Override
public V1alpha3APIGroupDSL v1alpha3() {
return adapt(V1alpha3APIGroupClient.class);
}

@Override
public V1beta1APIGroupDSL v1beta1() {
return adapt(V1beta1APIGroupClient.class);
}

}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit abef0e2

Please sign in to comment.