diff --git a/Makefile b/Makefile
index b56cdd85a6a..3f0165260bc 100644
--- a/Makefile
+++ b/Makefile
@@ -65,6 +65,7 @@ generate-openapi-classes:
cd kubernetes-model-generator/openshift-model-autoscaling && mvn -Pgenerate clean install
cd kubernetes-model-generator/openshift-model-machine && mvn -Pgenerate clean install
cd kubernetes-model-generator/openshift-model-machineconfiguration && mvn -Pgenerate clean install
+ cd kubernetes-model-generator/openshift-model-monitoring && mvn -Pgenerate clean install
# Legacy generation of the model: TODO: remove
.PHONY: generate-model-legacy
diff --git a/kubernetes-model-generator/generateModel.sh b/kubernetes-model-generator/generateModel.sh
index 74538a1da5a..1640d20d35e 100755
--- a/kubernetes-model-generator/generateModel.sh
+++ b/kubernetes-model-generator/generateModel.sh
@@ -24,7 +24,6 @@ ABSOLUTE_BASEDIR=$(realpath "$BASEDIR")
declare -a modules=(
"openshift-model-hive"
"openshift-model-installer"
- "openshift-model-monitoring"
"openshift-model-tuned"
"openshift-model-whereabouts"
"openshift-model-storageversionmigrator"
diff --git a/kubernetes-model-generator/kubernetes-model-core/pom.xml b/kubernetes-model-generator/kubernetes-model-core/pom.xml
index 91b4a0d70b2..5510b6254b0 100644
--- a/kubernetes-model-generator/kubernetes-model-core/pom.xml
+++ b/kubernetes-model-generator/kubernetes-model-core/pom.xml
@@ -71,13 +71,13 @@
io.fabric8.kubernetes.api.model.storage,
io.fabric8.kubernetes.api.model.storage.v1beta1,
io.fabric8.openshift.api.model;resolution:=optional,
- io.fabric8.openshift.api.model.clusterautoscaling.v1;resolution:=optional,
- io.fabric8.openshift.api.model.clusterautoscaling.v1beta1;resolution:=optional,
+ io.fabric8.openshift.api.model.autoscaling.v1;resolution:=optional,
+ io.fabric8.openshift.api.model.autoscaling.v1beta1;resolution:=optional,
io.fabric8.openshift.api.model.runtime;resolution:=optional,
io.fabric8.openshift.api.model.console.v1;resolution:=optional,
io.fabric8.openshift.api.model.console.v1alpha1;resolution:=optional,
io.fabric8.openshift.api.model.monitoring.v1;resolution:=optional,
- io.fabric8.openshift.api.model.monitoring.v1alpha1;resolution:=optional,
+ io.fabric8.openshift.api.model.monitoring.v1beta1;resolution:=optional,
io.fabric8.openshift.api.model.operator;resolution:=optional,
io.fabric8.openshift.api.model.operator.v1;resolution:=optional,
io.fabric8.openshift.api.model.operator.v1alpha1;resolution:=optional,
@@ -86,7 +86,7 @@
io.fabric8.openshift.api.model.operatorhub.v1;resolution:=optional,
io.fabric8.openshift.api.model.operatorhub.v1alpha1;resolution:=optional,
io.fabric8.openshift.api.model.operatorhub.lifecyclemanager.v1;resolution:=optional,
- io.fabric8.openshift.api.model.machineconfig.v1;resolution:=optional,
+ io.fabric8.openshift.api.model.machineconfiguration.v1;resolution:=optional,
io.fabric8.openshift.api.model.machine.v1beta1;resolution:=optional,
io.fabric8.openshift.api.model.tuned.v1;resolution:=optional,
io.fabric8.openshift.api.model.whereabouts.v1alpha1;resolution:=optional,
@@ -106,9 +106,9 @@
osgi.extender;
- filter:="(osgi.extender=osgi.serviceloader.processor)",
+ filter:="(osgi.extender=osgi.serviceloader.processor)",
osgi.serviceloader;
- filter:="(osgi.serviceloader=io.fabric8.kubernetes.api.model.KubernetesResource)";
+ filter:="(osgi.serviceloader=io.fabric8.kubernetes.api.model.KubernetesResource)";
cardinality:=multiple
diff --git a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/schema/SchemaUtils.java b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/schema/SchemaUtils.java
index a049acf5056..58f5887e1ae 100644
--- a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/schema/SchemaUtils.java
+++ b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/schema/SchemaUtils.java
@@ -138,16 +138,23 @@ public class SchemaUtils {
private static final Set PROTECTED_WORDS = new HashSet<>(Arrays.asList(
"abstract",
+ "class",
"continue",
"default",
"enum",
- "class",
+ "for",
"import",
"int",
+ "package",
"private",
- "for",
"return",
- "package"));
+ "short",
+ "static"));
+
+ private static final Map MAPPED_WORDS = new LinkedHashMap<>();
+ static {
+ MAPPED_WORDS.put("class", "clazz");
+ }
private final GeneratorSettings settings;
@@ -355,15 +362,20 @@ public static String removeDashes(String variable) {
public static String sanitizeVariable(String variable) {
final String sanitized = uncapitalize(removeDashes(variable));
- return PROTECTED_WORDS.contains(sanitized) ? "_" + sanitized : sanitized;
+ final String mapped = MAPPED_WORDS.getOrDefault(sanitized, sanitized);
+ return PROTECTED_WORDS.contains(mapped) ? "_" + mapped : mapped;
}
public static String getterName(String variable) {
- return "get".concat(capitalize(removeDashes(variable)));
+ final String property = removeDashes(variable);
+ final String mapped = MAPPED_WORDS.getOrDefault(property, property);
+ return "get".concat(capitalize(mapped));
}
public static String setterName(String variable) {
- return "set".concat(capitalize(removeDashes(variable)));
+ final String property = removeDashes(variable);
+ final String mapped = MAPPED_WORDS.getOrDefault(property, property);
+ return "set".concat(capitalize(mapped));
}
public Map> extractComponentSchemas() {
diff --git a/kubernetes-model-generator/openshift-model-monitoring/Makefile b/kubernetes-model-generator/openshift-model-monitoring/Makefile
deleted file mode 100644
index c09a7003874..00000000000
--- a/kubernetes-model-generator/openshift-model-monitoring/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Copyright (C) 2015 Red Hat, Inc.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-SHELL := /bin/bash
-
-all: build
-
-build: gobuild
- mvn -Pgenerate clean install -DskipTests
-
-gobuild:
- CGO_ENABLED=0 GO15VENDOREXPERIMENT=1 go build -a ./cmd/generate/generate.go
- ./generate > src/main/resources/schema/kube-schema.json
- ./generate validation > src/main/resources/schema/validation-schema.json
diff --git a/kubernetes-model-generator/openshift-model-monitoring/cmd/generate/generate.go b/kubernetes-model-generator/openshift-model-monitoring/cmd/generate/generate.go
deleted file mode 100644
index f5685231d02..00000000000
--- a/kubernetes-model-generator/openshift-model-monitoring/cmd/generate/generate.go
+++ /dev/null
@@ -1,112 +0,0 @@
-/**
- * Copyright (C) 2015 Red Hat, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package main
-
-import (
- "bytes"
- "encoding/json"
- "fmt"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- apimachineryversion "k8s.io/apimachinery/pkg/version"
- "log"
- "reflect"
- "strings"
- "time"
- prometheus "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1"
- prometheusv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1"
- v1apiextensions "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
-
- "os"
-
- "github.com/fabric8io/kubernetes-client/kubernetes-model-generator/pkg/schemagen"
-)
-
-type Schema struct {
- Info apimachineryversion.Info
- APIGroup metav1.APIGroup
- APIGroupList metav1.APIGroupList
- BaseKubernetesList metav1.List
- ObjectMeta metav1.ObjectMeta
- TypeMeta metav1.TypeMeta
- Status metav1.Status
- Patch metav1.Patch
- Time metav1.Time
- Alertmanager prometheus.Alertmanager
- AlertmanagerList prometheus.AlertmanagerList
- PodMonitor prometheus.PodMonitor
- PodMonitorList prometheus.PodMonitorList
- Prometheus prometheus.Prometheus
- PrometheusList prometheus.PrometheusList
- PrometheusRule prometheus.PrometheusRule
- PrometheusRuleList prometheus.PrometheusRuleList
- ServiceMonitor prometheus.ServiceMonitor
- ServiceMonitorList prometheus.ServiceMonitorList
- AlertmanagerConfig prometheusv1alpha1.AlertmanagerConfig
- AlertmanagerConfigList prometheusv1alpha1.AlertmanagerConfigList
- Probe prometheus.Probe
- ProbeList prometheus.ProbeList
- ThanosRuler prometheus.ThanosRuler
- ThanosRulerList prometheus.ThanosRulerList
-}
-
-func main() {
- packages := []schemagen.PackageDescriptor{
- {"k8s.io/api/core/v1", "", "io.fabric8.kubernetes.api.model", "kubernetes_core_", false},
- {"k8s.io/apimachinery/pkg/api/resource", "", "io.fabric8.kubernetes.api.model", "kubernetes_resource_", false},
- {"k8s.io/apimachinery/pkg/util/intstr", "", "io.fabric8.kubernetes.api.model", "kubernetes_apimachinery_pkg_util_intstr_", false},
- {"k8s.io/apimachinery/pkg/runtime", "", "io.fabric8.openshift.api.model.runtime", "kubernetes_apimachinery_pkg_runtime_", false},
- {"k8s.io/apimachinery/pkg/version", "", "io.fabric8.kubernetes.api.model.version", "kubernetes_apimachinery_pkg_version_", false},
- {"k8s.io/kubernetes/pkg/util", "", "io.fabric8.kubernetes.api.model", "kubernetes_util_", false},
- {"k8s.io/kubernetes/pkg/api/errors", "", "io.fabric8.kubernetes.api.model", "kubernetes_errors_", false},
- {"k8s.io/kubernetes/pkg/api/unversioned", "", "io.fabric8.kubernetes.api.model", "api_", false},
- {"k8s.io/apimachinery/pkg/apis/meta/v1", "", "io.fabric8.kubernetes.api.model", "kubernetes_apimachinery_", false},
- {"github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1", "monitoring.coreos.com", "io.fabric8.openshift.api.model.monitoring.v1", "os_monitoring_v1_", true},
- {"github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1", "monitoring.coreos.com", "io.fabric8.openshift.api.model.monitoring.v1alpha1", "os_monitoring_v1alpha1_", true},
- }
-
- typeMap := map[reflect.Type]reflect.Type{
- reflect.TypeOf(time.Time{}): reflect.TypeOf(""),
- reflect.TypeOf(struct{}{}): reflect.TypeOf(""),
- }
- manualTypeMap := map[reflect.Type]string{
- reflect.TypeOf(v1apiextensions.JSON{}): "com.fasterxml.jackson.databind.JsonNode",
- }
- schema, err := schemagen.GenerateSchema(reflect.TypeOf(Schema{}), packages, typeMap, manualTypeMap,"monitoring")
- if err != nil {
- fmt.Fprintf(os.Stderr, "An error occurred: %v", err)
- return
- }
-
- args := os.Args[1:]
- if len(args) < 1 || args[0] != "validation" {
- schema.Resources = nil
- }
-
- b, err := json.Marshal(&schema)
- if err != nil {
- log.Fatal(err)
- }
- result := string(b)
- result = strings.Replace(result, "\"additionalProperty\":", "\"additionalProperties\":", -1)
-
- var out bytes.Buffer
- err = json.Indent(&out, []byte(result), "", " ")
- if err != nil {
- log.Fatal(err)
- }
-
- fmt.Println(out.String())
-}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/pom.xml b/kubernetes-model-generator/openshift-model-monitoring/pom.xml
index 1f4487d02df..1b04b281a60 100644
--- a/kubernetes-model-generator/openshift-model-monitoring/pom.xml
+++ b/kubernetes-model-generator/openshift-model-monitoring/pom.xml
@@ -43,37 +43,34 @@
io.fabric8
kubernetes-model-core
-
- io.fabric8
- kubernetes-model-common
-
-
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
-
-
- attach-artifacts
-
- false
-
-
-
-
-
-
-
generate
- org.jsonschema2pojo
- jsonschema2pojo-maven-plugin
+ io.fabric8
+ openapi-model-generator-maven-plugin
+
+
+
+ ${openapi.schema.openshift-latest}
+
+
+ io.fabric8.kubernetes.api.model
+ io.fabric8.openshift.api.model.monitoring
+
+
+ ^com\.coreos\.monitoring\.v1\..*$
+ ^com\.coreos\.monitoring\.v1beta1\..*$
+
+
+ io.fabric8.kubernetes.api.model.LabelSelectorRequirement
+
+
+
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java
deleted file mode 100644
index 9ae3b41fcaa..00000000000
--- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java
+++ /dev/null
@@ -1,360 +0,0 @@
-
-package io.fabric8.kubernetes.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import io.fabric8.kubernetes.api.model.version.Info;
-import io.fabric8.openshift.api.model.monitoring.v1.Alertmanager;
-import io.fabric8.openshift.api.model.monitoring.v1.AlertmanagerList;
-import io.fabric8.openshift.api.model.monitoring.v1.PodMonitor;
-import io.fabric8.openshift.api.model.monitoring.v1.PodMonitorList;
-import io.fabric8.openshift.api.model.monitoring.v1.Probe;
-import io.fabric8.openshift.api.model.monitoring.v1.ProbeList;
-import io.fabric8.openshift.api.model.monitoring.v1.Prometheus;
-import io.fabric8.openshift.api.model.monitoring.v1.PrometheusList;
-import io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule;
-import io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleList;
-import io.fabric8.openshift.api.model.monitoring.v1.ServiceMonitor;
-import io.fabric8.openshift.api.model.monitoring.v1.ServiceMonitorList;
-import io.fabric8.openshift.api.model.monitoring.v1.ThanosRuler;
-import io.fabric8.openshift.api.model.monitoring.v1.ThanosRulerList;
-import io.fabric8.openshift.api.model.monitoring.v1alpha1.AlertmanagerConfig;
-import io.fabric8.openshift.api.model.monitoring.v1alpha1.AlertmanagerConfigList;
-
-@Generated("jsonschema2pojo")
-public class KubeSchema {
-
- private APIGroup aPIGroup;
- private APIGroupList aPIGroupList;
- private Alertmanager alertmanager;
- private AlertmanagerConfig alertmanagerConfig;
- private AlertmanagerConfigList alertmanagerConfigList;
- private AlertmanagerList alertmanagerList;
- private KubernetesList baseKubernetesList;
- private Info info;
- private ObjectMeta objectMeta;
- private Patch patch;
- private PodMonitor podMonitor;
- private PodMonitorList podMonitorList;
- private Probe probe;
- private ProbeList probeList;
- private Prometheus prometheus;
- private PrometheusList prometheusList;
- private PrometheusRule prometheusRule;
- private PrometheusRuleList prometheusRuleList;
- private ServiceMonitor serviceMonitor;
- private ServiceMonitorList serviceMonitorList;
- private Status status;
- private ThanosRuler thanosRuler;
- private ThanosRulerList thanosRulerList;
- private String time;
- private TypeMeta typeMeta;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public KubeSchema() {
- }
-
- public KubeSchema(APIGroup aPIGroup, APIGroupList aPIGroupList, Alertmanager alertmanager, AlertmanagerConfig alertmanagerConfig, AlertmanagerConfigList alertmanagerConfigList, AlertmanagerList alertmanagerList, KubernetesList baseKubernetesList, Info info, ObjectMeta objectMeta, Patch patch, PodMonitor podMonitor, PodMonitorList podMonitorList, Probe probe, ProbeList probeList, Prometheus prometheus, PrometheusList prometheusList, PrometheusRule prometheusRule, PrometheusRuleList prometheusRuleList, ServiceMonitor serviceMonitor, ServiceMonitorList serviceMonitorList, Status status, ThanosRuler thanosRuler, ThanosRulerList thanosRulerList, String time, TypeMeta typeMeta) {
- super();
- this.aPIGroup = aPIGroup;
- this.aPIGroupList = aPIGroupList;
- this.alertmanager = alertmanager;
- this.alertmanagerConfig = alertmanagerConfig;
- this.alertmanagerConfigList = alertmanagerConfigList;
- this.alertmanagerList = alertmanagerList;
- this.baseKubernetesList = baseKubernetesList;
- this.info = info;
- this.objectMeta = objectMeta;
- this.patch = patch;
- this.podMonitor = podMonitor;
- this.podMonitorList = podMonitorList;
- this.probe = probe;
- this.probeList = probeList;
- this.prometheus = prometheus;
- this.prometheusList = prometheusList;
- this.prometheusRule = prometheusRule;
- this.prometheusRuleList = prometheusRuleList;
- this.serviceMonitor = serviceMonitor;
- this.serviceMonitorList = serviceMonitorList;
- this.status = status;
- this.thanosRuler = thanosRuler;
- this.thanosRulerList = thanosRulerList;
- this.time = time;
- this.typeMeta = typeMeta;
- }
-
- @JsonProperty("APIGroup")
- public APIGroup getAPIGroup() {
- return aPIGroup;
- }
-
- @JsonProperty("APIGroup")
- public void setAPIGroup(APIGroup aPIGroup) {
- this.aPIGroup = aPIGroup;
- }
-
- @JsonProperty("APIGroupList")
- public APIGroupList getAPIGroupList() {
- return aPIGroupList;
- }
-
- @JsonProperty("APIGroupList")
- public void setAPIGroupList(APIGroupList aPIGroupList) {
- this.aPIGroupList = aPIGroupList;
- }
-
- @JsonProperty("Alertmanager")
- public Alertmanager getAlertmanager() {
- return alertmanager;
- }
-
- @JsonProperty("Alertmanager")
- public void setAlertmanager(Alertmanager alertmanager) {
- this.alertmanager = alertmanager;
- }
-
- @JsonProperty("AlertmanagerConfig")
- public AlertmanagerConfig getAlertmanagerConfig() {
- return alertmanagerConfig;
- }
-
- @JsonProperty("AlertmanagerConfig")
- public void setAlertmanagerConfig(AlertmanagerConfig alertmanagerConfig) {
- this.alertmanagerConfig = alertmanagerConfig;
- }
-
- @JsonProperty("AlertmanagerConfigList")
- public AlertmanagerConfigList getAlertmanagerConfigList() {
- return alertmanagerConfigList;
- }
-
- @JsonProperty("AlertmanagerConfigList")
- public void setAlertmanagerConfigList(AlertmanagerConfigList alertmanagerConfigList) {
- this.alertmanagerConfigList = alertmanagerConfigList;
- }
-
- @JsonProperty("AlertmanagerList")
- public AlertmanagerList getAlertmanagerList() {
- return alertmanagerList;
- }
-
- @JsonProperty("AlertmanagerList")
- public void setAlertmanagerList(AlertmanagerList alertmanagerList) {
- this.alertmanagerList = alertmanagerList;
- }
-
- @JsonProperty("BaseKubernetesList")
- public KubernetesList getBaseKubernetesList() {
- return baseKubernetesList;
- }
-
- @JsonProperty("BaseKubernetesList")
- public void setBaseKubernetesList(KubernetesList baseKubernetesList) {
- this.baseKubernetesList = baseKubernetesList;
- }
-
- @JsonProperty("Info")
- public Info getInfo() {
- return info;
- }
-
- @JsonProperty("Info")
- public void setInfo(Info info) {
- this.info = info;
- }
-
- @JsonProperty("ObjectMeta")
- public ObjectMeta getObjectMeta() {
- return objectMeta;
- }
-
- @JsonProperty("ObjectMeta")
- public void setObjectMeta(ObjectMeta objectMeta) {
- this.objectMeta = objectMeta;
- }
-
- @JsonProperty("Patch")
- public Patch getPatch() {
- return patch;
- }
-
- @JsonProperty("Patch")
- public void setPatch(Patch patch) {
- this.patch = patch;
- }
-
- @JsonProperty("PodMonitor")
- public PodMonitor getPodMonitor() {
- return podMonitor;
- }
-
- @JsonProperty("PodMonitor")
- public void setPodMonitor(PodMonitor podMonitor) {
- this.podMonitor = podMonitor;
- }
-
- @JsonProperty("PodMonitorList")
- public PodMonitorList getPodMonitorList() {
- return podMonitorList;
- }
-
- @JsonProperty("PodMonitorList")
- public void setPodMonitorList(PodMonitorList podMonitorList) {
- this.podMonitorList = podMonitorList;
- }
-
- @JsonProperty("Probe")
- public Probe getProbe() {
- return probe;
- }
-
- @JsonProperty("Probe")
- public void setProbe(Probe probe) {
- this.probe = probe;
- }
-
- @JsonProperty("ProbeList")
- public ProbeList getProbeList() {
- return probeList;
- }
-
- @JsonProperty("ProbeList")
- public void setProbeList(ProbeList probeList) {
- this.probeList = probeList;
- }
-
- @JsonProperty("Prometheus")
- public Prometheus getPrometheus() {
- return prometheus;
- }
-
- @JsonProperty("Prometheus")
- public void setPrometheus(Prometheus prometheus) {
- this.prometheus = prometheus;
- }
-
- @JsonProperty("PrometheusList")
- public PrometheusList getPrometheusList() {
- return prometheusList;
- }
-
- @JsonProperty("PrometheusList")
- public void setPrometheusList(PrometheusList prometheusList) {
- this.prometheusList = prometheusList;
- }
-
- @JsonProperty("PrometheusRule")
- public PrometheusRule getPrometheusRule() {
- return prometheusRule;
- }
-
- @JsonProperty("PrometheusRule")
- public void setPrometheusRule(PrometheusRule prometheusRule) {
- this.prometheusRule = prometheusRule;
- }
-
- @JsonProperty("PrometheusRuleList")
- public PrometheusRuleList getPrometheusRuleList() {
- return prometheusRuleList;
- }
-
- @JsonProperty("PrometheusRuleList")
- public void setPrometheusRuleList(PrometheusRuleList prometheusRuleList) {
- this.prometheusRuleList = prometheusRuleList;
- }
-
- @JsonProperty("ServiceMonitor")
- public ServiceMonitor getServiceMonitor() {
- return serviceMonitor;
- }
-
- @JsonProperty("ServiceMonitor")
- public void setServiceMonitor(ServiceMonitor serviceMonitor) {
- this.serviceMonitor = serviceMonitor;
- }
-
- @JsonProperty("ServiceMonitorList")
- public ServiceMonitorList getServiceMonitorList() {
- return serviceMonitorList;
- }
-
- @JsonProperty("ServiceMonitorList")
- public void setServiceMonitorList(ServiceMonitorList serviceMonitorList) {
- this.serviceMonitorList = serviceMonitorList;
- }
-
- @JsonProperty("Status")
- public Status getStatus() {
- return status;
- }
-
- @JsonProperty("Status")
- public void setStatus(Status status) {
- this.status = status;
- }
-
- @JsonProperty("ThanosRuler")
- public ThanosRuler getThanosRuler() {
- return thanosRuler;
- }
-
- @JsonProperty("ThanosRuler")
- public void setThanosRuler(ThanosRuler thanosRuler) {
- this.thanosRuler = thanosRuler;
- }
-
- @JsonProperty("ThanosRulerList")
- public ThanosRulerList getThanosRulerList() {
- return thanosRulerList;
- }
-
- @JsonProperty("ThanosRulerList")
- public void setThanosRulerList(ThanosRulerList thanosRulerList) {
- this.thanosRulerList = thanosRulerList;
- }
-
- @JsonProperty("Time")
- public String getTime() {
- return time;
- }
-
- @JsonProperty("Time")
- public void setTime(String time) {
- this.time = time;
- }
-
- @JsonProperty("TypeMeta")
- public TypeMeta getTypeMeta() {
- return typeMeta;
- }
-
- @JsonProperty("TypeMeta")
- public void setTypeMeta(TypeMeta typeMeta) {
- this.typeMeta = typeMeta;
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java
deleted file mode 100644
index f999d49e061..00000000000
--- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java
+++ /dev/null
@@ -1,360 +0,0 @@
-
-package io.fabric8.kubernetes.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import io.fabric8.kubernetes.api.model.version.Info;
-import io.fabric8.openshift.api.model.monitoring.v1.Alertmanager;
-import io.fabric8.openshift.api.model.monitoring.v1.AlertmanagerList;
-import io.fabric8.openshift.api.model.monitoring.v1.PodMonitor;
-import io.fabric8.openshift.api.model.monitoring.v1.PodMonitorList;
-import io.fabric8.openshift.api.model.monitoring.v1.Probe;
-import io.fabric8.openshift.api.model.monitoring.v1.ProbeList;
-import io.fabric8.openshift.api.model.monitoring.v1.Prometheus;
-import io.fabric8.openshift.api.model.monitoring.v1.PrometheusList;
-import io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule;
-import io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleList;
-import io.fabric8.openshift.api.model.monitoring.v1.ServiceMonitor;
-import io.fabric8.openshift.api.model.monitoring.v1.ServiceMonitorList;
-import io.fabric8.openshift.api.model.monitoring.v1.ThanosRuler;
-import io.fabric8.openshift.api.model.monitoring.v1.ThanosRulerList;
-import io.fabric8.openshift.api.model.monitoring.v1alpha1.AlertmanagerConfig;
-import io.fabric8.openshift.api.model.monitoring.v1alpha1.AlertmanagerConfigList;
-
-@Generated("jsonschema2pojo")
-public class ValidationSchema {
-
- private APIGroup aPIGroup;
- private APIGroupList aPIGroupList;
- private Alertmanager alertmanager;
- private AlertmanagerConfig alertmanagerConfig;
- private AlertmanagerConfigList alertmanagerConfigList;
- private AlertmanagerList alertmanagerList;
- private KubernetesList baseKubernetesList;
- private Info info;
- private ObjectMeta objectMeta;
- private Patch patch;
- private PodMonitor podMonitor;
- private PodMonitorList podMonitorList;
- private Probe probe;
- private ProbeList probeList;
- private Prometheus prometheus;
- private PrometheusList prometheusList;
- private PrometheusRule prometheusRule;
- private PrometheusRuleList prometheusRuleList;
- private ServiceMonitor serviceMonitor;
- private ServiceMonitorList serviceMonitorList;
- private Status status;
- private ThanosRuler thanosRuler;
- private ThanosRulerList thanosRulerList;
- private String time;
- private TypeMeta typeMeta;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ValidationSchema() {
- }
-
- public ValidationSchema(APIGroup aPIGroup, APIGroupList aPIGroupList, Alertmanager alertmanager, AlertmanagerConfig alertmanagerConfig, AlertmanagerConfigList alertmanagerConfigList, AlertmanagerList alertmanagerList, KubernetesList baseKubernetesList, Info info, ObjectMeta objectMeta, Patch patch, PodMonitor podMonitor, PodMonitorList podMonitorList, Probe probe, ProbeList probeList, Prometheus prometheus, PrometheusList prometheusList, PrometheusRule prometheusRule, PrometheusRuleList prometheusRuleList, ServiceMonitor serviceMonitor, ServiceMonitorList serviceMonitorList, Status status, ThanosRuler thanosRuler, ThanosRulerList thanosRulerList, String time, TypeMeta typeMeta) {
- super();
- this.aPIGroup = aPIGroup;
- this.aPIGroupList = aPIGroupList;
- this.alertmanager = alertmanager;
- this.alertmanagerConfig = alertmanagerConfig;
- this.alertmanagerConfigList = alertmanagerConfigList;
- this.alertmanagerList = alertmanagerList;
- this.baseKubernetesList = baseKubernetesList;
- this.info = info;
- this.objectMeta = objectMeta;
- this.patch = patch;
- this.podMonitor = podMonitor;
- this.podMonitorList = podMonitorList;
- this.probe = probe;
- this.probeList = probeList;
- this.prometheus = prometheus;
- this.prometheusList = prometheusList;
- this.prometheusRule = prometheusRule;
- this.prometheusRuleList = prometheusRuleList;
- this.serviceMonitor = serviceMonitor;
- this.serviceMonitorList = serviceMonitorList;
- this.status = status;
- this.thanosRuler = thanosRuler;
- this.thanosRulerList = thanosRulerList;
- this.time = time;
- this.typeMeta = typeMeta;
- }
-
- @JsonProperty("APIGroup")
- public APIGroup getAPIGroup() {
- return aPIGroup;
- }
-
- @JsonProperty("APIGroup")
- public void setAPIGroup(APIGroup aPIGroup) {
- this.aPIGroup = aPIGroup;
- }
-
- @JsonProperty("APIGroupList")
- public APIGroupList getAPIGroupList() {
- return aPIGroupList;
- }
-
- @JsonProperty("APIGroupList")
- public void setAPIGroupList(APIGroupList aPIGroupList) {
- this.aPIGroupList = aPIGroupList;
- }
-
- @JsonProperty("Alertmanager")
- public Alertmanager getAlertmanager() {
- return alertmanager;
- }
-
- @JsonProperty("Alertmanager")
- public void setAlertmanager(Alertmanager alertmanager) {
- this.alertmanager = alertmanager;
- }
-
- @JsonProperty("AlertmanagerConfig")
- public AlertmanagerConfig getAlertmanagerConfig() {
- return alertmanagerConfig;
- }
-
- @JsonProperty("AlertmanagerConfig")
- public void setAlertmanagerConfig(AlertmanagerConfig alertmanagerConfig) {
- this.alertmanagerConfig = alertmanagerConfig;
- }
-
- @JsonProperty("AlertmanagerConfigList")
- public AlertmanagerConfigList getAlertmanagerConfigList() {
- return alertmanagerConfigList;
- }
-
- @JsonProperty("AlertmanagerConfigList")
- public void setAlertmanagerConfigList(AlertmanagerConfigList alertmanagerConfigList) {
- this.alertmanagerConfigList = alertmanagerConfigList;
- }
-
- @JsonProperty("AlertmanagerList")
- public AlertmanagerList getAlertmanagerList() {
- return alertmanagerList;
- }
-
- @JsonProperty("AlertmanagerList")
- public void setAlertmanagerList(AlertmanagerList alertmanagerList) {
- this.alertmanagerList = alertmanagerList;
- }
-
- @JsonProperty("BaseKubernetesList")
- public KubernetesList getBaseKubernetesList() {
- return baseKubernetesList;
- }
-
- @JsonProperty("BaseKubernetesList")
- public void setBaseKubernetesList(KubernetesList baseKubernetesList) {
- this.baseKubernetesList = baseKubernetesList;
- }
-
- @JsonProperty("Info")
- public Info getInfo() {
- return info;
- }
-
- @JsonProperty("Info")
- public void setInfo(Info info) {
- this.info = info;
- }
-
- @JsonProperty("ObjectMeta")
- public ObjectMeta getObjectMeta() {
- return objectMeta;
- }
-
- @JsonProperty("ObjectMeta")
- public void setObjectMeta(ObjectMeta objectMeta) {
- this.objectMeta = objectMeta;
- }
-
- @JsonProperty("Patch")
- public Patch getPatch() {
- return patch;
- }
-
- @JsonProperty("Patch")
- public void setPatch(Patch patch) {
- this.patch = patch;
- }
-
- @JsonProperty("PodMonitor")
- public PodMonitor getPodMonitor() {
- return podMonitor;
- }
-
- @JsonProperty("PodMonitor")
- public void setPodMonitor(PodMonitor podMonitor) {
- this.podMonitor = podMonitor;
- }
-
- @JsonProperty("PodMonitorList")
- public PodMonitorList getPodMonitorList() {
- return podMonitorList;
- }
-
- @JsonProperty("PodMonitorList")
- public void setPodMonitorList(PodMonitorList podMonitorList) {
- this.podMonitorList = podMonitorList;
- }
-
- @JsonProperty("Probe")
- public Probe getProbe() {
- return probe;
- }
-
- @JsonProperty("Probe")
- public void setProbe(Probe probe) {
- this.probe = probe;
- }
-
- @JsonProperty("ProbeList")
- public ProbeList getProbeList() {
- return probeList;
- }
-
- @JsonProperty("ProbeList")
- public void setProbeList(ProbeList probeList) {
- this.probeList = probeList;
- }
-
- @JsonProperty("Prometheus")
- public Prometheus getPrometheus() {
- return prometheus;
- }
-
- @JsonProperty("Prometheus")
- public void setPrometheus(Prometheus prometheus) {
- this.prometheus = prometheus;
- }
-
- @JsonProperty("PrometheusList")
- public PrometheusList getPrometheusList() {
- return prometheusList;
- }
-
- @JsonProperty("PrometheusList")
- public void setPrometheusList(PrometheusList prometheusList) {
- this.prometheusList = prometheusList;
- }
-
- @JsonProperty("PrometheusRule")
- public PrometheusRule getPrometheusRule() {
- return prometheusRule;
- }
-
- @JsonProperty("PrometheusRule")
- public void setPrometheusRule(PrometheusRule prometheusRule) {
- this.prometheusRule = prometheusRule;
- }
-
- @JsonProperty("PrometheusRuleList")
- public PrometheusRuleList getPrometheusRuleList() {
- return prometheusRuleList;
- }
-
- @JsonProperty("PrometheusRuleList")
- public void setPrometheusRuleList(PrometheusRuleList prometheusRuleList) {
- this.prometheusRuleList = prometheusRuleList;
- }
-
- @JsonProperty("ServiceMonitor")
- public ServiceMonitor getServiceMonitor() {
- return serviceMonitor;
- }
-
- @JsonProperty("ServiceMonitor")
- public void setServiceMonitor(ServiceMonitor serviceMonitor) {
- this.serviceMonitor = serviceMonitor;
- }
-
- @JsonProperty("ServiceMonitorList")
- public ServiceMonitorList getServiceMonitorList() {
- return serviceMonitorList;
- }
-
- @JsonProperty("ServiceMonitorList")
- public void setServiceMonitorList(ServiceMonitorList serviceMonitorList) {
- this.serviceMonitorList = serviceMonitorList;
- }
-
- @JsonProperty("Status")
- public Status getStatus() {
- return status;
- }
-
- @JsonProperty("Status")
- public void setStatus(Status status) {
- this.status = status;
- }
-
- @JsonProperty("ThanosRuler")
- public ThanosRuler getThanosRuler() {
- return thanosRuler;
- }
-
- @JsonProperty("ThanosRuler")
- public void setThanosRuler(ThanosRuler thanosRuler) {
- this.thanosRuler = thanosRuler;
- }
-
- @JsonProperty("ThanosRulerList")
- public ThanosRulerList getThanosRulerList() {
- return thanosRulerList;
- }
-
- @JsonProperty("ThanosRulerList")
- public void setThanosRulerList(ThanosRulerList thanosRulerList) {
- this.thanosRulerList = thanosRulerList;
- }
-
- @JsonProperty("Time")
- public String getTime() {
- return time;
- }
-
- @JsonProperty("Time")
- public void setTime(String time) {
- this.time = time;
- }
-
- @JsonProperty("TypeMeta")
- public TypeMeta getTypeMeta() {
- return typeMeta;
- }
-
- @JsonProperty("TypeMeta")
- public void setTypeMeta(TypeMeta typeMeta) {
- this.typeMeta = typeMeta;
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Alertmanager.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Alertmanager.java
index 272ccfe5594..49dbc4c31e3 100644
--- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Alertmanager.java
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Alertmanager.java
@@ -18,6 +18,7 @@
import io.fabric8.kubernetes.api.model.LabelSelector;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
import io.fabric8.kubernetes.api.model.Namespaced;
+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;
@@ -48,7 +49,7 @@
""
})
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
- @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class),
+ @BuildableReference(ObjectMeta.class),
@BuildableReference(LabelSelector.class),
@BuildableReference(Container.class),
@BuildableReference(PodTemplateSpec.class),
@@ -82,7 +83,7 @@ public class Alertmanager implements Editable , HasMetadata
@JsonProperty("kind")
private String kind = "Alertmanager";
@JsonProperty("metadata")
- private io.fabric8.kubernetes.api.model.ObjectMeta metadata;
+ private ObjectMeta metadata;
@JsonProperty("spec")
private AlertmanagerSpec spec;
@JsonProperty("status")
@@ -97,7 +98,7 @@ public class Alertmanager implements Editable , HasMetadata
public Alertmanager() {
}
- public Alertmanager(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, AlertmanagerSpec spec, AlertmanagerStatus status) {
+ public Alertmanager(String apiVersion, String kind, ObjectMeta metadata, AlertmanagerSpec spec, AlertmanagerStatus status) {
super();
this.apiVersion = apiVersion;
this.kind = kind;
@@ -147,12 +148,12 @@ public void setKind(String kind) {
}
@JsonProperty("metadata")
- public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() {
+ public ObjectMeta getMetadata() {
return metadata;
}
@JsonProperty("metadata")
- public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) {
+ public void setMetadata(ObjectMeta metadata) {
this.metadata = metadata;
}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpec.java
index 2a94a98bd4c..410eec90cbc 100644
--- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpec.java
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpec.java
@@ -14,18 +14,16 @@
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Affinity;
+import io.fabric8.kubernetes.api.model.Container;
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.PodSecurityContext;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
-import io.fabric8.kubernetes.api.model.Toleration;
-import io.fabric8.kubernetes.api.model.TopologySpreadConstraint;
-import io.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
+import io.fabric8.kubernetes.api.model.ResourceRequirements;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
@@ -45,11 +43,13 @@
"baseImage",
"clusterAdvertiseAddress",
"clusterGossipInterval",
+ "clusterLabel",
"clusterPeerTimeout",
"clusterPushpullInterval",
"configMaps",
"configSecret",
"containers",
+ "enableFeatures",
"externalUrl",
"forceEnableClusterMode",
"hostAliases",
@@ -91,13 +91,13 @@
})
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
@BuildableReference(ObjectMeta.class),
- @BuildableReference(io.fabric8.kubernetes.api.model.LabelSelector.class),
- @BuildableReference(io.fabric8.kubernetes.api.model.Container.class),
+ @BuildableReference(LabelSelector.class),
+ @BuildableReference(Container.class),
@BuildableReference(PodTemplateSpec.class),
- @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class),
+ @BuildableReference(ResourceRequirements.class),
@BuildableReference(IntOrString.class),
@BuildableReference(ObjectReference.class),
- @BuildableReference(io.fabric8.kubernetes.api.model.LocalObjectReference.class),
+ @BuildableReference(LocalObjectReference.class),
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
@@ -108,15 +108,15 @@ public class AlertmanagerSpec implements Editable , Kub
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List additionalPeers = new ArrayList<>();
@JsonProperty("affinity")
- private Affinity affinity;
+ private AlertmanagerSpecAffinity affinity;
@JsonProperty("alertmanagerConfigMatcherStrategy")
- private AlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy;
+ private AlertmanagerSpecAlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy;
@JsonProperty("alertmanagerConfigNamespaceSelector")
- private io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigNamespaceSelector;
+ private AlertmanagerSpecAlertmanagerConfigNamespaceSelector alertmanagerConfigNamespaceSelector;
@JsonProperty("alertmanagerConfigSelector")
- private io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigSelector;
+ private AlertmanagerSpecAlertmanagerConfigSelector alertmanagerConfigSelector;
@JsonProperty("alertmanagerConfiguration")
- private AlertmanagerConfiguration alertmanagerConfiguration;
+ private AlertmanagerSpecAlertmanagerConfiguration alertmanagerConfiguration;
@JsonProperty("automountServiceAccountToken")
private Boolean automountServiceAccountToken;
@JsonProperty("baseImage")
@@ -125,6 +125,8 @@ public class AlertmanagerSpec implements Editable , Kub
private String clusterAdvertiseAddress;
@JsonProperty("clusterGossipInterval")
private String clusterGossipInterval;
+ @JsonProperty("clusterLabel")
+ private String clusterLabel;
@JsonProperty("clusterPeerTimeout")
private String clusterPeerTimeout;
@JsonProperty("clusterPushpullInterval")
@@ -136,24 +138,27 @@ public class AlertmanagerSpec implements Editable , Kub
private String configSecret;
@JsonProperty("containers")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List containers = new ArrayList<>();
+ private List containers = new ArrayList<>();
+ @JsonProperty("enableFeatures")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List enableFeatures = new ArrayList<>();
@JsonProperty("externalUrl")
private String externalUrl;
@JsonProperty("forceEnableClusterMode")
private Boolean forceEnableClusterMode;
@JsonProperty("hostAliases")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List hostAliases = new ArrayList<>();
+ private List hostAliases = new ArrayList<>();
@JsonProperty("image")
private String image;
@JsonProperty("imagePullPolicy")
private String imagePullPolicy;
@JsonProperty("imagePullSecrets")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List imagePullSecrets = new ArrayList<>();
+ private List imagePullSecrets = new ArrayList<>();
@JsonProperty("initContainers")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List initContainers = new ArrayList<>();
+ private List initContainers = new ArrayList<>();
@JsonProperty("listenLocal")
private Boolean listenLocal;
@JsonProperty("logFormat")
@@ -168,7 +173,7 @@ public class AlertmanagerSpec implements Editable , Kub
@JsonProperty("paused")
private Boolean paused;
@JsonProperty("podMetadata")
- private EmbeddedObjectMetadata podMetadata;
+ private AlertmanagerSpecPodMetadata podMetadata;
@JsonProperty("portName")
private String portName;
@JsonProperty("priorityClassName")
@@ -176,7 +181,7 @@ public class AlertmanagerSpec implements Editable , Kub
@JsonProperty("replicas")
private Integer replicas;
@JsonProperty("resources")
- private io.fabric8.kubernetes.api.model.ResourceRequirements resources;
+ private AlertmanagerSpecResources resources;
@JsonProperty("retention")
private String retention;
@JsonProperty("routePrefix")
@@ -185,31 +190,31 @@ public class AlertmanagerSpec implements Editable , Kub
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List secrets = new ArrayList<>();
@JsonProperty("securityContext")
- private PodSecurityContext securityContext;
+ private AlertmanagerSpecSecurityContext securityContext;
@JsonProperty("serviceAccountName")
private String serviceAccountName;
@JsonProperty("sha")
private String sha;
@JsonProperty("storage")
- private StorageSpec storage;
+ private AlertmanagerSpecStorage storage;
@JsonProperty("tag")
private String tag;
@JsonProperty("tolerations")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List tolerations = new ArrayList<>();
+ private List tolerations = new ArrayList<>();
@JsonProperty("topologySpreadConstraints")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List topologySpreadConstraints = new ArrayList<>();
+ private List topologySpreadConstraints = new ArrayList<>();
@JsonProperty("version")
private String version;
@JsonProperty("volumeMounts")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List volumeMounts = new ArrayList<>();
+ private List volumeMounts = new ArrayList<>();
@JsonProperty("volumes")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List volumes = new ArrayList<>();
+ private List volumes = new ArrayList<>();
@JsonProperty("web")
- private AlertmanagerWebSpec web;
+ private AlertmanagerSpecWeb web;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -220,7 +225,7 @@ public class AlertmanagerSpec implements Editable , Kub
public AlertmanagerSpec() {
}
- public AlertmanagerSpec(List additionalPeers, Affinity affinity, AlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy, io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigNamespaceSelector, io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigSelector, AlertmanagerConfiguration alertmanagerConfiguration, Boolean automountServiceAccountToken, String baseImage, String clusterAdvertiseAddress, String clusterGossipInterval, String clusterPeerTimeout, String clusterPushpullInterval, List configMaps, String configSecret, List containers, String externalUrl, Boolean forceEnableClusterMode, List hostAliases, String image, String imagePullPolicy, List imagePullSecrets, List initContainers, Boolean listenLocal, String logFormat, String logLevel, Integer minReadySeconds, Map nodeSelector, Boolean paused, EmbeddedObjectMetadata podMetadata, String portName, String priorityClassName, Integer replicas, io.fabric8.kubernetes.api.model.ResourceRequirements resources, String retention, String routePrefix, List secrets, PodSecurityContext securityContext, String serviceAccountName, String sha, StorageSpec storage, String tag, List tolerations, List topologySpreadConstraints, String version, List volumeMounts, List volumes, AlertmanagerWebSpec web) {
+ public AlertmanagerSpec(List additionalPeers, AlertmanagerSpecAffinity affinity, AlertmanagerSpecAlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy, AlertmanagerSpecAlertmanagerConfigNamespaceSelector alertmanagerConfigNamespaceSelector, AlertmanagerSpecAlertmanagerConfigSelector alertmanagerConfigSelector, AlertmanagerSpecAlertmanagerConfiguration alertmanagerConfiguration, Boolean automountServiceAccountToken, String baseImage, String clusterAdvertiseAddress, String clusterGossipInterval, String clusterLabel, String clusterPeerTimeout, String clusterPushpullInterval, List configMaps, String configSecret, List containers, List enableFeatures, String externalUrl, Boolean forceEnableClusterMode, List hostAliases, String image, String imagePullPolicy, List imagePullSecrets, List initContainers, Boolean listenLocal, String logFormat, String logLevel, Integer minReadySeconds, Map nodeSelector, Boolean paused, AlertmanagerSpecPodMetadata podMetadata, String portName, String priorityClassName, Integer replicas, AlertmanagerSpecResources resources, String retention, String routePrefix, List secrets, AlertmanagerSpecSecurityContext securityContext, String serviceAccountName, String sha, AlertmanagerSpecStorage storage, String tag, List tolerations, List topologySpreadConstraints, String version, List volumeMounts, List volumes, AlertmanagerSpecWeb web) {
super();
this.additionalPeers = additionalPeers;
this.affinity = affinity;
@@ -232,11 +237,13 @@ public AlertmanagerSpec(List additionalPeers, Affinity affinity, Alertma
this.baseImage = baseImage;
this.clusterAdvertiseAddress = clusterAdvertiseAddress;
this.clusterGossipInterval = clusterGossipInterval;
+ this.clusterLabel = clusterLabel;
this.clusterPeerTimeout = clusterPeerTimeout;
this.clusterPushpullInterval = clusterPushpullInterval;
this.configMaps = configMaps;
this.configSecret = configSecret;
this.containers = containers;
+ this.enableFeatures = enableFeatures;
this.externalUrl = externalUrl;
this.forceEnableClusterMode = forceEnableClusterMode;
this.hostAliases = hostAliases;
@@ -283,52 +290,52 @@ public void setAdditionalPeers(List additionalPeers) {
}
@JsonProperty("affinity")
- public Affinity getAffinity() {
+ public AlertmanagerSpecAffinity getAffinity() {
return affinity;
}
@JsonProperty("affinity")
- public void setAffinity(Affinity affinity) {
+ public void setAffinity(AlertmanagerSpecAffinity affinity) {
this.affinity = affinity;
}
@JsonProperty("alertmanagerConfigMatcherStrategy")
- public AlertmanagerConfigMatcherStrategy getAlertmanagerConfigMatcherStrategy() {
+ public AlertmanagerSpecAlertmanagerConfigMatcherStrategy getAlertmanagerConfigMatcherStrategy() {
return alertmanagerConfigMatcherStrategy;
}
@JsonProperty("alertmanagerConfigMatcherStrategy")
- public void setAlertmanagerConfigMatcherStrategy(AlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy) {
+ public void setAlertmanagerConfigMatcherStrategy(AlertmanagerSpecAlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy) {
this.alertmanagerConfigMatcherStrategy = alertmanagerConfigMatcherStrategy;
}
@JsonProperty("alertmanagerConfigNamespaceSelector")
- public io.fabric8.kubernetes.api.model.LabelSelector getAlertmanagerConfigNamespaceSelector() {
+ public AlertmanagerSpecAlertmanagerConfigNamespaceSelector getAlertmanagerConfigNamespaceSelector() {
return alertmanagerConfigNamespaceSelector;
}
@JsonProperty("alertmanagerConfigNamespaceSelector")
- public void setAlertmanagerConfigNamespaceSelector(io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigNamespaceSelector) {
+ public void setAlertmanagerConfigNamespaceSelector(AlertmanagerSpecAlertmanagerConfigNamespaceSelector alertmanagerConfigNamespaceSelector) {
this.alertmanagerConfigNamespaceSelector = alertmanagerConfigNamespaceSelector;
}
@JsonProperty("alertmanagerConfigSelector")
- public io.fabric8.kubernetes.api.model.LabelSelector getAlertmanagerConfigSelector() {
+ public AlertmanagerSpecAlertmanagerConfigSelector getAlertmanagerConfigSelector() {
return alertmanagerConfigSelector;
}
@JsonProperty("alertmanagerConfigSelector")
- public void setAlertmanagerConfigSelector(io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigSelector) {
+ public void setAlertmanagerConfigSelector(AlertmanagerSpecAlertmanagerConfigSelector alertmanagerConfigSelector) {
this.alertmanagerConfigSelector = alertmanagerConfigSelector;
}
@JsonProperty("alertmanagerConfiguration")
- public AlertmanagerConfiguration getAlertmanagerConfiguration() {
+ public AlertmanagerSpecAlertmanagerConfiguration getAlertmanagerConfiguration() {
return alertmanagerConfiguration;
}
@JsonProperty("alertmanagerConfiguration")
- public void setAlertmanagerConfiguration(AlertmanagerConfiguration alertmanagerConfiguration) {
+ public void setAlertmanagerConfiguration(AlertmanagerSpecAlertmanagerConfiguration alertmanagerConfiguration) {
this.alertmanagerConfiguration = alertmanagerConfiguration;
}
@@ -372,6 +379,16 @@ public void setClusterGossipInterval(String clusterGossipInterval) {
this.clusterGossipInterval = clusterGossipInterval;
}
+ @JsonProperty("clusterLabel")
+ public String getClusterLabel() {
+ return clusterLabel;
+ }
+
+ @JsonProperty("clusterLabel")
+ public void setClusterLabel(String clusterLabel) {
+ this.clusterLabel = clusterLabel;
+ }
+
@JsonProperty("clusterPeerTimeout")
public String getClusterPeerTimeout() {
return clusterPeerTimeout;
@@ -415,15 +432,26 @@ public void setConfigSecret(String configSecret) {
@JsonProperty("containers")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getContainers() {
+ public List getContainers() {
return containers;
}
@JsonProperty("containers")
- public void setContainers(List containers) {
+ public void setContainers(List containers) {
this.containers = containers;
}
+ @JsonProperty("enableFeatures")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getEnableFeatures() {
+ return enableFeatures;
+ }
+
+ @JsonProperty("enableFeatures")
+ public void setEnableFeatures(List enableFeatures) {
+ this.enableFeatures = enableFeatures;
+ }
+
@JsonProperty("externalUrl")
public String getExternalUrl() {
return externalUrl;
@@ -446,12 +474,12 @@ public void setForceEnableClusterMode(Boolean forceEnableClusterMode) {
@JsonProperty("hostAliases")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getHostAliases() {
+ public List getHostAliases() {
return hostAliases;
}
@JsonProperty("hostAliases")
- public void setHostAliases(List hostAliases) {
+ public void setHostAliases(List hostAliases) {
this.hostAliases = hostAliases;
}
@@ -477,23 +505,23 @@ public void setImagePullPolicy(String imagePullPolicy) {
@JsonProperty("imagePullSecrets")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getImagePullSecrets() {
+ public List getImagePullSecrets() {
return imagePullSecrets;
}
@JsonProperty("imagePullSecrets")
- public void setImagePullSecrets(List imagePullSecrets) {
+ public void setImagePullSecrets(List imagePullSecrets) {
this.imagePullSecrets = imagePullSecrets;
}
@JsonProperty("initContainers")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getInitContainers() {
+ public List getInitContainers() {
return initContainers;
}
@JsonProperty("initContainers")
- public void setInitContainers(List initContainers) {
+ public void setInitContainers(List initContainers) {
this.initContainers = initContainers;
}
@@ -559,12 +587,12 @@ public void setPaused(Boolean paused) {
}
@JsonProperty("podMetadata")
- public EmbeddedObjectMetadata getPodMetadata() {
+ public AlertmanagerSpecPodMetadata getPodMetadata() {
return podMetadata;
}
@JsonProperty("podMetadata")
- public void setPodMetadata(EmbeddedObjectMetadata podMetadata) {
+ public void setPodMetadata(AlertmanagerSpecPodMetadata podMetadata) {
this.podMetadata = podMetadata;
}
@@ -599,12 +627,12 @@ public void setReplicas(Integer replicas) {
}
@JsonProperty("resources")
- public io.fabric8.kubernetes.api.model.ResourceRequirements getResources() {
+ public AlertmanagerSpecResources getResources() {
return resources;
}
@JsonProperty("resources")
- public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources) {
+ public void setResources(AlertmanagerSpecResources resources) {
this.resources = resources;
}
@@ -640,12 +668,12 @@ public void setSecrets(List secrets) {
}
@JsonProperty("securityContext")
- public PodSecurityContext getSecurityContext() {
+ public AlertmanagerSpecSecurityContext getSecurityContext() {
return securityContext;
}
@JsonProperty("securityContext")
- public void setSecurityContext(PodSecurityContext securityContext) {
+ public void setSecurityContext(AlertmanagerSpecSecurityContext securityContext) {
this.securityContext = securityContext;
}
@@ -670,12 +698,12 @@ public void setSha(String sha) {
}
@JsonProperty("storage")
- public StorageSpec getStorage() {
+ public AlertmanagerSpecStorage getStorage() {
return storage;
}
@JsonProperty("storage")
- public void setStorage(StorageSpec storage) {
+ public void setStorage(AlertmanagerSpecStorage storage) {
this.storage = storage;
}
@@ -691,23 +719,23 @@ public void setTag(String tag) {
@JsonProperty("tolerations")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getTolerations() {
+ public List getTolerations() {
return tolerations;
}
@JsonProperty("tolerations")
- public void setTolerations(List tolerations) {
+ public void setTolerations(List tolerations) {
this.tolerations = tolerations;
}
@JsonProperty("topologySpreadConstraints")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getTopologySpreadConstraints() {
+ public List getTopologySpreadConstraints() {
return topologySpreadConstraints;
}
@JsonProperty("topologySpreadConstraints")
- public void setTopologySpreadConstraints(List topologySpreadConstraints) {
+ public void setTopologySpreadConstraints(List topologySpreadConstraints) {
this.topologySpreadConstraints = topologySpreadConstraints;
}
@@ -723,33 +751,33 @@ public void setVersion(String version) {
@JsonProperty("volumeMounts")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getVolumeMounts() {
+ public List getVolumeMounts() {
return volumeMounts;
}
@JsonProperty("volumeMounts")
- public void setVolumeMounts(List volumeMounts) {
+ public void setVolumeMounts(List volumeMounts) {
this.volumeMounts = volumeMounts;
}
@JsonProperty("volumes")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getVolumes() {
+ public List getVolumes() {
return volumes;
}
@JsonProperty("volumes")
- public void setVolumes(List volumes) {
+ public void setVolumes(List volumes) {
this.volumes = volumes;
}
@JsonProperty("web")
- public AlertmanagerWebSpec getWeb() {
+ public AlertmanagerSpecWeb getWeb() {
return web;
}
@JsonProperty("web")
- public void setWeb(AlertmanagerWebSpec web) {
+ public void setWeb(AlertmanagerSpecWeb web) {
this.web = web;
}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCACredentials.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCACredentials.java
new file mode 100644
index 00000000000..df389cf7606
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCACredentials.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCACredentials implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCACredentials() {
+ }
+
+ public AlertmanagerSpecACGHCACredentials(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCACredentialsBuilder edit() {
+ return new AlertmanagerSpecACGHCACredentialsBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCACredentialsBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCAuthorization.java
new file mode 100644
index 00000000000..3366e4ae474
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCAuthorization.java
@@ -0,0 +1,122 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "credentials",
+ "type"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCAuthorization implements Editable , KubernetesResource
+{
+
+ @JsonProperty("credentials")
+ private AlertmanagerSpecACGHCACredentials credentials;
+ @JsonProperty("type")
+ private String type;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCAuthorization() {
+ }
+
+ public AlertmanagerSpecACGHCAuthorization(AlertmanagerSpecACGHCACredentials credentials, String type) {
+ super();
+ this.credentials = credentials;
+ this.type = type;
+ }
+
+ @JsonProperty("credentials")
+ public AlertmanagerSpecACGHCACredentials getCredentials() {
+ return credentials;
+ }
+
+ @JsonProperty("credentials")
+ public void setCredentials(AlertmanagerSpecACGHCACredentials credentials) {
+ this.credentials = credentials;
+ }
+
+ @JsonProperty("type")
+ public String getType() {
+ return type;
+ }
+
+ @JsonProperty("type")
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCAuthorizationBuilder edit() {
+ return new AlertmanagerSpecACGHCAuthorizationBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCAuthorizationBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuth.java
new file mode 100644
index 00000000000..6de79a82dec
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuth.java
@@ -0,0 +1,122 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "password",
+ "username"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCBasicAuth implements Editable , KubernetesResource
+{
+
+ @JsonProperty("password")
+ private AlertmanagerSpecACGHCBasicAuthPassword password;
+ @JsonProperty("username")
+ private AlertmanagerSpecACGHCBasicAuthUsername username;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCBasicAuth() {
+ }
+
+ public AlertmanagerSpecACGHCBasicAuth(AlertmanagerSpecACGHCBasicAuthPassword password, AlertmanagerSpecACGHCBasicAuthUsername username) {
+ super();
+ this.password = password;
+ this.username = username;
+ }
+
+ @JsonProperty("password")
+ public AlertmanagerSpecACGHCBasicAuthPassword getPassword() {
+ return password;
+ }
+
+ @JsonProperty("password")
+ public void setPassword(AlertmanagerSpecACGHCBasicAuthPassword password) {
+ this.password = password;
+ }
+
+ @JsonProperty("username")
+ public AlertmanagerSpecACGHCBasicAuthUsername getUsername() {
+ return username;
+ }
+
+ @JsonProperty("username")
+ public void setUsername(AlertmanagerSpecACGHCBasicAuthUsername username) {
+ this.username = username;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCBasicAuthBuilder edit() {
+ return new AlertmanagerSpecACGHCBasicAuthBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCBasicAuthBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuthPassword.java
new file mode 100644
index 00000000000..02cd085732e
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuthPassword.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCBasicAuthPassword implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCBasicAuthPassword() {
+ }
+
+ public AlertmanagerSpecACGHCBasicAuthPassword(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCBasicAuthPasswordBuilder edit() {
+ return new AlertmanagerSpecACGHCBasicAuthPasswordBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCBasicAuthPasswordBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuthUsername.java
new file mode 100644
index 00000000000..73b49f1e03c
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuthUsername.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCBasicAuthUsername implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCBasicAuthUsername() {
+ }
+
+ public AlertmanagerSpecACGHCBasicAuthUsername(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCBasicAuthUsernameBuilder edit() {
+ return new AlertmanagerSpecACGHCBasicAuthUsernameBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCBasicAuthUsernameBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBearerTokenSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBearerTokenSecret.java
new file mode 100644
index 00000000000..19915a621b0
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBearerTokenSecret.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCBearerTokenSecret implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCBearerTokenSecret() {
+ }
+
+ public AlertmanagerSpecACGHCBearerTokenSecret(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCBearerTokenSecretBuilder edit() {
+ return new AlertmanagerSpecACGHCBearerTokenSecretBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCBearerTokenSecretBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOCIConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOCIConfigMap.java
new file mode 100644
index 00000000000..0d8589c2b1c
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOCIConfigMap.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCOCIConfigMap implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCOCIConfigMap() {
+ }
+
+ public AlertmanagerSpecACGHCOCIConfigMap(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCOCIConfigMapBuilder edit() {
+ return new AlertmanagerSpecACGHCOCIConfigMapBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCOCIConfigMapBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOCISecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOCISecret.java
new file mode 100644
index 00000000000..14bd9812fc5
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOCISecret.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCOCISecret implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCOCISecret() {
+ }
+
+ public AlertmanagerSpecACGHCOCISecret(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCOCISecretBuilder edit() {
+ return new AlertmanagerSpecACGHCOCISecretBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCOCISecretBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOClientId.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOClientId.java
new file mode 100644
index 00000000000..2c3d456aad7
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOClientId.java
@@ -0,0 +1,122 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "configMap",
+ "secret"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCOClientId implements Editable , KubernetesResource
+{
+
+ @JsonProperty("configMap")
+ private AlertmanagerSpecACGHCOCIConfigMap configMap;
+ @JsonProperty("secret")
+ private AlertmanagerSpecACGHCOCISecret secret;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCOClientId() {
+ }
+
+ public AlertmanagerSpecACGHCOClientId(AlertmanagerSpecACGHCOCIConfigMap configMap, AlertmanagerSpecACGHCOCISecret secret) {
+ super();
+ this.configMap = configMap;
+ this.secret = secret;
+ }
+
+ @JsonProperty("configMap")
+ public AlertmanagerSpecACGHCOCIConfigMap getConfigMap() {
+ return configMap;
+ }
+
+ @JsonProperty("configMap")
+ public void setConfigMap(AlertmanagerSpecACGHCOCIConfigMap configMap) {
+ this.configMap = configMap;
+ }
+
+ @JsonProperty("secret")
+ public AlertmanagerSpecACGHCOCISecret getSecret() {
+ return secret;
+ }
+
+ @JsonProperty("secret")
+ public void setSecret(AlertmanagerSpecACGHCOCISecret secret) {
+ this.secret = secret;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCOClientIdBuilder edit() {
+ return new AlertmanagerSpecACGHCOClientIdBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCOClientIdBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOClientSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOClientSecret.java
new file mode 100644
index 00000000000..ba2b9789921
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOClientSecret.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCOClientSecret implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCOClientSecret() {
+ }
+
+ public AlertmanagerSpecACGHCOClientSecret(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCOClientSecretBuilder edit() {
+ return new AlertmanagerSpecACGHCOClientSecretBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCOClientSecretBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOauth2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOauth2.java
new file mode 100644
index 00000000000..bdc13100b5e
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOauth2.java
@@ -0,0 +1,170 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.ArrayList;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "clientId",
+ "clientSecret",
+ "endpointParams",
+ "scopes",
+ "tokenUrl"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCOauth2 implements Editable , KubernetesResource
+{
+
+ @JsonProperty("clientId")
+ private AlertmanagerSpecACGHCOClientId clientId;
+ @JsonProperty("clientSecret")
+ private AlertmanagerSpecACGHCOClientSecret clientSecret;
+ @JsonProperty("endpointParams")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private Map endpointParams = new LinkedHashMap<>();
+ @JsonProperty("scopes")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ private List scopes = new ArrayList<>();
+ @JsonProperty("tokenUrl")
+ private String tokenUrl;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCOauth2() {
+ }
+
+ public AlertmanagerSpecACGHCOauth2(AlertmanagerSpecACGHCOClientId clientId, AlertmanagerSpecACGHCOClientSecret clientSecret, Map endpointParams, List scopes, String tokenUrl) {
+ super();
+ this.clientId = clientId;
+ this.clientSecret = clientSecret;
+ this.endpointParams = endpointParams;
+ this.scopes = scopes;
+ this.tokenUrl = tokenUrl;
+ }
+
+ @JsonProperty("clientId")
+ public AlertmanagerSpecACGHCOClientId getClientId() {
+ return clientId;
+ }
+
+ @JsonProperty("clientId")
+ public void setClientId(AlertmanagerSpecACGHCOClientId clientId) {
+ this.clientId = clientId;
+ }
+
+ @JsonProperty("clientSecret")
+ public AlertmanagerSpecACGHCOClientSecret getClientSecret() {
+ return clientSecret;
+ }
+
+ @JsonProperty("clientSecret")
+ public void setClientSecret(AlertmanagerSpecACGHCOClientSecret clientSecret) {
+ this.clientSecret = clientSecret;
+ }
+
+ @JsonProperty("endpointParams")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public Map getEndpointParams() {
+ return endpointParams;
+ }
+
+ @JsonProperty("endpointParams")
+ public void setEndpointParams(Map endpointParams) {
+ this.endpointParams = endpointParams;
+ }
+
+ @JsonProperty("scopes")
+ @JsonInclude(JsonInclude.Include.NON_EMPTY)
+ public List getScopes() {
+ return scopes;
+ }
+
+ @JsonProperty("scopes")
+ public void setScopes(List scopes) {
+ this.scopes = scopes;
+ }
+
+ @JsonProperty("tokenUrl")
+ public String getTokenUrl() {
+ return tokenUrl;
+ }
+
+ @JsonProperty("tokenUrl")
+ public void setTokenUrl(String tokenUrl) {
+ this.tokenUrl = tokenUrl;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCOauth2Builder edit() {
+ return new AlertmanagerSpecACGHCOauth2Builder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCOauth2Builder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCConfigMap.java
new file mode 100644
index 00000000000..d3a12045bba
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCConfigMap.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCTCCConfigMap implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCTCCConfigMap() {
+ }
+
+ public AlertmanagerSpecACGHCTCCConfigMap(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCTCCConfigMapBuilder edit() {
+ return new AlertmanagerSpecACGHCTCCConfigMapBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCTCCConfigMapBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCConfigMap_1.java
new file mode 100644
index 00000000000..d57b724bf3f
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCConfigMap_1.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCTCCConfigMap_1 implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCTCCConfigMap_1() {
+ }
+
+ public AlertmanagerSpecACGHCTCCConfigMap_1(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCTCCConfigMap_1Builder edit() {
+ return new AlertmanagerSpecACGHCTCCConfigMap_1Builder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCTCCConfigMap_1Builder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCSecret.java
new file mode 100644
index 00000000000..6a42495ae0d
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCSecret.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCTCCSecret implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCTCCSecret() {
+ }
+
+ public AlertmanagerSpecACGHCTCCSecret(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCTCCSecretBuilder edit() {
+ return new AlertmanagerSpecACGHCTCCSecretBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCTCCSecretBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCSecret_1.java
new file mode 100644
index 00000000000..3e1109b2b55
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCSecret_1.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCTCCSecret_1 implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCTCCSecret_1() {
+ }
+
+ public AlertmanagerSpecACGHCTCCSecret_1(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCTCCSecret_1Builder edit() {
+ return new AlertmanagerSpecACGHCTCCSecret_1Builder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCTCCSecret_1Builder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCa.java
new file mode 100644
index 00000000000..b4675cfd311
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCa.java
@@ -0,0 +1,122 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "configMap",
+ "secret"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCTCCa implements Editable , KubernetesResource
+{
+
+ @JsonProperty("configMap")
+ private AlertmanagerSpecACGHCTCCConfigMap configMap;
+ @JsonProperty("secret")
+ private AlertmanagerSpecACGHCTCCSecret secret;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCTCCa() {
+ }
+
+ public AlertmanagerSpecACGHCTCCa(AlertmanagerSpecACGHCTCCConfigMap configMap, AlertmanagerSpecACGHCTCCSecret secret) {
+ super();
+ this.configMap = configMap;
+ this.secret = secret;
+ }
+
+ @JsonProperty("configMap")
+ public AlertmanagerSpecACGHCTCCConfigMap getConfigMap() {
+ return configMap;
+ }
+
+ @JsonProperty("configMap")
+ public void setConfigMap(AlertmanagerSpecACGHCTCCConfigMap configMap) {
+ this.configMap = configMap;
+ }
+
+ @JsonProperty("secret")
+ public AlertmanagerSpecACGHCTCCSecret getSecret() {
+ return secret;
+ }
+
+ @JsonProperty("secret")
+ public void setSecret(AlertmanagerSpecACGHCTCCSecret secret) {
+ this.secret = secret;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCTCCaBuilder edit() {
+ return new AlertmanagerSpecACGHCTCCaBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCTCCaBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCert.java
new file mode 100644
index 00000000000..ba340578204
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCert.java
@@ -0,0 +1,122 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "configMap",
+ "secret"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCTCCert implements Editable , KubernetesResource
+{
+
+ @JsonProperty("configMap")
+ private AlertmanagerSpecACGHCTCCConfigMap_1 configMap;
+ @JsonProperty("secret")
+ private AlertmanagerSpecACGHCTCCSecret_1 secret;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCTCCert() {
+ }
+
+ public AlertmanagerSpecACGHCTCCert(AlertmanagerSpecACGHCTCCConfigMap_1 configMap, AlertmanagerSpecACGHCTCCSecret_1 secret) {
+ super();
+ this.configMap = configMap;
+ this.secret = secret;
+ }
+
+ @JsonProperty("configMap")
+ public AlertmanagerSpecACGHCTCCConfigMap_1 getConfigMap() {
+ return configMap;
+ }
+
+ @JsonProperty("configMap")
+ public void setConfigMap(AlertmanagerSpecACGHCTCCConfigMap_1 configMap) {
+ this.configMap = configMap;
+ }
+
+ @JsonProperty("secret")
+ public AlertmanagerSpecACGHCTCCSecret_1 getSecret() {
+ return secret;
+ }
+
+ @JsonProperty("secret")
+ public void setSecret(AlertmanagerSpecACGHCTCCSecret_1 secret) {
+ this.secret = secret;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCTCCertBuilder edit() {
+ return new AlertmanagerSpecACGHCTCCertBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCTCCertBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCKeySecret.java
new file mode 100644
index 00000000000..6405acb0bb5
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCKeySecret.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGHCTCKeySecret implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGHCTCKeySecret() {
+ }
+
+ public AlertmanagerSpecACGHCTCKeySecret(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCTCKeySecretBuilder edit() {
+ return new AlertmanagerSpecACGHCTCKeySecretBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGHCTCKeySecretBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTLSConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTlsConfig.java
similarity index 80%
rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTLSConfig.java
rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTlsConfig.java
index 34a2e15f86c..365b6ddd789 100644
--- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTLSConfig.java
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTlsConfig.java
@@ -22,7 +22,6 @@
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.SecretKeySelector;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
@@ -56,17 +55,17 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class ProbeTLSConfig implements Editable , KubernetesResource
+public class AlertmanagerSpecACGHCTlsConfig implements Editable , KubernetesResource
{
@JsonProperty("ca")
- private SecretOrConfigMap ca;
+ private AlertmanagerSpecACGHCTCCa ca;
@JsonProperty("cert")
- private SecretOrConfigMap cert;
+ private AlertmanagerSpecACGHCTCCert cert;
@JsonProperty("insecureSkipVerify")
private Boolean insecureSkipVerify;
@JsonProperty("keySecret")
- private SecretKeySelector keySecret;
+ private AlertmanagerSpecACGHCTCKeySecret keySecret;
@JsonProperty("serverName")
private String serverName;
@JsonIgnore
@@ -76,10 +75,10 @@ public class ProbeTLSConfig implements Editable , Kuberne
* No args constructor for use in serialization
*
*/
- public ProbeTLSConfig() {
+ public AlertmanagerSpecACGHCTlsConfig() {
}
- public ProbeTLSConfig(SecretOrConfigMap ca, SecretOrConfigMap cert, Boolean insecureSkipVerify, SecretKeySelector keySecret, String serverName) {
+ public AlertmanagerSpecACGHCTlsConfig(AlertmanagerSpecACGHCTCCa ca, AlertmanagerSpecACGHCTCCert cert, Boolean insecureSkipVerify, AlertmanagerSpecACGHCTCKeySecret keySecret, String serverName) {
super();
this.ca = ca;
this.cert = cert;
@@ -89,22 +88,22 @@ public ProbeTLSConfig(SecretOrConfigMap ca, SecretOrConfigMap cert, Boolean inse
}
@JsonProperty("ca")
- public SecretOrConfigMap getCa() {
+ public AlertmanagerSpecACGHCTCCa getCa() {
return ca;
}
@JsonProperty("ca")
- public void setCa(SecretOrConfigMap ca) {
+ public void setCa(AlertmanagerSpecACGHCTCCa ca) {
this.ca = ca;
}
@JsonProperty("cert")
- public SecretOrConfigMap getCert() {
+ public AlertmanagerSpecACGHCTCCert getCert() {
return cert;
}
@JsonProperty("cert")
- public void setCert(SecretOrConfigMap cert) {
+ public void setCert(AlertmanagerSpecACGHCTCCert cert) {
this.cert = cert;
}
@@ -119,12 +118,12 @@ public void setInsecureSkipVerify(Boolean insecureSkipVerify) {
}
@JsonProperty("keySecret")
- public SecretKeySelector getKeySecret() {
+ public AlertmanagerSpecACGHCTCKeySecret getKeySecret() {
return keySecret;
}
@JsonProperty("keySecret")
- public void setKeySecret(SecretKeySelector keySecret) {
+ public void setKeySecret(AlertmanagerSpecACGHCTCKeySecret keySecret) {
this.keySecret = keySecret;
}
@@ -139,12 +138,12 @@ public void setServerName(String serverName) {
}
@JsonIgnore
- public ProbeTLSConfigBuilder edit() {
- return new ProbeTLSConfigBuilder(this);
+ public AlertmanagerSpecACGHCTlsConfigBuilder edit() {
+ return new AlertmanagerSpecACGHCTlsConfigBuilder(this);
}
@JsonIgnore
- public ProbeTLSConfigBuilder toBuilder() {
+ public AlertmanagerSpecACGHCTlsConfigBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HTTPConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHttpConfig.java
similarity index 74%
rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HTTPConfig.java
rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHttpConfig.java
index 652c864b90d..9f1286db2ac 100644
--- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HTTPConfig.java
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHttpConfig.java
@@ -22,7 +22,6 @@
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.SecretKeySelector;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
@@ -58,23 +57,23 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class HTTPConfig implements Editable , KubernetesResource
+public class AlertmanagerSpecACGHttpConfig implements Editable , KubernetesResource
{
@JsonProperty("authorization")
- private SafeAuthorization authorization;
+ private AlertmanagerSpecACGHCAuthorization authorization;
@JsonProperty("basicAuth")
- private BasicAuth basicAuth;
+ private AlertmanagerSpecACGHCBasicAuth basicAuth;
@JsonProperty("bearerTokenSecret")
- private SecretKeySelector bearerTokenSecret;
+ private AlertmanagerSpecACGHCBearerTokenSecret bearerTokenSecret;
@JsonProperty("followRedirects")
private Boolean followRedirects;
@JsonProperty("oauth2")
- private OAuth2 oauth2;
+ private AlertmanagerSpecACGHCOauth2 oauth2;
@JsonProperty("proxyURL")
private String proxyURL;
@JsonProperty("tlsConfig")
- private SafeTLSConfig tlsConfig;
+ private AlertmanagerSpecACGHCTlsConfig tlsConfig;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -82,10 +81,10 @@ public class HTTPConfig implements Editable , KubernetesResou
* No args constructor for use in serialization
*
*/
- public HTTPConfig() {
+ public AlertmanagerSpecACGHttpConfig() {
}
- public HTTPConfig(SafeAuthorization authorization, BasicAuth basicAuth, SecretKeySelector bearerTokenSecret, Boolean followRedirects, OAuth2 oauth2, String proxyURL, SafeTLSConfig tlsConfig) {
+ public AlertmanagerSpecACGHttpConfig(AlertmanagerSpecACGHCAuthorization authorization, AlertmanagerSpecACGHCBasicAuth basicAuth, AlertmanagerSpecACGHCBearerTokenSecret bearerTokenSecret, Boolean followRedirects, AlertmanagerSpecACGHCOauth2 oauth2, String proxyURL, AlertmanagerSpecACGHCTlsConfig tlsConfig) {
super();
this.authorization = authorization;
this.basicAuth = basicAuth;
@@ -97,32 +96,32 @@ public HTTPConfig(SafeAuthorization authorization, BasicAuth basicAuth, SecretKe
}
@JsonProperty("authorization")
- public SafeAuthorization getAuthorization() {
+ public AlertmanagerSpecACGHCAuthorization getAuthorization() {
return authorization;
}
@JsonProperty("authorization")
- public void setAuthorization(SafeAuthorization authorization) {
+ public void setAuthorization(AlertmanagerSpecACGHCAuthorization authorization) {
this.authorization = authorization;
}
@JsonProperty("basicAuth")
- public BasicAuth getBasicAuth() {
+ public AlertmanagerSpecACGHCBasicAuth getBasicAuth() {
return basicAuth;
}
@JsonProperty("basicAuth")
- public void setBasicAuth(BasicAuth basicAuth) {
+ public void setBasicAuth(AlertmanagerSpecACGHCBasicAuth basicAuth) {
this.basicAuth = basicAuth;
}
@JsonProperty("bearerTokenSecret")
- public SecretKeySelector getBearerTokenSecret() {
+ public AlertmanagerSpecACGHCBearerTokenSecret getBearerTokenSecret() {
return bearerTokenSecret;
}
@JsonProperty("bearerTokenSecret")
- public void setBearerTokenSecret(SecretKeySelector bearerTokenSecret) {
+ public void setBearerTokenSecret(AlertmanagerSpecACGHCBearerTokenSecret bearerTokenSecret) {
this.bearerTokenSecret = bearerTokenSecret;
}
@@ -137,12 +136,12 @@ public void setFollowRedirects(Boolean followRedirects) {
}
@JsonProperty("oauth2")
- public OAuth2 getOauth2() {
+ public AlertmanagerSpecACGHCOauth2 getOauth2() {
return oauth2;
}
@JsonProperty("oauth2")
- public void setOauth2(OAuth2 oauth2) {
+ public void setOauth2(AlertmanagerSpecACGHCOauth2 oauth2) {
this.oauth2 = oauth2;
}
@@ -157,22 +156,22 @@ public void setProxyURL(String proxyURL) {
}
@JsonProperty("tlsConfig")
- public SafeTLSConfig getTlsConfig() {
+ public AlertmanagerSpecACGHCTlsConfig getTlsConfig() {
return tlsConfig;
}
@JsonProperty("tlsConfig")
- public void setTlsConfig(SafeTLSConfig tlsConfig) {
+ public void setTlsConfig(AlertmanagerSpecACGHCTlsConfig tlsConfig) {
this.tlsConfig = tlsConfig;
}
@JsonIgnore
- public HTTPConfigBuilder edit() {
- return new HTTPConfigBuilder(this);
+ public AlertmanagerSpecACGHttpConfigBuilder edit() {
+ return new AlertmanagerSpecACGHttpConfigBuilder(this);
}
@JsonIgnore
- public HTTPConfigBuilder toBuilder() {
+ public AlertmanagerSpecACGHttpConfigBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGOpsGenieApiKey.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGOpsGenieApiKey.java
new file mode 100644
index 00000000000..52881324482
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGOpsGenieApiKey.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGOpsGenieApiKey implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGOpsGenieApiKey() {
+ }
+
+ public AlertmanagerSpecACGOpsGenieApiKey(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGOpsGenieApiKeyBuilder edit() {
+ return new AlertmanagerSpecACGOpsGenieApiKeyBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGOpsGenieApiKeyBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGOpsGenieApiUrl.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGOpsGenieApiUrl.java
new file mode 100644
index 00000000000..c7588ebdaed
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGOpsGenieApiUrl.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGOpsGenieApiUrl implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGOpsGenieApiUrl() {
+ }
+
+ public AlertmanagerSpecACGOpsGenieApiUrl(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGOpsGenieApiUrlBuilder edit() {
+ return new AlertmanagerSpecACGOpsGenieApiUrlBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGOpsGenieApiUrlBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSAuthPassword.java
new file mode 100644
index 00000000000..74ec02025b1
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSAuthPassword.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGSAuthPassword implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGSAuthPassword() {
+ }
+
+ public AlertmanagerSpecACGSAuthPassword(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGSAuthPasswordBuilder edit() {
+ return new AlertmanagerSpecACGSAuthPasswordBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGSAuthPasswordBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSAuthSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSAuthSecret.java
new file mode 100644
index 00000000000..b8391694a02
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSAuthSecret.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGSAuthSecret implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGSAuthSecret() {
+ }
+
+ public AlertmanagerSpecACGSAuthSecret(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGSAuthSecretBuilder edit() {
+ return new AlertmanagerSpecACGSAuthSecretBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGSAuthSecretBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostPort.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSSmartHost.java
similarity index 89%
rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostPort.java
rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSSmartHost.java
index c4f44dd01b2..0184bc8aafa 100644
--- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostPort.java
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSSmartHost.java
@@ -52,7 +52,7 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class HostPort implements Editable , KubernetesResource
+public class AlertmanagerSpecACGSSmartHost implements Editable , KubernetesResource
{
@JsonProperty("host")
@@ -66,10 +66,10 @@ public class HostPort implements Editable , KubernetesResource
* No args constructor for use in serialization
*
*/
- public HostPort() {
+ public AlertmanagerSpecACGSSmartHost() {
}
- public HostPort(String host, String port) {
+ public AlertmanagerSpecACGSSmartHost(String host, String port) {
super();
this.host = host;
this.port = port;
@@ -96,12 +96,12 @@ public void setPort(String port) {
}
@JsonIgnore
- public HostPortBuilder edit() {
- return new HostPortBuilder(this);
+ public AlertmanagerSpecACGSSmartHostBuilder edit() {
+ return new AlertmanagerSpecACGSSmartHostBuilder(this);
}
@JsonIgnore
- public HostPortBuilder toBuilder() {
+ public AlertmanagerSpecACGSSmartHostBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSlackApiUrl.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSlackApiUrl.java
new file mode 100644
index 00000000000..f6925b5d95e
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSlackApiUrl.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACGSlackApiUrl implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACGSlackApiUrl() {
+ }
+
+ public AlertmanagerSpecACGSlackApiUrl(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGSlackApiUrlBuilder edit() {
+ return new AlertmanagerSpecACGSlackApiUrlBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACGSlackApiUrlBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/GlobalSMTPConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSmtp.java
similarity index 82%
rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/GlobalSMTPConfig.java
rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSmtp.java
index 3cc5905681b..afaedd09071 100644
--- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/GlobalSMTPConfig.java
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSmtp.java
@@ -22,7 +22,6 @@
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.SecretKeySelector;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
@@ -59,15 +58,15 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class GlobalSMTPConfig implements Editable , KubernetesResource
+public class AlertmanagerSpecACGSmtp implements Editable , KubernetesResource
{
@JsonProperty("authIdentity")
private String authIdentity;
@JsonProperty("authPassword")
- private SecretKeySelector authPassword;
+ private AlertmanagerSpecACGSAuthPassword authPassword;
@JsonProperty("authSecret")
- private SecretKeySelector authSecret;
+ private AlertmanagerSpecACGSAuthSecret authSecret;
@JsonProperty("authUsername")
private String authUsername;
@JsonProperty("from")
@@ -77,7 +76,7 @@ public class GlobalSMTPConfig implements Editable , Kub
@JsonProperty("requireTLS")
private Boolean requireTLS;
@JsonProperty("smartHost")
- private HostPort smartHost;
+ private AlertmanagerSpecACGSSmartHost smartHost;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -85,10 +84,10 @@ public class GlobalSMTPConfig implements Editable , Kub
* No args constructor for use in serialization
*
*/
- public GlobalSMTPConfig() {
+ public AlertmanagerSpecACGSmtp() {
}
- public GlobalSMTPConfig(String authIdentity, SecretKeySelector authPassword, SecretKeySelector authSecret, String authUsername, String from, String hello, Boolean requireTLS, HostPort smartHost) {
+ public AlertmanagerSpecACGSmtp(String authIdentity, AlertmanagerSpecACGSAuthPassword authPassword, AlertmanagerSpecACGSAuthSecret authSecret, String authUsername, String from, String hello, Boolean requireTLS, AlertmanagerSpecACGSSmartHost smartHost) {
super();
this.authIdentity = authIdentity;
this.authPassword = authPassword;
@@ -111,22 +110,22 @@ public void setAuthIdentity(String authIdentity) {
}
@JsonProperty("authPassword")
- public SecretKeySelector getAuthPassword() {
+ public AlertmanagerSpecACGSAuthPassword getAuthPassword() {
return authPassword;
}
@JsonProperty("authPassword")
- public void setAuthPassword(SecretKeySelector authPassword) {
+ public void setAuthPassword(AlertmanagerSpecACGSAuthPassword authPassword) {
this.authPassword = authPassword;
}
@JsonProperty("authSecret")
- public SecretKeySelector getAuthSecret() {
+ public AlertmanagerSpecACGSAuthSecret getAuthSecret() {
return authSecret;
}
@JsonProperty("authSecret")
- public void setAuthSecret(SecretKeySelector authSecret) {
+ public void setAuthSecret(AlertmanagerSpecACGSAuthSecret authSecret) {
this.authSecret = authSecret;
}
@@ -171,22 +170,22 @@ public void setRequireTLS(Boolean requireTLS) {
}
@JsonProperty("smartHost")
- public HostPort getSmartHost() {
+ public AlertmanagerSpecACGSSmartHost getSmartHost() {
return smartHost;
}
@JsonProperty("smartHost")
- public void setSmartHost(HostPort smartHost) {
+ public void setSmartHost(AlertmanagerSpecACGSSmartHost smartHost) {
this.smartHost = smartHost;
}
@JsonIgnore
- public GlobalSMTPConfigBuilder edit() {
- return new GlobalSMTPConfigBuilder(this);
+ public AlertmanagerSpecACGSmtpBuilder edit() {
+ return new AlertmanagerSpecACGSmtpBuilder(this);
}
@JsonIgnore
- public GlobalSMTPConfigBuilder toBuilder() {
+ public AlertmanagerSpecACGSmtpBuilder toBuilder() {
return edit();
}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerGlobalConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGlobal.java
similarity index 75%
rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerGlobalConfig.java
rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGlobal.java
index 02519247c99..16d3513badb 100644
--- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerGlobalConfig.java
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGlobal.java
@@ -22,7 +22,6 @@
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.SecretKeySelector;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
@@ -58,23 +57,23 @@
@BuildableReference(PersistentVolumeClaim.class)
})
@Generated("jsonschema2pojo")
-public class AlertmanagerGlobalConfig implements Editable , KubernetesResource
+public class AlertmanagerSpecACGlobal implements Editable , KubernetesResource
{
@JsonProperty("httpConfig")
- private HTTPConfig httpConfig;
+ private AlertmanagerSpecACGHttpConfig httpConfig;
@JsonProperty("opsGenieApiKey")
- private SecretKeySelector opsGenieApiKey;
+ private AlertmanagerSpecACGOpsGenieApiKey opsGenieApiKey;
@JsonProperty("opsGenieApiUrl")
- private SecretKeySelector opsGenieApiUrl;
+ private AlertmanagerSpecACGOpsGenieApiUrl opsGenieApiUrl;
@JsonProperty("pagerdutyUrl")
private String pagerdutyUrl;
@JsonProperty("resolveTimeout")
private String resolveTimeout;
@JsonProperty("slackApiUrl")
- private SecretKeySelector slackApiUrl;
+ private AlertmanagerSpecACGSlackApiUrl slackApiUrl;
@JsonProperty("smtp")
- private GlobalSMTPConfig smtp;
+ private AlertmanagerSpecACGSmtp smtp;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
@@ -82,10 +81,10 @@ public class AlertmanagerGlobalConfig implements Editable , KubernetesResource
+{
+
+ @JsonProperty("key")
+ private String key;
+ @JsonProperty("name")
+ private String name;
+ @JsonProperty("optional")
+ private Boolean optional;
+ @JsonIgnore
+ private Map additionalProperties = new LinkedHashMap();
+
+ /**
+ * No args constructor for use in serialization
+ *
+ */
+ public AlertmanagerSpecACTConfigMap() {
+ }
+
+ public AlertmanagerSpecACTConfigMap(String key, String name, Boolean optional) {
+ super();
+ this.key = key;
+ this.name = name;
+ this.optional = optional;
+ }
+
+ @JsonProperty("key")
+ public String getKey() {
+ return key;
+ }
+
+ @JsonProperty("key")
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ @JsonProperty("name")
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @JsonProperty("optional")
+ public Boolean getOptional() {
+ return optional;
+ }
+
+ @JsonProperty("optional")
+ public void setOptional(Boolean optional) {
+ this.optional = optional;
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACTConfigMapBuilder edit() {
+ return new AlertmanagerSpecACTConfigMapBuilder(this);
+ }
+
+ @JsonIgnore
+ public AlertmanagerSpecACTConfigMapBuilder toBuilder() {
+ return edit();
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+ public void setAdditionalProperties(Map additionalProperties) {
+ this.additionalProperties = additionalProperties;
+ }
+
+}
diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACTSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACTSecret.java
new file mode 100644
index 00000000000..0f338e11a69
--- /dev/null
+++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACTSecret.java
@@ -0,0 +1,136 @@
+
+package io.fabric8.openshift.api.model.monitoring.v1;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+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.builder.Editable;
+import io.fabric8.kubernetes.api.model.Container;
+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.sundr.builder.annotations.Buildable;
+import io.sundr.builder.annotations.BuildableReference;
+import lombok.EqualsAndHashCode;
+import lombok.ToString;
+import lombok.experimental.Accessors;
+
+@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
+@JsonInclude(JsonInclude.Include.NON_NULL)
+@JsonPropertyOrder({
+ "key",
+ "name",
+ "optional"
+})
+@ToString
+@EqualsAndHashCode
+@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)
+})
+@Generated("jsonschema2pojo")
+public class AlertmanagerSpecACTSecret implements Editable