forked from fabric8io/kubernetes-client
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix (extensions/certmanager) : Update CertManager extension to v1.9.1 (…
…fabric8io#4327) + Update CertManager extension to latest version + Force protobuf and yaml.v2 dependencies to not use vulnerable versions Signed-off-by: Rohan Kumar <[email protected]>
- Loading branch information
1 parent
54560cb
commit 143f186
Showing
18 changed files
with
3,215 additions
and
1,144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
module github.com/fabric8io/kubernetes-client/extensions/jetstack/generator | ||
|
||
require ( | ||
github.com/cert-manager/cert-manager v1.9.0-beta.1.0.20220829113803-8465f1223efb | ||
github.com/fabric8io/kubernetes-client/generator v0.0.0 | ||
github.com/jetstack/cert-manager v1.1.1 | ||
k8s.io/apiextensions-apiserver v0.19.0 | ||
k8s.io/apimachinery v0.19.0 | ||
k8s.io/apiextensions-apiserver v0.24.2 | ||
k8s.io/apimachinery v0.24.2 | ||
) | ||
|
||
replace github.com/fabric8io/kubernetes-client/generator v0.0.0 => ./../../../generator | ||
replace ( | ||
github.com/fabric8io/kubernetes-client/generator v0.0.0 => ./../../../generator | ||
github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2 | ||
gopkg.in/yaml.v2 => gopkg.in/yaml.v2 v2.4.0 | ||
) | ||
|
||
go 1.15 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,518 changes: 791 additions & 727 deletions
1,518
...nager/model-v1/src/generated/java/io/fabric8/certmanager/api/model/CertmanagerSchema.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
144 changes: 144 additions & 0 deletions
144
...a/io/fabric8/certmanager/api/model/acme/v1/ACMEChallengeSolverHTTP01GatewayHTTPRoute.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
|
||
package io.fabric8.certmanager.api.model.acme.v1; | ||
|
||
import java.util.ArrayList; | ||
import java.util.HashMap; | ||
import java.util.LinkedHashMap; | ||
import java.util.List; | ||
import java.util.Map; | ||
import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize; | ||
import io.fabric8.kubernetes.api.model.Container; | ||
import io.fabric8.kubernetes.api.model.ContainerPort; | ||
import io.fabric8.kubernetes.api.model.EnvVar; | ||
import io.fabric8.kubernetes.api.model.IntOrString; | ||
import io.fabric8.kubernetes.api.model.KubernetesResource; | ||
import io.fabric8.kubernetes.api.model.LabelSelector; | ||
import io.fabric8.kubernetes.api.model.LocalObjectReference; | ||
import io.fabric8.kubernetes.api.model.ObjectMeta; | ||
import io.fabric8.kubernetes.api.model.ObjectReference; | ||
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; | ||
import io.fabric8.kubernetes.api.model.PodTemplateSpec; | ||
import io.fabric8.kubernetes.api.model.ResourceRequirements; | ||
import io.fabric8.kubernetes.api.model.Volume; | ||
import io.fabric8.kubernetes.api.model.VolumeMount; | ||
import io.fabric8.kubernetes.api.model.gatewayapi.v1alpha2.ParentReference; | ||
import io.sundr.builder.annotations.Buildable; | ||
import io.sundr.builder.annotations.BuildableReference; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.Setter; | ||
import lombok.ToString; | ||
import lombok.experimental.Accessors; | ||
|
||
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
@JsonPropertyOrder({ | ||
"apiVersion", | ||
"kind", | ||
"metadata", | ||
"labels", | ||
"parentRefs", | ||
"serviceType" | ||
}) | ||
@ToString | ||
@EqualsAndHashCode | ||
@Setter | ||
@Accessors(prefix = { | ||
"_", | ||
"" | ||
}) | ||
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { | ||
@BuildableReference(ObjectMeta.class), | ||
@BuildableReference(LabelSelector.class), | ||
@BuildableReference(Container.class), | ||
@BuildableReference(PodTemplateSpec.class), | ||
@BuildableReference(ResourceRequirements.class), | ||
@BuildableReference(IntOrString.class), | ||
@BuildableReference(ObjectReference.class), | ||
@BuildableReference(LocalObjectReference.class), | ||
@BuildableReference(PersistentVolumeClaim.class), | ||
@BuildableReference(EnvVar.class), | ||
@BuildableReference(ContainerPort.class), | ||
@BuildableReference(Volume.class), | ||
@BuildableReference(VolumeMount.class) | ||
}) | ||
public class ACMEChallengeSolverHTTP01GatewayHTTPRoute implements KubernetesResource | ||
{ | ||
|
||
@JsonProperty("labels") | ||
@JsonInclude(JsonInclude.Include.NON_EMPTY) | ||
private Map<String, String> labels = new LinkedHashMap<String, String>(); | ||
@JsonProperty("parentRefs") | ||
@JsonInclude(JsonInclude.Include.NON_EMPTY) | ||
private List<ParentReference> parentRefs = new ArrayList<ParentReference>(); | ||
@JsonProperty("serviceType") | ||
private java.lang.String serviceType; | ||
@JsonIgnore | ||
private Map<java.lang.String, Object> additionalProperties = new HashMap<java.lang.String, Object>(); | ||
|
||
/** | ||
* No args constructor for use in serialization | ||
* | ||
*/ | ||
public ACMEChallengeSolverHTTP01GatewayHTTPRoute() { | ||
} | ||
|
||
/** | ||
* | ||
* @param serviceType | ||
* @param parentRefs | ||
* @param labels | ||
*/ | ||
public ACMEChallengeSolverHTTP01GatewayHTTPRoute(Map<String, String> labels, List<ParentReference> parentRefs, java.lang.String serviceType) { | ||
super(); | ||
this.labels = labels; | ||
this.parentRefs = parentRefs; | ||
this.serviceType = serviceType; | ||
} | ||
|
||
@JsonProperty("labels") | ||
public Map<String, String> getLabels() { | ||
return labels; | ||
} | ||
|
||
@JsonProperty("labels") | ||
public void setLabels(Map<String, String> labels) { | ||
this.labels = labels; | ||
} | ||
|
||
@JsonProperty("parentRefs") | ||
public List<ParentReference> getParentRefs() { | ||
return parentRefs; | ||
} | ||
|
||
@JsonProperty("parentRefs") | ||
public void setParentRefs(List<ParentReference> parentRefs) { | ||
this.parentRefs = parentRefs; | ||
} | ||
|
||
@JsonProperty("serviceType") | ||
public java.lang.String getServiceType() { | ||
return serviceType; | ||
} | ||
|
||
@JsonProperty("serviceType") | ||
public void setServiceType(java.lang.String serviceType) { | ||
this.serviceType = serviceType; | ||
} | ||
|
||
@JsonAnyGetter | ||
public Map<java.lang.String, Object> getAdditionalProperties() { | ||
return this.additionalProperties; | ||
} | ||
|
||
@JsonAnySetter | ||
public void setAdditionalProperty(java.lang.String name, Object value) { | ||
this.additionalProperties.put(name, value); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.