From d0e16782c109f4fcf8f852b725f6ddf29baa58e2 Mon Sep 17 00:00:00 2001 From: tunahanertekin Date: Sun, 31 Dec 2023 08:45:23 +0000 Subject: [PATCH] build(ci): generate fabric8 models 0.1.0-alpha.15 for robot.roboscale.io v0.2.6-alpha.14.6, fleet.roboscale.io v0.1.6-alpha.14 and connection-hub.roboscale.io v0.1.7-alpha.10 --- pom.xml | 2 +- .../v1alpha1/AuthenticationClass.java | 10 + .../v1alpha1/AuthenticationClassSpec.java | 26 + .../authenticationclassspec/Provider.java | 73 +++ .../provider/Ldap.java | 126 +++++ .../provider/Oidc.java | 149 ++++++ .../provider/Static.java | 26 + .../authenticationclassspec/provider/Tls.java | 26 + .../provider/ldap/BindCredentials.java | 43 ++ .../provider/ldap/LdapFieldNames.java | 89 ++++ .../provider/ldap/Tls.java | 26 + .../provider/ldap/bindcredentials/Scope.java | 57 +++ .../provider/ldap/tls/Verification.java | 41 ++ .../provider/ldap/tls/verification/None.java | 9 + .../ldap/tls/verification/Server.java | 26 + .../ldap/tls/verification/server/CaCert.java | 41 ++ .../verification/server/cacert/WebPki.java | 9 + .../provider/oidc/Tls.java | 26 + .../provider/oidc/tls/Verification.java | 41 ++ .../provider/oidc/tls/verification/None.java | 9 + .../oidc/tls/verification/Server.java | 26 + .../oidc/tls/verification/server/CaCert.java | 41 ++ .../verification/server/cacert/WebPki.java | 9 + .../static/UserCredentialsSecret.java | 26 + .../listeners/v1alpha1/Listener.java | 10 + .../listeners/v1alpha1/ListenerClass.java | 10 + .../listeners/v1alpha1/ListenerClassSpec.java | 61 +++ .../listeners/v1alpha1/ListenerSpec.java | 76 +++ .../listeners/v1alpha1/ListenerStatus.java | 62 +++ .../listeners/v1alpha1/PodListeners.java | 10 + .../listeners/v1alpha1/PodListenersSpec.java | 28 + .../v1alpha1/listenerspec/Ports.java | 62 +++ .../listenerstatus/IngressAddresses.java | 78 +++ .../v1alpha1/podlistenersspec/Listeners.java | 65 +++ .../listeners/IngressAddresses.java | 78 +++ .../stackable/opa/v1alpha1/OpaCluster.java | 10 + .../opa/v1alpha1/OpaClusterSpec.java | 75 +++ .../opa/v1alpha1/OpaClusterStatus.java | 21 + .../opaclusterspec/ClusterConfig.java | 69 +++ .../opaclusterspec/ClusterOperation.java | 41 ++ .../opa/v1alpha1/opaclusterspec/Image.java | 127 +++++ .../opa/v1alpha1/opaclusterspec/Servers.java | 102 ++++ .../opaclusterspec/image/PullSecrets.java | 25 + .../opaclusterspec/servers/Config.java | 54 ++ .../opaclusterspec/servers/PodOverrides.java | 33 ++ .../opaclusterspec/servers/RoleConfig.java | 9 + .../opaclusterspec/servers/RoleGroups.java | 104 ++++ .../servers/config/Logging.java | 42 ++ .../servers/config/Resources.java | 45 ++ .../servers/config/logging/Containers.java | 75 +++ .../config/logging/containers/Console.java | 55 ++ .../config/logging/containers/Custom.java | 26 + .../config/logging/containers/File.java | 55 ++ .../config/logging/containers/Loggers.java | 55 ++ .../servers/config/resources/Cpu.java | 115 +++++ .../servers/config/resources/Memory.java | 74 +++ .../servers/config/resources/Storage.java | 9 + .../resources/memory/RuntimeLimits.java | 9 + .../servers/podoverrides/Metadata.java | 189 +++++++ .../servers/podoverrides/Spec.java | 477 ++++++++++++++++++ .../podoverrides/metadata/ManagedFields.java | 93 ++++ .../metadata/OwnerReferences.java | 81 +++ .../metadata/managedfields/FieldsV1.java | 9 + .../servers/podoverrides/spec/Affinity.java | 45 ++ .../servers/podoverrides/spec/Containers.java | 297 +++++++++++ .../servers/podoverrides/spec/DnsConfig.java | 45 ++ .../spec/EphemeralContainers.java | 309 ++++++++++++ .../podoverrides/spec/HostAliases.java | 33 ++ .../podoverrides/spec/ImagePullSecrets.java | 21 + .../podoverrides/spec/InitContainers.java | 297 +++++++++++ .../servers/podoverrides/spec/Os.java | 21 + .../podoverrides/spec/ReadinessGates.java | 21 + .../podoverrides/spec/ResourceClaims.java | 33 ++ .../podoverrides/spec/SchedulingGates.java | 21 + .../podoverrides/spec/SecurityContext.java | 129 +++++ .../podoverrides/spec/Tolerations.java | 69 +++ .../spec/TopologySpreadConstraints.java | 105 ++++ .../servers/podoverrides/spec/Volumes.java | 369 ++++++++++++++ .../spec/affinity/NodeAffinity.java | 33 ++ .../spec/affinity/PodAffinity.java | 33 ++ .../spec/affinity/PodAntiAffinity.java | 33 ++ ...uringSchedulingIgnoredDuringExecution.java | 33 ++ ...uringSchedulingIgnoredDuringExecution.java | 21 + .../Preference.java | 33 ++ .../preference/MatchExpressions.java | 45 ++ .../preference/MatchFields.java | 45 ++ .../NodeSelectorTerms.java | 33 ++ .../nodeselectorterms/MatchExpressions.java | 45 ++ .../nodeselectorterms/MatchFields.java | 45 ++ ...uringSchedulingIgnoredDuringExecution.java | 33 ++ ...uringSchedulingIgnoredDuringExecution.java | 57 +++ .../PodAffinityTerm.java | 57 +++ .../podaffinityterm/LabelSelector.java | 33 ++ .../podaffinityterm/NamespaceSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../namespaceselector/MatchExpressions.java | 45 ++ .../LabelSelector.java | 33 ++ .../NamespaceSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../namespaceselector/MatchExpressions.java | 45 ++ ...uringSchedulingIgnoredDuringExecution.java | 33 ++ ...uringSchedulingIgnoredDuringExecution.java | 57 +++ .../PodAffinityTerm.java | 57 +++ .../podaffinityterm/LabelSelector.java | 33 ++ .../podaffinityterm/NamespaceSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../namespaceselector/MatchExpressions.java | 45 ++ .../LabelSelector.java | 33 ++ .../NamespaceSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../namespaceselector/MatchExpressions.java | 45 ++ .../podoverrides/spec/containers/Env.java | 45 ++ .../podoverrides/spec/containers/EnvFrom.java | 45 ++ .../spec/containers/Lifecycle.java | 33 ++ .../spec/containers/LivenessProbe.java | 129 +++++ .../podoverrides/spec/containers/Ports.java | 69 +++ .../spec/containers/ReadinessProbe.java | 129 +++++ .../spec/containers/ResizePolicy.java | 33 ++ .../spec/containers/Resources.java | 45 ++ .../spec/containers/SecurityContext.java | 141 ++++++ .../spec/containers/StartupProbe.java | 129 +++++ .../spec/containers/VolumeDevices.java | 33 ++ .../spec/containers/VolumeMounts.java | 81 +++ .../spec/containers/env/ValueFrom.java | 57 +++ .../env/valuefrom/ConfigMapKeyRef.java | 45 ++ .../containers/env/valuefrom/FieldRef.java | 33 ++ .../env/valuefrom/ResourceFieldRef.java | 45 ++ .../env/valuefrom/SecretKeyRef.java | 45 ++ .../spec/containers/envfrom/ConfigMapRef.java | 33 ++ .../spec/containers/envfrom/SecretRef.java | 33 ++ .../spec/containers/lifecycle/PostStart.java | 45 ++ .../spec/containers/lifecycle/PreStop.java | 45 ++ .../containers/lifecycle/poststart/Exec.java | 21 + .../lifecycle/poststart/HttpGet.java | 69 +++ .../lifecycle/poststart/TcpSocket.java | 33 ++ .../poststart/httpget/HttpHeaders.java | 33 ++ .../containers/lifecycle/prestop/Exec.java | 21 + .../containers/lifecycle/prestop/HttpGet.java | 69 +++ .../lifecycle/prestop/TcpSocket.java | 33 ++ .../prestop/httpget/HttpHeaders.java | 33 ++ .../spec/containers/livenessprobe/Exec.java | 21 + .../spec/containers/livenessprobe/Grpc.java | 33 ++ .../containers/livenessprobe/HttpGet.java | 69 +++ .../containers/livenessprobe/TcpSocket.java | 33 ++ .../livenessprobe/httpget/HttpHeaders.java | 33 ++ .../spec/containers/readinessprobe/Exec.java | 21 + .../spec/containers/readinessprobe/Grpc.java | 33 ++ .../containers/readinessprobe/HttpGet.java | 69 +++ .../containers/readinessprobe/TcpSocket.java | 33 ++ .../readinessprobe/httpget/HttpHeaders.java | 33 ++ .../spec/containers/resources/Claims.java | 21 + .../securitycontext/Capabilities.java | 33 ++ .../securitycontext/SeLinuxOptions.java | 57 +++ .../securitycontext/SeccompProfile.java | 33 ++ .../securitycontext/WindowsOptions.java | 57 +++ .../spec/containers/startupprobe/Exec.java | 21 + .../spec/containers/startupprobe/Grpc.java | 33 ++ .../spec/containers/startupprobe/HttpGet.java | 69 +++ .../containers/startupprobe/TcpSocket.java | 33 ++ .../startupprobe/httpget/HttpHeaders.java | 33 ++ .../podoverrides/spec/dnsconfig/Options.java | 33 ++ .../spec/ephemeralcontainers/Env.java | 45 ++ .../spec/ephemeralcontainers/EnvFrom.java | 45 ++ .../spec/ephemeralcontainers/Lifecycle.java | 33 ++ .../ephemeralcontainers/LivenessProbe.java | 129 +++++ .../spec/ephemeralcontainers/Ports.java | 69 +++ .../ephemeralcontainers/ReadinessProbe.java | 129 +++++ .../ephemeralcontainers/ResizePolicy.java | 33 ++ .../spec/ephemeralcontainers/Resources.java | 45 ++ .../ephemeralcontainers/SecurityContext.java | 141 ++++++ .../ephemeralcontainers/StartupProbe.java | 129 +++++ .../ephemeralcontainers/VolumeDevices.java | 33 ++ .../ephemeralcontainers/VolumeMounts.java | 81 +++ .../ephemeralcontainers/env/ValueFrom.java | 57 +++ .../env/valuefrom/ConfigMapKeyRef.java | 45 ++ .../env/valuefrom/FieldRef.java | 33 ++ .../env/valuefrom/ResourceFieldRef.java | 45 ++ .../env/valuefrom/SecretKeyRef.java | 45 ++ .../envfrom/ConfigMapRef.java | 33 ++ .../envfrom/SecretRef.java | 33 ++ .../lifecycle/PostStart.java | 45 ++ .../lifecycle/PreStop.java | 45 ++ .../lifecycle/poststart/Exec.java | 21 + .../lifecycle/poststart/HttpGet.java | 69 +++ .../lifecycle/poststart/TcpSocket.java | 33 ++ .../poststart/httpget/HttpHeaders.java | 33 ++ .../lifecycle/prestop/Exec.java | 21 + .../lifecycle/prestop/HttpGet.java | 69 +++ .../lifecycle/prestop/TcpSocket.java | 33 ++ .../prestop/httpget/HttpHeaders.java | 33 ++ .../livenessprobe/Exec.java | 21 + .../livenessprobe/Grpc.java | 33 ++ .../livenessprobe/HttpGet.java | 69 +++ .../livenessprobe/TcpSocket.java | 33 ++ .../livenessprobe/httpget/HttpHeaders.java | 33 ++ .../readinessprobe/Exec.java | 21 + .../readinessprobe/Grpc.java | 33 ++ .../readinessprobe/HttpGet.java | 69 +++ .../readinessprobe/TcpSocket.java | 33 ++ .../readinessprobe/httpget/HttpHeaders.java | 33 ++ .../ephemeralcontainers/resources/Claims.java | 21 + .../securitycontext/Capabilities.java | 33 ++ .../securitycontext/SeLinuxOptions.java | 57 +++ .../securitycontext/SeccompProfile.java | 33 ++ .../securitycontext/WindowsOptions.java | 57 +++ .../startupprobe/Exec.java | 21 + .../startupprobe/Grpc.java | 33 ++ .../startupprobe/HttpGet.java | 69 +++ .../startupprobe/TcpSocket.java | 33 ++ .../startupprobe/httpget/HttpHeaders.java | 33 ++ .../podoverrides/spec/initcontainers/Env.java | 45 ++ .../spec/initcontainers/EnvFrom.java | 45 ++ .../spec/initcontainers/Lifecycle.java | 33 ++ .../spec/initcontainers/LivenessProbe.java | 129 +++++ .../spec/initcontainers/Ports.java | 69 +++ .../spec/initcontainers/ReadinessProbe.java | 129 +++++ .../spec/initcontainers/ResizePolicy.java | 33 ++ .../spec/initcontainers/Resources.java | 45 ++ .../spec/initcontainers/SecurityContext.java | 141 ++++++ .../spec/initcontainers/StartupProbe.java | 129 +++++ .../spec/initcontainers/VolumeDevices.java | 33 ++ .../spec/initcontainers/VolumeMounts.java | 81 +++ .../spec/initcontainers/env/ValueFrom.java | 57 +++ .../env/valuefrom/ConfigMapKeyRef.java | 45 ++ .../env/valuefrom/FieldRef.java | 33 ++ .../env/valuefrom/ResourceFieldRef.java | 45 ++ .../env/valuefrom/SecretKeyRef.java | 45 ++ .../initcontainers/envfrom/ConfigMapRef.java | 33 ++ .../initcontainers/envfrom/SecretRef.java | 33 ++ .../initcontainers/lifecycle/PostStart.java | 45 ++ .../initcontainers/lifecycle/PreStop.java | 45 ++ .../lifecycle/poststart/Exec.java | 21 + .../lifecycle/poststart/HttpGet.java | 69 +++ .../lifecycle/poststart/TcpSocket.java | 33 ++ .../poststart/httpget/HttpHeaders.java | 33 ++ .../lifecycle/prestop/Exec.java | 21 + .../lifecycle/prestop/HttpGet.java | 69 +++ .../lifecycle/prestop/TcpSocket.java | 33 ++ .../prestop/httpget/HttpHeaders.java | 33 ++ .../initcontainers/livenessprobe/Exec.java | 21 + .../initcontainers/livenessprobe/Grpc.java | 33 ++ .../initcontainers/livenessprobe/HttpGet.java | 69 +++ .../livenessprobe/TcpSocket.java | 33 ++ .../livenessprobe/httpget/HttpHeaders.java | 33 ++ .../initcontainers/readinessprobe/Exec.java | 21 + .../initcontainers/readinessprobe/Grpc.java | 33 ++ .../readinessprobe/HttpGet.java | 69 +++ .../readinessprobe/TcpSocket.java | 33 ++ .../readinessprobe/httpget/HttpHeaders.java | 33 ++ .../spec/initcontainers/resources/Claims.java | 21 + .../securitycontext/Capabilities.java | 33 ++ .../securitycontext/SeLinuxOptions.java | 57 +++ .../securitycontext/SeccompProfile.java | 33 ++ .../securitycontext/WindowsOptions.java | 57 +++ .../initcontainers/startupprobe/Exec.java | 21 + .../initcontainers/startupprobe/Grpc.java | 33 ++ .../initcontainers/startupprobe/HttpGet.java | 69 +++ .../startupprobe/TcpSocket.java | 33 ++ .../startupprobe/httpget/HttpHeaders.java | 33 ++ .../spec/resourceclaims/Source.java | 33 ++ .../spec/securitycontext/SeLinuxOptions.java | 57 +++ .../spec/securitycontext/SeccompProfile.java | 33 ++ .../spec/securitycontext/Sysctls.java | 33 ++ .../spec/securitycontext/WindowsOptions.java | 57 +++ .../LabelSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../spec/volumes/AwsElasticBlockStore.java | 57 +++ .../podoverrides/spec/volumes/AzureDisk.java | 81 +++ .../podoverrides/spec/volumes/AzureFile.java | 45 ++ .../podoverrides/spec/volumes/Cephfs.java | 81 +++ .../podoverrides/spec/volumes/Cinder.java | 57 +++ .../podoverrides/spec/volumes/ConfigMap.java | 57 +++ .../podoverrides/spec/volumes/Csi.java | 69 +++ .../spec/volumes/DownwardAPI.java | 33 ++ .../podoverrides/spec/volumes/EmptyDir.java | 33 ++ .../podoverrides/spec/volumes/Ephemeral.java | 21 + .../servers/podoverrides/spec/volumes/Fc.java | 69 +++ .../podoverrides/spec/volumes/FlexVolume.java | 69 +++ .../podoverrides/spec/volumes/Flocker.java | 33 ++ .../spec/volumes/GcePersistentDisk.java | 57 +++ .../podoverrides/spec/volumes/GitRepo.java | 45 ++ .../podoverrides/spec/volumes/Glusterfs.java | 45 ++ .../podoverrides/spec/volumes/HostPath.java | 33 ++ .../podoverrides/spec/volumes/Iscsi.java | 141 ++++++ .../podoverrides/spec/volumes/Nfs.java | 45 ++ .../spec/volumes/PersistentVolumeClaim.java | 33 ++ .../spec/volumes/PhotonPersistentDisk.java | 33 ++ .../spec/volumes/PortworxVolume.java | 45 ++ .../podoverrides/spec/volumes/Projected.java | 33 ++ .../podoverrides/spec/volumes/Quobyte.java | 81 +++ .../podoverrides/spec/volumes/Rbd.java | 105 ++++ .../podoverrides/spec/volumes/ScaleIO.java | 129 +++++ .../podoverrides/spec/volumes/Secret.java | 57 +++ .../podoverrides/spec/volumes/Storageos.java | 69 +++ .../spec/volumes/VsphereVolume.java | 57 +++ .../spec/volumes/cephfs/SecretRef.java | 21 + .../spec/volumes/cinder/SecretRef.java | 21 + .../spec/volumes/configmap/Items.java | 45 ++ .../volumes/csi/NodePublishSecretRef.java | 21 + .../spec/volumes/downwardapi/Items.java | 57 +++ .../volumes/downwardapi/items/FieldRef.java | 33 ++ .../downwardapi/items/ResourceFieldRef.java | 45 ++ .../ephemeral/VolumeClaimTemplate.java | 33 ++ .../volumeclaimtemplate/Metadata.java | 189 +++++++ .../ephemeral/volumeclaimtemplate/Spec.java | 105 ++++ .../metadata/ManagedFields.java | 93 ++++ .../metadata/OwnerReferences.java | 81 +++ .../metadata/managedfields/FieldsV1.java | 9 + .../volumeclaimtemplate/spec/DataSource.java | 45 ++ .../spec/DataSourceRef.java | 57 +++ .../volumeclaimtemplate/spec/Resources.java | 45 ++ .../volumeclaimtemplate/spec/Selector.java | 33 ++ .../spec/resources/Claims.java | 21 + .../spec/selector/MatchExpressions.java | 45 ++ .../spec/volumes/flexvolume/SecretRef.java | 21 + .../spec/volumes/iscsi/SecretRef.java | 21 + .../spec/volumes/projected/Sources.java | 57 +++ .../volumes/projected/sources/ConfigMap.java | 45 ++ .../projected/sources/DownwardAPI.java | 21 + .../volumes/projected/sources/Secret.java | 45 ++ .../sources/ServiceAccountToken.java | 45 ++ .../projected/sources/configmap/Items.java | 45 ++ .../projected/sources/downwardapi/Items.java | 57 +++ .../sources/downwardapi/items/FieldRef.java | 33 ++ .../downwardapi/items/ResourceFieldRef.java | 45 ++ .../projected/sources/secret/Items.java | 45 ++ .../spec/volumes/rbd/SecretRef.java | 21 + .../spec/volumes/scaleio/SecretRef.java | 21 + .../spec/volumes/secret/Items.java | 45 ++ .../spec/volumes/storageos/SecretRef.java | 21 + .../servers/rolegroups/Config.java | 54 ++ .../servers/rolegroups/PodOverrides.java | 33 ++ .../servers/rolegroups/Selector.java | 41 ++ .../servers/rolegroups/config/Logging.java | 42 ++ .../servers/rolegroups/config/Resources.java | 45 ++ .../rolegroups/config/logging/Containers.java | 75 +++ .../config/logging/containers/Console.java | 55 ++ .../config/logging/containers/Custom.java | 26 + .../config/logging/containers/File.java | 55 ++ .../config/logging/containers/Loggers.java | 55 ++ .../rolegroups/config/resources/Cpu.java | 115 +++++ .../rolegroups/config/resources/Memory.java | 74 +++ .../rolegroups/config/resources/Storage.java | 9 + .../resources/memory/RuntimeLimits.java | 9 + .../rolegroups/podoverrides/Metadata.java | 189 +++++++ .../servers/rolegroups/podoverrides/Spec.java | 477 ++++++++++++++++++ .../podoverrides/metadata/ManagedFields.java | 93 ++++ .../metadata/OwnerReferences.java | 81 +++ .../metadata/managedfields/FieldsV1.java | 9 + .../podoverrides/spec/Affinity.java | 45 ++ .../podoverrides/spec/Containers.java | 297 +++++++++++ .../podoverrides/spec/DnsConfig.java | 45 ++ .../spec/EphemeralContainers.java | 309 ++++++++++++ .../podoverrides/spec/HostAliases.java | 33 ++ .../podoverrides/spec/ImagePullSecrets.java | 21 + .../podoverrides/spec/InitContainers.java | 297 +++++++++++ .../rolegroups/podoverrides/spec/Os.java | 21 + .../podoverrides/spec/ReadinessGates.java | 21 + .../podoverrides/spec/ResourceClaims.java | 33 ++ .../podoverrides/spec/SchedulingGates.java | 21 + .../podoverrides/spec/SecurityContext.java | 129 +++++ .../podoverrides/spec/Tolerations.java | 69 +++ .../spec/TopologySpreadConstraints.java | 105 ++++ .../rolegroups/podoverrides/spec/Volumes.java | 369 ++++++++++++++ .../spec/affinity/NodeAffinity.java | 33 ++ .../spec/affinity/PodAffinity.java | 33 ++ .../spec/affinity/PodAntiAffinity.java | 33 ++ ...uringSchedulingIgnoredDuringExecution.java | 33 ++ ...uringSchedulingIgnoredDuringExecution.java | 21 + .../Preference.java | 33 ++ .../preference/MatchExpressions.java | 45 ++ .../preference/MatchFields.java | 45 ++ .../NodeSelectorTerms.java | 33 ++ .../nodeselectorterms/MatchExpressions.java | 45 ++ .../nodeselectorterms/MatchFields.java | 45 ++ ...uringSchedulingIgnoredDuringExecution.java | 33 ++ ...uringSchedulingIgnoredDuringExecution.java | 57 +++ .../PodAffinityTerm.java | 57 +++ .../podaffinityterm/LabelSelector.java | 33 ++ .../podaffinityterm/NamespaceSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../namespaceselector/MatchExpressions.java | 45 ++ .../LabelSelector.java | 33 ++ .../NamespaceSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../namespaceselector/MatchExpressions.java | 45 ++ ...uringSchedulingIgnoredDuringExecution.java | 33 ++ ...uringSchedulingIgnoredDuringExecution.java | 57 +++ .../PodAffinityTerm.java | 57 +++ .../podaffinityterm/LabelSelector.java | 33 ++ .../podaffinityterm/NamespaceSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../namespaceselector/MatchExpressions.java | 45 ++ .../LabelSelector.java | 33 ++ .../NamespaceSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../namespaceselector/MatchExpressions.java | 45 ++ .../podoverrides/spec/containers/Env.java | 45 ++ .../podoverrides/spec/containers/EnvFrom.java | 45 ++ .../spec/containers/Lifecycle.java | 33 ++ .../spec/containers/LivenessProbe.java | 129 +++++ .../podoverrides/spec/containers/Ports.java | 69 +++ .../spec/containers/ReadinessProbe.java | 129 +++++ .../spec/containers/ResizePolicy.java | 33 ++ .../spec/containers/Resources.java | 45 ++ .../spec/containers/SecurityContext.java | 141 ++++++ .../spec/containers/StartupProbe.java | 129 +++++ .../spec/containers/VolumeDevices.java | 33 ++ .../spec/containers/VolumeMounts.java | 81 +++ .../spec/containers/env/ValueFrom.java | 57 +++ .../env/valuefrom/ConfigMapKeyRef.java | 45 ++ .../containers/env/valuefrom/FieldRef.java | 33 ++ .../env/valuefrom/ResourceFieldRef.java | 45 ++ .../env/valuefrom/SecretKeyRef.java | 45 ++ .../spec/containers/envfrom/ConfigMapRef.java | 33 ++ .../spec/containers/envfrom/SecretRef.java | 33 ++ .../spec/containers/lifecycle/PostStart.java | 45 ++ .../spec/containers/lifecycle/PreStop.java | 45 ++ .../containers/lifecycle/poststart/Exec.java | 21 + .../lifecycle/poststart/HttpGet.java | 69 +++ .../lifecycle/poststart/TcpSocket.java | 33 ++ .../poststart/httpget/HttpHeaders.java | 33 ++ .../containers/lifecycle/prestop/Exec.java | 21 + .../containers/lifecycle/prestop/HttpGet.java | 69 +++ .../lifecycle/prestop/TcpSocket.java | 33 ++ .../prestop/httpget/HttpHeaders.java | 33 ++ .../spec/containers/livenessprobe/Exec.java | 21 + .../spec/containers/livenessprobe/Grpc.java | 33 ++ .../containers/livenessprobe/HttpGet.java | 69 +++ .../containers/livenessprobe/TcpSocket.java | 33 ++ .../livenessprobe/httpget/HttpHeaders.java | 33 ++ .../spec/containers/readinessprobe/Exec.java | 21 + .../spec/containers/readinessprobe/Grpc.java | 33 ++ .../containers/readinessprobe/HttpGet.java | 69 +++ .../containers/readinessprobe/TcpSocket.java | 33 ++ .../readinessprobe/httpget/HttpHeaders.java | 33 ++ .../spec/containers/resources/Claims.java | 21 + .../securitycontext/Capabilities.java | 33 ++ .../securitycontext/SeLinuxOptions.java | 57 +++ .../securitycontext/SeccompProfile.java | 33 ++ .../securitycontext/WindowsOptions.java | 57 +++ .../spec/containers/startupprobe/Exec.java | 21 + .../spec/containers/startupprobe/Grpc.java | 33 ++ .../spec/containers/startupprobe/HttpGet.java | 69 +++ .../containers/startupprobe/TcpSocket.java | 33 ++ .../startupprobe/httpget/HttpHeaders.java | 33 ++ .../podoverrides/spec/dnsconfig/Options.java | 33 ++ .../spec/ephemeralcontainers/Env.java | 45 ++ .../spec/ephemeralcontainers/EnvFrom.java | 45 ++ .../spec/ephemeralcontainers/Lifecycle.java | 33 ++ .../ephemeralcontainers/LivenessProbe.java | 129 +++++ .../spec/ephemeralcontainers/Ports.java | 69 +++ .../ephemeralcontainers/ReadinessProbe.java | 129 +++++ .../ephemeralcontainers/ResizePolicy.java | 33 ++ .../spec/ephemeralcontainers/Resources.java | 45 ++ .../ephemeralcontainers/SecurityContext.java | 141 ++++++ .../ephemeralcontainers/StartupProbe.java | 129 +++++ .../ephemeralcontainers/VolumeDevices.java | 33 ++ .../ephemeralcontainers/VolumeMounts.java | 81 +++ .../ephemeralcontainers/env/ValueFrom.java | 57 +++ .../env/valuefrom/ConfigMapKeyRef.java | 45 ++ .../env/valuefrom/FieldRef.java | 33 ++ .../env/valuefrom/ResourceFieldRef.java | 45 ++ .../env/valuefrom/SecretKeyRef.java | 45 ++ .../envfrom/ConfigMapRef.java | 33 ++ .../envfrom/SecretRef.java | 33 ++ .../lifecycle/PostStart.java | 45 ++ .../lifecycle/PreStop.java | 45 ++ .../lifecycle/poststart/Exec.java | 21 + .../lifecycle/poststart/HttpGet.java | 69 +++ .../lifecycle/poststart/TcpSocket.java | 33 ++ .../poststart/httpget/HttpHeaders.java | 33 ++ .../lifecycle/prestop/Exec.java | 21 + .../lifecycle/prestop/HttpGet.java | 69 +++ .../lifecycle/prestop/TcpSocket.java | 33 ++ .../prestop/httpget/HttpHeaders.java | 33 ++ .../livenessprobe/Exec.java | 21 + .../livenessprobe/Grpc.java | 33 ++ .../livenessprobe/HttpGet.java | 69 +++ .../livenessprobe/TcpSocket.java | 33 ++ .../livenessprobe/httpget/HttpHeaders.java | 33 ++ .../readinessprobe/Exec.java | 21 + .../readinessprobe/Grpc.java | 33 ++ .../readinessprobe/HttpGet.java | 69 +++ .../readinessprobe/TcpSocket.java | 33 ++ .../readinessprobe/httpget/HttpHeaders.java | 33 ++ .../ephemeralcontainers/resources/Claims.java | 21 + .../securitycontext/Capabilities.java | 33 ++ .../securitycontext/SeLinuxOptions.java | 57 +++ .../securitycontext/SeccompProfile.java | 33 ++ .../securitycontext/WindowsOptions.java | 57 +++ .../startupprobe/Exec.java | 21 + .../startupprobe/Grpc.java | 33 ++ .../startupprobe/HttpGet.java | 69 +++ .../startupprobe/TcpSocket.java | 33 ++ .../startupprobe/httpget/HttpHeaders.java | 33 ++ .../podoverrides/spec/initcontainers/Env.java | 45 ++ .../spec/initcontainers/EnvFrom.java | 45 ++ .../spec/initcontainers/Lifecycle.java | 33 ++ .../spec/initcontainers/LivenessProbe.java | 129 +++++ .../spec/initcontainers/Ports.java | 69 +++ .../spec/initcontainers/ReadinessProbe.java | 129 +++++ .../spec/initcontainers/ResizePolicy.java | 33 ++ .../spec/initcontainers/Resources.java | 45 ++ .../spec/initcontainers/SecurityContext.java | 141 ++++++ .../spec/initcontainers/StartupProbe.java | 129 +++++ .../spec/initcontainers/VolumeDevices.java | 33 ++ .../spec/initcontainers/VolumeMounts.java | 81 +++ .../spec/initcontainers/env/ValueFrom.java | 57 +++ .../env/valuefrom/ConfigMapKeyRef.java | 45 ++ .../env/valuefrom/FieldRef.java | 33 ++ .../env/valuefrom/ResourceFieldRef.java | 45 ++ .../env/valuefrom/SecretKeyRef.java | 45 ++ .../initcontainers/envfrom/ConfigMapRef.java | 33 ++ .../initcontainers/envfrom/SecretRef.java | 33 ++ .../initcontainers/lifecycle/PostStart.java | 45 ++ .../initcontainers/lifecycle/PreStop.java | 45 ++ .../lifecycle/poststart/Exec.java | 21 + .../lifecycle/poststart/HttpGet.java | 69 +++ .../lifecycle/poststart/TcpSocket.java | 33 ++ .../poststart/httpget/HttpHeaders.java | 33 ++ .../lifecycle/prestop/Exec.java | 21 + .../lifecycle/prestop/HttpGet.java | 69 +++ .../lifecycle/prestop/TcpSocket.java | 33 ++ .../prestop/httpget/HttpHeaders.java | 33 ++ .../initcontainers/livenessprobe/Exec.java | 21 + .../initcontainers/livenessprobe/Grpc.java | 33 ++ .../initcontainers/livenessprobe/HttpGet.java | 69 +++ .../livenessprobe/TcpSocket.java | 33 ++ .../livenessprobe/httpget/HttpHeaders.java | 33 ++ .../initcontainers/readinessprobe/Exec.java | 21 + .../initcontainers/readinessprobe/Grpc.java | 33 ++ .../readinessprobe/HttpGet.java | 69 +++ .../readinessprobe/TcpSocket.java | 33 ++ .../readinessprobe/httpget/HttpHeaders.java | 33 ++ .../spec/initcontainers/resources/Claims.java | 21 + .../securitycontext/Capabilities.java | 33 ++ .../securitycontext/SeLinuxOptions.java | 57 +++ .../securitycontext/SeccompProfile.java | 33 ++ .../securitycontext/WindowsOptions.java | 57 +++ .../initcontainers/startupprobe/Exec.java | 21 + .../initcontainers/startupprobe/Grpc.java | 33 ++ .../initcontainers/startupprobe/HttpGet.java | 69 +++ .../startupprobe/TcpSocket.java | 33 ++ .../startupprobe/httpget/HttpHeaders.java | 33 ++ .../spec/resourceclaims/Source.java | 33 ++ .../spec/securitycontext/SeLinuxOptions.java | 57 +++ .../spec/securitycontext/SeccompProfile.java | 33 ++ .../spec/securitycontext/Sysctls.java | 33 ++ .../spec/securitycontext/WindowsOptions.java | 57 +++ .../LabelSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../spec/volumes/AwsElasticBlockStore.java | 57 +++ .../podoverrides/spec/volumes/AzureDisk.java | 81 +++ .../podoverrides/spec/volumes/AzureFile.java | 45 ++ .../podoverrides/spec/volumes/Cephfs.java | 81 +++ .../podoverrides/spec/volumes/Cinder.java | 57 +++ .../podoverrides/spec/volumes/ConfigMap.java | 57 +++ .../podoverrides/spec/volumes/Csi.java | 69 +++ .../spec/volumes/DownwardAPI.java | 33 ++ .../podoverrides/spec/volumes/EmptyDir.java | 33 ++ .../podoverrides/spec/volumes/Ephemeral.java | 21 + .../podoverrides/spec/volumes/Fc.java | 69 +++ .../podoverrides/spec/volumes/FlexVolume.java | 69 +++ .../podoverrides/spec/volumes/Flocker.java | 33 ++ .../spec/volumes/GcePersistentDisk.java | 57 +++ .../podoverrides/spec/volumes/GitRepo.java | 45 ++ .../podoverrides/spec/volumes/Glusterfs.java | 45 ++ .../podoverrides/spec/volumes/HostPath.java | 33 ++ .../podoverrides/spec/volumes/Iscsi.java | 141 ++++++ .../podoverrides/spec/volumes/Nfs.java | 45 ++ .../spec/volumes/PersistentVolumeClaim.java | 33 ++ .../spec/volumes/PhotonPersistentDisk.java | 33 ++ .../spec/volumes/PortworxVolume.java | 45 ++ .../podoverrides/spec/volumes/Projected.java | 33 ++ .../podoverrides/spec/volumes/Quobyte.java | 81 +++ .../podoverrides/spec/volumes/Rbd.java | 105 ++++ .../podoverrides/spec/volumes/ScaleIO.java | 129 +++++ .../podoverrides/spec/volumes/Secret.java | 57 +++ .../podoverrides/spec/volumes/Storageos.java | 69 +++ .../spec/volumes/VsphereVolume.java | 57 +++ .../spec/volumes/cephfs/SecretRef.java | 21 + .../spec/volumes/cinder/SecretRef.java | 21 + .../spec/volumes/configmap/Items.java | 45 ++ .../volumes/csi/NodePublishSecretRef.java | 21 + .../spec/volumes/downwardapi/Items.java | 57 +++ .../volumes/downwardapi/items/FieldRef.java | 33 ++ .../downwardapi/items/ResourceFieldRef.java | 45 ++ .../ephemeral/VolumeClaimTemplate.java | 33 ++ .../volumeclaimtemplate/Metadata.java | 189 +++++++ .../ephemeral/volumeclaimtemplate/Spec.java | 105 ++++ .../metadata/ManagedFields.java | 93 ++++ .../metadata/OwnerReferences.java | 81 +++ .../metadata/managedfields/FieldsV1.java | 9 + .../volumeclaimtemplate/spec/DataSource.java | 45 ++ .../spec/DataSourceRef.java | 57 +++ .../volumeclaimtemplate/spec/Resources.java | 45 ++ .../volumeclaimtemplate/spec/Selector.java | 33 ++ .../spec/resources/Claims.java | 21 + .../spec/selector/MatchExpressions.java | 45 ++ .../spec/volumes/flexvolume/SecretRef.java | 21 + .../spec/volumes/iscsi/SecretRef.java | 21 + .../spec/volumes/projected/Sources.java | 57 +++ .../volumes/projected/sources/ConfigMap.java | 45 ++ .../projected/sources/DownwardAPI.java | 21 + .../volumes/projected/sources/Secret.java | 45 ++ .../sources/ServiceAccountToken.java | 45 ++ .../projected/sources/configmap/Items.java | 45 ++ .../projected/sources/downwardapi/Items.java | 57 +++ .../sources/downwardapi/items/FieldRef.java | 33 ++ .../downwardapi/items/ResourceFieldRef.java | 45 ++ .../projected/sources/secret/Items.java | 45 ++ .../spec/volumes/rbd/SecretRef.java | 21 + .../spec/volumes/scaleio/SecretRef.java | 21 + .../spec/volumes/secret/Items.java | 45 ++ .../spec/volumes/storageos/SecretRef.java | 21 + .../rolegroups/selector/MatchExpressions.java | 59 +++ .../v1alpha1/opaclusterstatus/Conditions.java | 151 ++++++ .../tech/stackable/s3/v1alpha1/S3Bucket.java | 10 + .../stackable/s3/v1alpha1/S3BucketSpec.java | 43 ++ .../stackable/s3/v1alpha1/S3Connection.java | 10 + .../s3/v1alpha1/S3ConnectionSpec.java | 113 +++++ .../s3/v1alpha1/s3bucketspec/Connection.java | 41 ++ .../s3bucketspec/connection/Inline.java | 113 +++++ .../connection/inline/Credentials.java | 43 ++ .../s3bucketspec/connection/inline/Tls.java | 26 + .../connection/inline/credentials/Scope.java | 57 +++ .../connection/inline/tls/Verification.java | 41 ++ .../inline/tls/verification/None.java | 9 + .../inline/tls/verification/Server.java | 26 + .../tls/verification/server/CaCert.java | 41 ++ .../verification/server/cacert/WebPki.java | 9 + .../s3connectionspec/Credentials.java | 43 ++ .../s3/v1alpha1/s3connectionspec/Tls.java | 26 + .../s3connectionspec/credentials/Scope.java | 57 +++ .../s3connectionspec/tls/Verification.java | 41 ++ .../tls/verification/None.java | 9 + .../tls/verification/Server.java | 26 + .../tls/verification/server/CaCert.java | 41 ++ .../verification/server/cacert/WebPki.java | 9 + .../secrets/v1alpha1/SecretClass.java | 10 + .../secrets/v1alpha1/SecretClassSpec.java | 26 + .../v1alpha1/secretclassspec/Backend.java | 59 +++ .../secretclassspec/backend/AutoTls.java | 42 ++ .../secretclassspec/backend/K8sSearch.java | 26 + .../backend/KerberosKeytab.java | 94 ++++ .../secretclassspec/backend/autotls/Ca.java | 42 ++ .../backend/autotls/ca/Secret.java | 41 ++ .../backend/k8ssearch/SearchNamespace.java | 41 ++ .../k8ssearch/searchnamespace/Pod.java | 9 + .../backend/kerberoskeytab/Admin.java | 41 ++ .../kerberoskeytab/AdminKeytabSecret.java | 41 ++ .../kerberoskeytab/admin/ActiveDirectory.java | 94 ++++ .../backend/kerberoskeytab/admin/Mit.java | 26 + .../activedirectory/LdapTlsCaSecret.java | 41 ++ .../activedirectory/PasswordCacheSecret.java | 41 ++ .../zookeeper/v1alpha1/ZookeeperCluster.java | 10 + .../v1alpha1/ZookeeperClusterSpec.java | 77 +++ .../v1alpha1/ZookeeperClusterStatus.java | 38 ++ .../zookeeper/v1alpha1/ZookeeperZnode.java | 10 + .../v1alpha1/ZookeeperZnodeSpec.java | 25 + .../zookeeperclusterspec/ClusterConfig.java | 99 ++++ .../ClusterOperation.java | 41 ++ .../v1alpha1/zookeeperclusterspec/Image.java | 127 +++++ .../zookeeperclusterspec/Servers.java | 110 ++++ .../clusterconfig/Authentication.java | 30 ++ .../clusterconfig/Tls.java | 42 ++ .../image/PullSecrets.java | 25 + .../zookeeperclusterspec/servers/Config.java | 130 +++++ .../servers/PodOverrides.java | 33 ++ .../servers/RoleConfig.java | 29 ++ .../servers/RoleGroups.java | 112 ++++ .../servers/config/Affinity.java | 73 +++ .../servers/config/Logging.java | 42 ++ .../servers/config/Resources.java | 45 ++ .../servers/config/affinity/NodeAffinity.java | 41 ++ .../servers/config/affinity/NodeSelector.java | 9 + .../servers/config/affinity/PodAffinity.java | 41 ++ .../config/affinity/PodAntiAffinity.java | 41 ++ ...uringSchedulingIgnoredDuringExecution.java | 43 ++ ...uringSchedulingIgnoredDuringExecution.java | 26 + .../Preference.java | 41 ++ .../preference/MatchExpressions.java | 59 +++ .../preference/MatchFields.java | 59 +++ .../NodeSelectorTerms.java | 41 ++ .../nodeselectorterms/MatchExpressions.java | 59 +++ .../nodeselectorterms/MatchFields.java | 59 +++ ...uringSchedulingIgnoredDuringExecution.java | 43 ++ ...uringSchedulingIgnoredDuringExecution.java | 74 +++ .../PodAffinityTerm.java | 74 +++ .../podaffinityterm/LabelSelector.java | 41 ++ .../podaffinityterm/NamespaceSelector.java | 41 ++ .../labelselector/MatchExpressions.java | 59 +++ .../namespaceselector/MatchExpressions.java | 59 +++ .../LabelSelector.java | 41 ++ .../NamespaceSelector.java | 41 ++ .../labelselector/MatchExpressions.java | 59 +++ .../namespaceselector/MatchExpressions.java | 59 +++ ...uringSchedulingIgnoredDuringExecution.java | 43 ++ ...uringSchedulingIgnoredDuringExecution.java | 74 +++ .../PodAffinityTerm.java | 74 +++ .../podaffinityterm/LabelSelector.java | 41 ++ .../podaffinityterm/NamespaceSelector.java | 41 ++ .../labelselector/MatchExpressions.java | 59 +++ .../namespaceselector/MatchExpressions.java | 59 +++ .../LabelSelector.java | 41 ++ .../NamespaceSelector.java | 41 ++ .../labelselector/MatchExpressions.java | 59 +++ .../namespaceselector/MatchExpressions.java | 59 +++ .../servers/config/logging/Containers.java | 75 +++ .../config/logging/containers/Console.java | 55 ++ .../config/logging/containers/Custom.java | 26 + .../config/logging/containers/File.java | 55 ++ .../config/logging/containers/Loggers.java | 55 ++ .../servers/config/resources/Cpu.java | 43 ++ .../servers/config/resources/Memory.java | 42 ++ .../servers/config/resources/Storage.java | 21 + .../resources/memory/RuntimeLimits.java | 9 + .../config/resources/storage/Data.java | 92 ++++ .../resources/storage/data/Selectors.java | 41 ++ .../data/selectors/MatchExpressions.java | 59 +++ .../servers/podoverrides/Metadata.java | 189 +++++++ .../servers/podoverrides/Spec.java | 477 ++++++++++++++++++ .../podoverrides/metadata/ManagedFields.java | 93 ++++ .../metadata/OwnerReferences.java | 81 +++ .../metadata/managedfields/FieldsV1.java | 9 + .../servers/podoverrides/spec/Affinity.java | 45 ++ .../servers/podoverrides/spec/Containers.java | 297 +++++++++++ .../servers/podoverrides/spec/DnsConfig.java | 45 ++ .../spec/EphemeralContainers.java | 309 ++++++++++++ .../podoverrides/spec/HostAliases.java | 33 ++ .../podoverrides/spec/ImagePullSecrets.java | 21 + .../podoverrides/spec/InitContainers.java | 297 +++++++++++ .../servers/podoverrides/spec/Os.java | 21 + .../podoverrides/spec/ReadinessGates.java | 21 + .../podoverrides/spec/ResourceClaims.java | 33 ++ .../podoverrides/spec/SchedulingGates.java | 21 + .../podoverrides/spec/SecurityContext.java | 129 +++++ .../podoverrides/spec/Tolerations.java | 69 +++ .../spec/TopologySpreadConstraints.java | 105 ++++ .../servers/podoverrides/spec/Volumes.java | 369 ++++++++++++++ .../spec/affinity/NodeAffinity.java | 33 ++ .../spec/affinity/PodAffinity.java | 33 ++ .../spec/affinity/PodAntiAffinity.java | 33 ++ ...uringSchedulingIgnoredDuringExecution.java | 33 ++ ...uringSchedulingIgnoredDuringExecution.java | 21 + .../Preference.java | 33 ++ .../preference/MatchExpressions.java | 45 ++ .../preference/MatchFields.java | 45 ++ .../NodeSelectorTerms.java | 33 ++ .../nodeselectorterms/MatchExpressions.java | 45 ++ .../nodeselectorterms/MatchFields.java | 45 ++ ...uringSchedulingIgnoredDuringExecution.java | 33 ++ ...uringSchedulingIgnoredDuringExecution.java | 57 +++ .../PodAffinityTerm.java | 57 +++ .../podaffinityterm/LabelSelector.java | 33 ++ .../podaffinityterm/NamespaceSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../namespaceselector/MatchExpressions.java | 45 ++ .../LabelSelector.java | 33 ++ .../NamespaceSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../namespaceselector/MatchExpressions.java | 45 ++ ...uringSchedulingIgnoredDuringExecution.java | 33 ++ ...uringSchedulingIgnoredDuringExecution.java | 57 +++ .../PodAffinityTerm.java | 57 +++ .../podaffinityterm/LabelSelector.java | 33 ++ .../podaffinityterm/NamespaceSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../namespaceselector/MatchExpressions.java | 45 ++ .../LabelSelector.java | 33 ++ .../NamespaceSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../namespaceselector/MatchExpressions.java | 45 ++ .../podoverrides/spec/containers/Env.java | 45 ++ .../podoverrides/spec/containers/EnvFrom.java | 45 ++ .../spec/containers/Lifecycle.java | 33 ++ .../spec/containers/LivenessProbe.java | 129 +++++ .../podoverrides/spec/containers/Ports.java | 69 +++ .../spec/containers/ReadinessProbe.java | 129 +++++ .../spec/containers/ResizePolicy.java | 33 ++ .../spec/containers/Resources.java | 45 ++ .../spec/containers/SecurityContext.java | 141 ++++++ .../spec/containers/StartupProbe.java | 129 +++++ .../spec/containers/VolumeDevices.java | 33 ++ .../spec/containers/VolumeMounts.java | 81 +++ .../spec/containers/env/ValueFrom.java | 57 +++ .../env/valuefrom/ConfigMapKeyRef.java | 45 ++ .../containers/env/valuefrom/FieldRef.java | 33 ++ .../env/valuefrom/ResourceFieldRef.java | 45 ++ .../env/valuefrom/SecretKeyRef.java | 45 ++ .../spec/containers/envfrom/ConfigMapRef.java | 33 ++ .../spec/containers/envfrom/SecretRef.java | 33 ++ .../spec/containers/lifecycle/PostStart.java | 45 ++ .../spec/containers/lifecycle/PreStop.java | 45 ++ .../containers/lifecycle/poststart/Exec.java | 21 + .../lifecycle/poststart/HttpGet.java | 69 +++ .../lifecycle/poststart/TcpSocket.java | 33 ++ .../poststart/httpget/HttpHeaders.java | 33 ++ .../containers/lifecycle/prestop/Exec.java | 21 + .../containers/lifecycle/prestop/HttpGet.java | 69 +++ .../lifecycle/prestop/TcpSocket.java | 33 ++ .../prestop/httpget/HttpHeaders.java | 33 ++ .../spec/containers/livenessprobe/Exec.java | 21 + .../spec/containers/livenessprobe/Grpc.java | 33 ++ .../containers/livenessprobe/HttpGet.java | 69 +++ .../containers/livenessprobe/TcpSocket.java | 33 ++ .../livenessprobe/httpget/HttpHeaders.java | 33 ++ .../spec/containers/readinessprobe/Exec.java | 21 + .../spec/containers/readinessprobe/Grpc.java | 33 ++ .../containers/readinessprobe/HttpGet.java | 69 +++ .../containers/readinessprobe/TcpSocket.java | 33 ++ .../readinessprobe/httpget/HttpHeaders.java | 33 ++ .../spec/containers/resources/Claims.java | 21 + .../securitycontext/Capabilities.java | 33 ++ .../securitycontext/SeLinuxOptions.java | 57 +++ .../securitycontext/SeccompProfile.java | 33 ++ .../securitycontext/WindowsOptions.java | 57 +++ .../spec/containers/startupprobe/Exec.java | 21 + .../spec/containers/startupprobe/Grpc.java | 33 ++ .../spec/containers/startupprobe/HttpGet.java | 69 +++ .../containers/startupprobe/TcpSocket.java | 33 ++ .../startupprobe/httpget/HttpHeaders.java | 33 ++ .../podoverrides/spec/dnsconfig/Options.java | 33 ++ .../spec/ephemeralcontainers/Env.java | 45 ++ .../spec/ephemeralcontainers/EnvFrom.java | 45 ++ .../spec/ephemeralcontainers/Lifecycle.java | 33 ++ .../ephemeralcontainers/LivenessProbe.java | 129 +++++ .../spec/ephemeralcontainers/Ports.java | 69 +++ .../ephemeralcontainers/ReadinessProbe.java | 129 +++++ .../ephemeralcontainers/ResizePolicy.java | 33 ++ .../spec/ephemeralcontainers/Resources.java | 45 ++ .../ephemeralcontainers/SecurityContext.java | 141 ++++++ .../ephemeralcontainers/StartupProbe.java | 129 +++++ .../ephemeralcontainers/VolumeDevices.java | 33 ++ .../ephemeralcontainers/VolumeMounts.java | 81 +++ .../ephemeralcontainers/env/ValueFrom.java | 57 +++ .../env/valuefrom/ConfigMapKeyRef.java | 45 ++ .../env/valuefrom/FieldRef.java | 33 ++ .../env/valuefrom/ResourceFieldRef.java | 45 ++ .../env/valuefrom/SecretKeyRef.java | 45 ++ .../envfrom/ConfigMapRef.java | 33 ++ .../envfrom/SecretRef.java | 33 ++ .../lifecycle/PostStart.java | 45 ++ .../lifecycle/PreStop.java | 45 ++ .../lifecycle/poststart/Exec.java | 21 + .../lifecycle/poststart/HttpGet.java | 69 +++ .../lifecycle/poststart/TcpSocket.java | 33 ++ .../poststart/httpget/HttpHeaders.java | 33 ++ .../lifecycle/prestop/Exec.java | 21 + .../lifecycle/prestop/HttpGet.java | 69 +++ .../lifecycle/prestop/TcpSocket.java | 33 ++ .../prestop/httpget/HttpHeaders.java | 33 ++ .../livenessprobe/Exec.java | 21 + .../livenessprobe/Grpc.java | 33 ++ .../livenessprobe/HttpGet.java | 69 +++ .../livenessprobe/TcpSocket.java | 33 ++ .../livenessprobe/httpget/HttpHeaders.java | 33 ++ .../readinessprobe/Exec.java | 21 + .../readinessprobe/Grpc.java | 33 ++ .../readinessprobe/HttpGet.java | 69 +++ .../readinessprobe/TcpSocket.java | 33 ++ .../readinessprobe/httpget/HttpHeaders.java | 33 ++ .../ephemeralcontainers/resources/Claims.java | 21 + .../securitycontext/Capabilities.java | 33 ++ .../securitycontext/SeLinuxOptions.java | 57 +++ .../securitycontext/SeccompProfile.java | 33 ++ .../securitycontext/WindowsOptions.java | 57 +++ .../startupprobe/Exec.java | 21 + .../startupprobe/Grpc.java | 33 ++ .../startupprobe/HttpGet.java | 69 +++ .../startupprobe/TcpSocket.java | 33 ++ .../startupprobe/httpget/HttpHeaders.java | 33 ++ .../podoverrides/spec/initcontainers/Env.java | 45 ++ .../spec/initcontainers/EnvFrom.java | 45 ++ .../spec/initcontainers/Lifecycle.java | 33 ++ .../spec/initcontainers/LivenessProbe.java | 129 +++++ .../spec/initcontainers/Ports.java | 69 +++ .../spec/initcontainers/ReadinessProbe.java | 129 +++++ .../spec/initcontainers/ResizePolicy.java | 33 ++ .../spec/initcontainers/Resources.java | 45 ++ .../spec/initcontainers/SecurityContext.java | 141 ++++++ .../spec/initcontainers/StartupProbe.java | 129 +++++ .../spec/initcontainers/VolumeDevices.java | 33 ++ .../spec/initcontainers/VolumeMounts.java | 81 +++ .../spec/initcontainers/env/ValueFrom.java | 57 +++ .../env/valuefrom/ConfigMapKeyRef.java | 45 ++ .../env/valuefrom/FieldRef.java | 33 ++ .../env/valuefrom/ResourceFieldRef.java | 45 ++ .../env/valuefrom/SecretKeyRef.java | 45 ++ .../initcontainers/envfrom/ConfigMapRef.java | 33 ++ .../initcontainers/envfrom/SecretRef.java | 33 ++ .../initcontainers/lifecycle/PostStart.java | 45 ++ .../initcontainers/lifecycle/PreStop.java | 45 ++ .../lifecycle/poststart/Exec.java | 21 + .../lifecycle/poststart/HttpGet.java | 69 +++ .../lifecycle/poststart/TcpSocket.java | 33 ++ .../poststart/httpget/HttpHeaders.java | 33 ++ .../lifecycle/prestop/Exec.java | 21 + .../lifecycle/prestop/HttpGet.java | 69 +++ .../lifecycle/prestop/TcpSocket.java | 33 ++ .../prestop/httpget/HttpHeaders.java | 33 ++ .../initcontainers/livenessprobe/Exec.java | 21 + .../initcontainers/livenessprobe/Grpc.java | 33 ++ .../initcontainers/livenessprobe/HttpGet.java | 69 +++ .../livenessprobe/TcpSocket.java | 33 ++ .../livenessprobe/httpget/HttpHeaders.java | 33 ++ .../initcontainers/readinessprobe/Exec.java | 21 + .../initcontainers/readinessprobe/Grpc.java | 33 ++ .../readinessprobe/HttpGet.java | 69 +++ .../readinessprobe/TcpSocket.java | 33 ++ .../readinessprobe/httpget/HttpHeaders.java | 33 ++ .../spec/initcontainers/resources/Claims.java | 21 + .../securitycontext/Capabilities.java | 33 ++ .../securitycontext/SeLinuxOptions.java | 57 +++ .../securitycontext/SeccompProfile.java | 33 ++ .../securitycontext/WindowsOptions.java | 57 +++ .../initcontainers/startupprobe/Exec.java | 21 + .../initcontainers/startupprobe/Grpc.java | 33 ++ .../initcontainers/startupprobe/HttpGet.java | 69 +++ .../startupprobe/TcpSocket.java | 33 ++ .../startupprobe/httpget/HttpHeaders.java | 33 ++ .../spec/resourceclaims/Source.java | 33 ++ .../spec/securitycontext/SeLinuxOptions.java | 57 +++ .../spec/securitycontext/SeccompProfile.java | 33 ++ .../spec/securitycontext/Sysctls.java | 33 ++ .../spec/securitycontext/WindowsOptions.java | 57 +++ .../LabelSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../spec/volumes/AwsElasticBlockStore.java | 57 +++ .../podoverrides/spec/volumes/AzureDisk.java | 81 +++ .../podoverrides/spec/volumes/AzureFile.java | 45 ++ .../podoverrides/spec/volumes/Cephfs.java | 81 +++ .../podoverrides/spec/volumes/Cinder.java | 57 +++ .../podoverrides/spec/volumes/ConfigMap.java | 57 +++ .../podoverrides/spec/volumes/Csi.java | 69 +++ .../spec/volumes/DownwardAPI.java | 33 ++ .../podoverrides/spec/volumes/EmptyDir.java | 33 ++ .../podoverrides/spec/volumes/Ephemeral.java | 21 + .../servers/podoverrides/spec/volumes/Fc.java | 69 +++ .../podoverrides/spec/volumes/FlexVolume.java | 69 +++ .../podoverrides/spec/volumes/Flocker.java | 33 ++ .../spec/volumes/GcePersistentDisk.java | 57 +++ .../podoverrides/spec/volumes/GitRepo.java | 45 ++ .../podoverrides/spec/volumes/Glusterfs.java | 45 ++ .../podoverrides/spec/volumes/HostPath.java | 33 ++ .../podoverrides/spec/volumes/Iscsi.java | 141 ++++++ .../podoverrides/spec/volumes/Nfs.java | 45 ++ .../spec/volumes/PersistentVolumeClaim.java | 33 ++ .../spec/volumes/PhotonPersistentDisk.java | 33 ++ .../spec/volumes/PortworxVolume.java | 45 ++ .../podoverrides/spec/volumes/Projected.java | 33 ++ .../podoverrides/spec/volumes/Quobyte.java | 81 +++ .../podoverrides/spec/volumes/Rbd.java | 105 ++++ .../podoverrides/spec/volumes/ScaleIO.java | 129 +++++ .../podoverrides/spec/volumes/Secret.java | 57 +++ .../podoverrides/spec/volumes/Storageos.java | 69 +++ .../spec/volumes/VsphereVolume.java | 57 +++ .../spec/volumes/cephfs/SecretRef.java | 21 + .../spec/volumes/cinder/SecretRef.java | 21 + .../spec/volumes/configmap/Items.java | 45 ++ .../volumes/csi/NodePublishSecretRef.java | 21 + .../spec/volumes/downwardapi/Items.java | 57 +++ .../volumes/downwardapi/items/FieldRef.java | 33 ++ .../downwardapi/items/ResourceFieldRef.java | 45 ++ .../ephemeral/VolumeClaimTemplate.java | 33 ++ .../volumeclaimtemplate/Metadata.java | 189 +++++++ .../ephemeral/volumeclaimtemplate/Spec.java | 105 ++++ .../metadata/ManagedFields.java | 93 ++++ .../metadata/OwnerReferences.java | 81 +++ .../metadata/managedfields/FieldsV1.java | 9 + .../volumeclaimtemplate/spec/DataSource.java | 45 ++ .../spec/DataSourceRef.java | 57 +++ .../volumeclaimtemplate/spec/Resources.java | 45 ++ .../volumeclaimtemplate/spec/Selector.java | 33 ++ .../spec/resources/Claims.java | 21 + .../spec/selector/MatchExpressions.java | 45 ++ .../spec/volumes/flexvolume/SecretRef.java | 21 + .../spec/volumes/iscsi/SecretRef.java | 21 + .../spec/volumes/projected/Sources.java | 57 +++ .../volumes/projected/sources/ConfigMap.java | 45 ++ .../projected/sources/DownwardAPI.java | 21 + .../volumes/projected/sources/Secret.java | 45 ++ .../sources/ServiceAccountToken.java | 45 ++ .../projected/sources/configmap/Items.java | 45 ++ .../projected/sources/downwardapi/Items.java | 57 +++ .../sources/downwardapi/items/FieldRef.java | 33 ++ .../downwardapi/items/ResourceFieldRef.java | 45 ++ .../projected/sources/secret/Items.java | 45 ++ .../spec/volumes/rbd/SecretRef.java | 21 + .../spec/volumes/scaleio/SecretRef.java | 21 + .../spec/volumes/secret/Items.java | 45 ++ .../spec/volumes/storageos/SecretRef.java | 21 + .../roleconfig/PodDisruptionBudget.java | 43 ++ .../servers/rolegroups/Config.java | 130 +++++ .../servers/rolegroups/PodOverrides.java | 33 ++ .../servers/rolegroups/Selector.java | 41 ++ .../servers/rolegroups/config/Affinity.java | 73 +++ .../servers/rolegroups/config/Logging.java | 42 ++ .../servers/rolegroups/config/Resources.java | 45 ++ .../config/affinity/NodeAffinity.java | 41 ++ .../config/affinity/NodeSelector.java | 9 + .../config/affinity/PodAffinity.java | 41 ++ .../config/affinity/PodAntiAffinity.java | 41 ++ ...uringSchedulingIgnoredDuringExecution.java | 43 ++ ...uringSchedulingIgnoredDuringExecution.java | 26 + .../Preference.java | 41 ++ .../preference/MatchExpressions.java | 59 +++ .../preference/MatchFields.java | 59 +++ .../NodeSelectorTerms.java | 41 ++ .../nodeselectorterms/MatchExpressions.java | 59 +++ .../nodeselectorterms/MatchFields.java | 59 +++ ...uringSchedulingIgnoredDuringExecution.java | 43 ++ ...uringSchedulingIgnoredDuringExecution.java | 74 +++ .../PodAffinityTerm.java | 74 +++ .../podaffinityterm/LabelSelector.java | 41 ++ .../podaffinityterm/NamespaceSelector.java | 41 ++ .../labelselector/MatchExpressions.java | 59 +++ .../namespaceselector/MatchExpressions.java | 59 +++ .../LabelSelector.java | 41 ++ .../NamespaceSelector.java | 41 ++ .../labelselector/MatchExpressions.java | 59 +++ .../namespaceselector/MatchExpressions.java | 59 +++ ...uringSchedulingIgnoredDuringExecution.java | 43 ++ ...uringSchedulingIgnoredDuringExecution.java | 74 +++ .../PodAffinityTerm.java | 74 +++ .../podaffinityterm/LabelSelector.java | 41 ++ .../podaffinityterm/NamespaceSelector.java | 41 ++ .../labelselector/MatchExpressions.java | 59 +++ .../namespaceselector/MatchExpressions.java | 59 +++ .../LabelSelector.java | 41 ++ .../NamespaceSelector.java | 41 ++ .../labelselector/MatchExpressions.java | 59 +++ .../namespaceselector/MatchExpressions.java | 59 +++ .../rolegroups/config/logging/Containers.java | 75 +++ .../config/logging/containers/Console.java | 55 ++ .../config/logging/containers/Custom.java | 26 + .../config/logging/containers/File.java | 55 ++ .../config/logging/containers/Loggers.java | 55 ++ .../rolegroups/config/resources/Cpu.java | 43 ++ .../rolegroups/config/resources/Memory.java | 42 ++ .../rolegroups/config/resources/Storage.java | 21 + .../resources/memory/RuntimeLimits.java | 9 + .../config/resources/storage/Data.java | 92 ++++ .../resources/storage/data/Selectors.java | 41 ++ .../data/selectors/MatchExpressions.java | 59 +++ .../rolegroups/podoverrides/Metadata.java | 189 +++++++ .../servers/rolegroups/podoverrides/Spec.java | 477 ++++++++++++++++++ .../podoverrides/metadata/ManagedFields.java | 93 ++++ .../metadata/OwnerReferences.java | 81 +++ .../metadata/managedfields/FieldsV1.java | 9 + .../podoverrides/spec/Affinity.java | 45 ++ .../podoverrides/spec/Containers.java | 297 +++++++++++ .../podoverrides/spec/DnsConfig.java | 45 ++ .../spec/EphemeralContainers.java | 309 ++++++++++++ .../podoverrides/spec/HostAliases.java | 33 ++ .../podoverrides/spec/ImagePullSecrets.java | 21 + .../podoverrides/spec/InitContainers.java | 297 +++++++++++ .../rolegroups/podoverrides/spec/Os.java | 21 + .../podoverrides/spec/ReadinessGates.java | 21 + .../podoverrides/spec/ResourceClaims.java | 33 ++ .../podoverrides/spec/SchedulingGates.java | 21 + .../podoverrides/spec/SecurityContext.java | 129 +++++ .../podoverrides/spec/Tolerations.java | 69 +++ .../spec/TopologySpreadConstraints.java | 105 ++++ .../rolegroups/podoverrides/spec/Volumes.java | 369 ++++++++++++++ .../spec/affinity/NodeAffinity.java | 33 ++ .../spec/affinity/PodAffinity.java | 33 ++ .../spec/affinity/PodAntiAffinity.java | 33 ++ ...uringSchedulingIgnoredDuringExecution.java | 33 ++ ...uringSchedulingIgnoredDuringExecution.java | 21 + .../Preference.java | 33 ++ .../preference/MatchExpressions.java | 45 ++ .../preference/MatchFields.java | 45 ++ .../NodeSelectorTerms.java | 33 ++ .../nodeselectorterms/MatchExpressions.java | 45 ++ .../nodeselectorterms/MatchFields.java | 45 ++ ...uringSchedulingIgnoredDuringExecution.java | 33 ++ ...uringSchedulingIgnoredDuringExecution.java | 57 +++ .../PodAffinityTerm.java | 57 +++ .../podaffinityterm/LabelSelector.java | 33 ++ .../podaffinityterm/NamespaceSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../namespaceselector/MatchExpressions.java | 45 ++ .../LabelSelector.java | 33 ++ .../NamespaceSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../namespaceselector/MatchExpressions.java | 45 ++ ...uringSchedulingIgnoredDuringExecution.java | 33 ++ ...uringSchedulingIgnoredDuringExecution.java | 57 +++ .../PodAffinityTerm.java | 57 +++ .../podaffinityterm/LabelSelector.java | 33 ++ .../podaffinityterm/NamespaceSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../namespaceselector/MatchExpressions.java | 45 ++ .../LabelSelector.java | 33 ++ .../NamespaceSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../namespaceselector/MatchExpressions.java | 45 ++ .../podoverrides/spec/containers/Env.java | 45 ++ .../podoverrides/spec/containers/EnvFrom.java | 45 ++ .../spec/containers/Lifecycle.java | 33 ++ .../spec/containers/LivenessProbe.java | 129 +++++ .../podoverrides/spec/containers/Ports.java | 69 +++ .../spec/containers/ReadinessProbe.java | 129 +++++ .../spec/containers/ResizePolicy.java | 33 ++ .../spec/containers/Resources.java | 45 ++ .../spec/containers/SecurityContext.java | 141 ++++++ .../spec/containers/StartupProbe.java | 129 +++++ .../spec/containers/VolumeDevices.java | 33 ++ .../spec/containers/VolumeMounts.java | 81 +++ .../spec/containers/env/ValueFrom.java | 57 +++ .../env/valuefrom/ConfigMapKeyRef.java | 45 ++ .../containers/env/valuefrom/FieldRef.java | 33 ++ .../env/valuefrom/ResourceFieldRef.java | 45 ++ .../env/valuefrom/SecretKeyRef.java | 45 ++ .../spec/containers/envfrom/ConfigMapRef.java | 33 ++ .../spec/containers/envfrom/SecretRef.java | 33 ++ .../spec/containers/lifecycle/PostStart.java | 45 ++ .../spec/containers/lifecycle/PreStop.java | 45 ++ .../containers/lifecycle/poststart/Exec.java | 21 + .../lifecycle/poststart/HttpGet.java | 69 +++ .../lifecycle/poststart/TcpSocket.java | 33 ++ .../poststart/httpget/HttpHeaders.java | 33 ++ .../containers/lifecycle/prestop/Exec.java | 21 + .../containers/lifecycle/prestop/HttpGet.java | 69 +++ .../lifecycle/prestop/TcpSocket.java | 33 ++ .../prestop/httpget/HttpHeaders.java | 33 ++ .../spec/containers/livenessprobe/Exec.java | 21 + .../spec/containers/livenessprobe/Grpc.java | 33 ++ .../containers/livenessprobe/HttpGet.java | 69 +++ .../containers/livenessprobe/TcpSocket.java | 33 ++ .../livenessprobe/httpget/HttpHeaders.java | 33 ++ .../spec/containers/readinessprobe/Exec.java | 21 + .../spec/containers/readinessprobe/Grpc.java | 33 ++ .../containers/readinessprobe/HttpGet.java | 69 +++ .../containers/readinessprobe/TcpSocket.java | 33 ++ .../readinessprobe/httpget/HttpHeaders.java | 33 ++ .../spec/containers/resources/Claims.java | 21 + .../securitycontext/Capabilities.java | 33 ++ .../securitycontext/SeLinuxOptions.java | 57 +++ .../securitycontext/SeccompProfile.java | 33 ++ .../securitycontext/WindowsOptions.java | 57 +++ .../spec/containers/startupprobe/Exec.java | 21 + .../spec/containers/startupprobe/Grpc.java | 33 ++ .../spec/containers/startupprobe/HttpGet.java | 69 +++ .../containers/startupprobe/TcpSocket.java | 33 ++ .../startupprobe/httpget/HttpHeaders.java | 33 ++ .../podoverrides/spec/dnsconfig/Options.java | 33 ++ .../spec/ephemeralcontainers/Env.java | 45 ++ .../spec/ephemeralcontainers/EnvFrom.java | 45 ++ .../spec/ephemeralcontainers/Lifecycle.java | 33 ++ .../ephemeralcontainers/LivenessProbe.java | 129 +++++ .../spec/ephemeralcontainers/Ports.java | 69 +++ .../ephemeralcontainers/ReadinessProbe.java | 129 +++++ .../ephemeralcontainers/ResizePolicy.java | 33 ++ .../spec/ephemeralcontainers/Resources.java | 45 ++ .../ephemeralcontainers/SecurityContext.java | 141 ++++++ .../ephemeralcontainers/StartupProbe.java | 129 +++++ .../ephemeralcontainers/VolumeDevices.java | 33 ++ .../ephemeralcontainers/VolumeMounts.java | 81 +++ .../ephemeralcontainers/env/ValueFrom.java | 57 +++ .../env/valuefrom/ConfigMapKeyRef.java | 45 ++ .../env/valuefrom/FieldRef.java | 33 ++ .../env/valuefrom/ResourceFieldRef.java | 45 ++ .../env/valuefrom/SecretKeyRef.java | 45 ++ .../envfrom/ConfigMapRef.java | 33 ++ .../envfrom/SecretRef.java | 33 ++ .../lifecycle/PostStart.java | 45 ++ .../lifecycle/PreStop.java | 45 ++ .../lifecycle/poststart/Exec.java | 21 + .../lifecycle/poststart/HttpGet.java | 69 +++ .../lifecycle/poststart/TcpSocket.java | 33 ++ .../poststart/httpget/HttpHeaders.java | 33 ++ .../lifecycle/prestop/Exec.java | 21 + .../lifecycle/prestop/HttpGet.java | 69 +++ .../lifecycle/prestop/TcpSocket.java | 33 ++ .../prestop/httpget/HttpHeaders.java | 33 ++ .../livenessprobe/Exec.java | 21 + .../livenessprobe/Grpc.java | 33 ++ .../livenessprobe/HttpGet.java | 69 +++ .../livenessprobe/TcpSocket.java | 33 ++ .../livenessprobe/httpget/HttpHeaders.java | 33 ++ .../readinessprobe/Exec.java | 21 + .../readinessprobe/Grpc.java | 33 ++ .../readinessprobe/HttpGet.java | 69 +++ .../readinessprobe/TcpSocket.java | 33 ++ .../readinessprobe/httpget/HttpHeaders.java | 33 ++ .../ephemeralcontainers/resources/Claims.java | 21 + .../securitycontext/Capabilities.java | 33 ++ .../securitycontext/SeLinuxOptions.java | 57 +++ .../securitycontext/SeccompProfile.java | 33 ++ .../securitycontext/WindowsOptions.java | 57 +++ .../startupprobe/Exec.java | 21 + .../startupprobe/Grpc.java | 33 ++ .../startupprobe/HttpGet.java | 69 +++ .../startupprobe/TcpSocket.java | 33 ++ .../startupprobe/httpget/HttpHeaders.java | 33 ++ .../podoverrides/spec/initcontainers/Env.java | 45 ++ .../spec/initcontainers/EnvFrom.java | 45 ++ .../spec/initcontainers/Lifecycle.java | 33 ++ .../spec/initcontainers/LivenessProbe.java | 129 +++++ .../spec/initcontainers/Ports.java | 69 +++ .../spec/initcontainers/ReadinessProbe.java | 129 +++++ .../spec/initcontainers/ResizePolicy.java | 33 ++ .../spec/initcontainers/Resources.java | 45 ++ .../spec/initcontainers/SecurityContext.java | 141 ++++++ .../spec/initcontainers/StartupProbe.java | 129 +++++ .../spec/initcontainers/VolumeDevices.java | 33 ++ .../spec/initcontainers/VolumeMounts.java | 81 +++ .../spec/initcontainers/env/ValueFrom.java | 57 +++ .../env/valuefrom/ConfigMapKeyRef.java | 45 ++ .../env/valuefrom/FieldRef.java | 33 ++ .../env/valuefrom/ResourceFieldRef.java | 45 ++ .../env/valuefrom/SecretKeyRef.java | 45 ++ .../initcontainers/envfrom/ConfigMapRef.java | 33 ++ .../initcontainers/envfrom/SecretRef.java | 33 ++ .../initcontainers/lifecycle/PostStart.java | 45 ++ .../initcontainers/lifecycle/PreStop.java | 45 ++ .../lifecycle/poststart/Exec.java | 21 + .../lifecycle/poststart/HttpGet.java | 69 +++ .../lifecycle/poststart/TcpSocket.java | 33 ++ .../poststart/httpget/HttpHeaders.java | 33 ++ .../lifecycle/prestop/Exec.java | 21 + .../lifecycle/prestop/HttpGet.java | 69 +++ .../lifecycle/prestop/TcpSocket.java | 33 ++ .../prestop/httpget/HttpHeaders.java | 33 ++ .../initcontainers/livenessprobe/Exec.java | 21 + .../initcontainers/livenessprobe/Grpc.java | 33 ++ .../initcontainers/livenessprobe/HttpGet.java | 69 +++ .../livenessprobe/TcpSocket.java | 33 ++ .../livenessprobe/httpget/HttpHeaders.java | 33 ++ .../initcontainers/readinessprobe/Exec.java | 21 + .../initcontainers/readinessprobe/Grpc.java | 33 ++ .../readinessprobe/HttpGet.java | 69 +++ .../readinessprobe/TcpSocket.java | 33 ++ .../readinessprobe/httpget/HttpHeaders.java | 33 ++ .../spec/initcontainers/resources/Claims.java | 21 + .../securitycontext/Capabilities.java | 33 ++ .../securitycontext/SeLinuxOptions.java | 57 +++ .../securitycontext/SeccompProfile.java | 33 ++ .../securitycontext/WindowsOptions.java | 57 +++ .../initcontainers/startupprobe/Exec.java | 21 + .../initcontainers/startupprobe/Grpc.java | 33 ++ .../initcontainers/startupprobe/HttpGet.java | 69 +++ .../startupprobe/TcpSocket.java | 33 ++ .../startupprobe/httpget/HttpHeaders.java | 33 ++ .../spec/resourceclaims/Source.java | 33 ++ .../spec/securitycontext/SeLinuxOptions.java | 57 +++ .../spec/securitycontext/SeccompProfile.java | 33 ++ .../spec/securitycontext/Sysctls.java | 33 ++ .../spec/securitycontext/WindowsOptions.java | 57 +++ .../LabelSelector.java | 33 ++ .../labelselector/MatchExpressions.java | 45 ++ .../spec/volumes/AwsElasticBlockStore.java | 57 +++ .../podoverrides/spec/volumes/AzureDisk.java | 81 +++ .../podoverrides/spec/volumes/AzureFile.java | 45 ++ .../podoverrides/spec/volumes/Cephfs.java | 81 +++ .../podoverrides/spec/volumes/Cinder.java | 57 +++ .../podoverrides/spec/volumes/ConfigMap.java | 57 +++ .../podoverrides/spec/volumes/Csi.java | 69 +++ .../spec/volumes/DownwardAPI.java | 33 ++ .../podoverrides/spec/volumes/EmptyDir.java | 33 ++ .../podoverrides/spec/volumes/Ephemeral.java | 21 + .../podoverrides/spec/volumes/Fc.java | 69 +++ .../podoverrides/spec/volumes/FlexVolume.java | 69 +++ .../podoverrides/spec/volumes/Flocker.java | 33 ++ .../spec/volumes/GcePersistentDisk.java | 57 +++ .../podoverrides/spec/volumes/GitRepo.java | 45 ++ .../podoverrides/spec/volumes/Glusterfs.java | 45 ++ .../podoverrides/spec/volumes/HostPath.java | 33 ++ .../podoverrides/spec/volumes/Iscsi.java | 141 ++++++ .../podoverrides/spec/volumes/Nfs.java | 45 ++ .../spec/volumes/PersistentVolumeClaim.java | 33 ++ .../spec/volumes/PhotonPersistentDisk.java | 33 ++ .../spec/volumes/PortworxVolume.java | 45 ++ .../podoverrides/spec/volumes/Projected.java | 33 ++ .../podoverrides/spec/volumes/Quobyte.java | 81 +++ .../podoverrides/spec/volumes/Rbd.java | 105 ++++ .../podoverrides/spec/volumes/ScaleIO.java | 129 +++++ .../podoverrides/spec/volumes/Secret.java | 57 +++ .../podoverrides/spec/volumes/Storageos.java | 69 +++ .../spec/volumes/VsphereVolume.java | 57 +++ .../spec/volumes/cephfs/SecretRef.java | 21 + .../spec/volumes/cinder/SecretRef.java | 21 + .../spec/volumes/configmap/Items.java | 45 ++ .../volumes/csi/NodePublishSecretRef.java | 21 + .../spec/volumes/downwardapi/Items.java | 57 +++ .../volumes/downwardapi/items/FieldRef.java | 33 ++ .../downwardapi/items/ResourceFieldRef.java | 45 ++ .../ephemeral/VolumeClaimTemplate.java | 33 ++ .../volumeclaimtemplate/Metadata.java | 189 +++++++ .../ephemeral/volumeclaimtemplate/Spec.java | 105 ++++ .../metadata/ManagedFields.java | 93 ++++ .../metadata/OwnerReferences.java | 81 +++ .../metadata/managedfields/FieldsV1.java | 9 + .../volumeclaimtemplate/spec/DataSource.java | 45 ++ .../spec/DataSourceRef.java | 57 +++ .../volumeclaimtemplate/spec/Resources.java | 45 ++ .../volumeclaimtemplate/spec/Selector.java | 33 ++ .../spec/resources/Claims.java | 21 + .../spec/selector/MatchExpressions.java | 45 ++ .../spec/volumes/flexvolume/SecretRef.java | 21 + .../spec/volumes/iscsi/SecretRef.java | 21 + .../spec/volumes/projected/Sources.java | 57 +++ .../volumes/projected/sources/ConfigMap.java | 45 ++ .../projected/sources/DownwardAPI.java | 21 + .../volumes/projected/sources/Secret.java | 45 ++ .../sources/ServiceAccountToken.java | 45 ++ .../projected/sources/configmap/Items.java | 45 ++ .../projected/sources/downwardapi/Items.java | 57 +++ .../sources/downwardapi/items/FieldRef.java | 33 ++ .../downwardapi/items/ResourceFieldRef.java | 45 ++ .../projected/sources/secret/Items.java | 45 ++ .../spec/volumes/rbd/SecretRef.java | 21 + .../spec/volumes/scaleio/SecretRef.java | 21 + .../spec/volumes/secret/Items.java | 45 ++ .../spec/volumes/storageos/SecretRef.java | 21 + .../rolegroups/selector/MatchExpressions.java | 59 +++ .../zookeeperclusterstatus/Conditions.java | 151 ++++++ .../zookeeperznodespec/ClusterRef.java | 45 ++ 1321 files changed, 70336 insertions(+), 1 deletion(-) create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/AuthenticationClass.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/AuthenticationClassSpec.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/Provider.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/Ldap.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/Oidc.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/Static.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/Tls.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/BindCredentials.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/LdapFieldNames.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/Tls.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/bindcredentials/Scope.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/Verification.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/verification/None.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/verification/Server.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/verification/server/CaCert.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/verification/server/cacert/WebPki.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/Tls.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/Verification.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/verification/None.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/verification/Server.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/verification/server/CaCert.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/verification/server/cacert/WebPki.java create mode 100644 src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/static/UserCredentialsSecret.java create mode 100644 src/main/java/tech/stackable/listeners/v1alpha1/Listener.java create mode 100644 src/main/java/tech/stackable/listeners/v1alpha1/ListenerClass.java create mode 100644 src/main/java/tech/stackable/listeners/v1alpha1/ListenerClassSpec.java create mode 100644 src/main/java/tech/stackable/listeners/v1alpha1/ListenerSpec.java create mode 100644 src/main/java/tech/stackable/listeners/v1alpha1/ListenerStatus.java create mode 100644 src/main/java/tech/stackable/listeners/v1alpha1/PodListeners.java create mode 100644 src/main/java/tech/stackable/listeners/v1alpha1/PodListenersSpec.java create mode 100644 src/main/java/tech/stackable/listeners/v1alpha1/listenerspec/Ports.java create mode 100644 src/main/java/tech/stackable/listeners/v1alpha1/listenerstatus/IngressAddresses.java create mode 100644 src/main/java/tech/stackable/listeners/v1alpha1/podlistenersspec/Listeners.java create mode 100644 src/main/java/tech/stackable/listeners/v1alpha1/podlistenersspec/listeners/IngressAddresses.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/OpaCluster.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/OpaClusterSpec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/OpaClusterStatus.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/ClusterConfig.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/ClusterOperation.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/Image.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/Servers.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/image/PullSecrets.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/Config.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/PodOverrides.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/RoleConfig.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/RoleGroups.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/Logging.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/Resources.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/Containers.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/containers/Console.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/containers/Custom.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/containers/File.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/containers/Loggers.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/resources/Cpu.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/resources/Memory.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/resources/Storage.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/resources/memory/RuntimeLimits.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/Metadata.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/Spec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/metadata/ManagedFields.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/metadata/OwnerReferences.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/metadata/managedfields/FieldsV1.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Affinity.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Containers.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/DnsConfig.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/EphemeralContainers.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/HostAliases.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ImagePullSecrets.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/InitContainers.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Os.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ReadinessGates.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ResourceClaims.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/SchedulingGates.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/SecurityContext.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Tolerations.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/TopologySpreadConstraints.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Volumes.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/NodeAffinity.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/PodAffinity.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/PodAntiAffinity.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/Env.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/EnvFrom.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/Lifecycle.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/LivenessProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/Ports.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/ReadinessProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/ResizePolicy.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/Resources.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/SecurityContext.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/StartupProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/VolumeDevices.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/VolumeMounts.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/ValueFrom.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/valuefrom/ConfigMapKeyRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/valuefrom/FieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/valuefrom/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/valuefrom/SecretKeyRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/envfrom/ConfigMapRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/envfrom/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/PostStart.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/PreStop.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/resources/Claims.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/securitycontext/Capabilities.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/securitycontext/SeLinuxOptions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/securitycontext/SeccompProfile.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/securitycontext/WindowsOptions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/dnsconfig/Options.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/Env.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/EnvFrom.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/Lifecycle.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/LivenessProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/Ports.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/ReadinessProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/ResizePolicy.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/Resources.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/SecurityContext.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/StartupProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/VolumeDevices.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/VolumeMounts.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/ValueFrom.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/ConfigMapKeyRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/FieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/SecretKeyRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/envfrom/ConfigMapRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/envfrom/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/PostStart.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/PreStop.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/resources/Claims.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/Capabilities.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/SeLinuxOptions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/SeccompProfile.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/WindowsOptions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/Env.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/EnvFrom.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/Lifecycle.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/LivenessProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/Ports.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/ReadinessProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/ResizePolicy.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/Resources.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/SecurityContext.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/StartupProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/VolumeDevices.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/VolumeMounts.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/ValueFrom.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/ConfigMapKeyRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/FieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/SecretKeyRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/envfrom/ConfigMapRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/envfrom/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/PostStart.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/PreStop.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/resources/Claims.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/Capabilities.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/SeLinuxOptions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/SeccompProfile.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/WindowsOptions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/resourceclaims/Source.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/securitycontext/SeLinuxOptions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/securitycontext/SeccompProfile.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/securitycontext/Sysctls.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/securitycontext/WindowsOptions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/topologyspreadconstraints/LabelSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/topologyspreadconstraints/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/AwsElasticBlockStore.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/AzureDisk.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/AzureFile.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Cephfs.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Cinder.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ConfigMap.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Csi.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/DownwardAPI.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/EmptyDir.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Ephemeral.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Fc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/FlexVolume.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Flocker.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/GcePersistentDisk.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/GitRepo.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Glusterfs.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/HostPath.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Iscsi.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Nfs.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/PersistentVolumeClaim.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/PhotonPersistentDisk.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/PortworxVolume.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Projected.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Quobyte.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Rbd.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ScaleIO.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Secret.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Storageos.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/VsphereVolume.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/cephfs/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/cinder/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/configmap/Items.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/csi/NodePublishSecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/downwardapi/Items.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/downwardapi/items/FieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/downwardapi/items/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/VolumeClaimTemplate.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Metadata.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Spec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/ManagedFields.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/OwnerReferences.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/managedfields/FieldsV1.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSource.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSourceRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Resources.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Selector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/resources/Claims.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/selector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/flexvolume/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/iscsi/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/Sources.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/ConfigMap.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/DownwardAPI.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/Secret.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/ServiceAccountToken.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/configmap/Items.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/Items.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/items/FieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/items/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/secret/Items.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/rbd/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/scaleio/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/secret/Items.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/storageos/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/Config.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/PodOverrides.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/Selector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/Logging.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/Resources.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/Containers.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/containers/Console.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/containers/Custom.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/containers/File.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/containers/Loggers.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/resources/Cpu.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/resources/Memory.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/resources/Storage.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/resources/memory/RuntimeLimits.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/Metadata.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/Spec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/metadata/ManagedFields.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/metadata/OwnerReferences.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/metadata/managedfields/FieldsV1.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Affinity.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Containers.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/DnsConfig.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/EphemeralContainers.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/HostAliases.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ImagePullSecrets.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/InitContainers.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Os.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ReadinessGates.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ResourceClaims.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/SchedulingGates.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/SecurityContext.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Tolerations.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/TopologySpreadConstraints.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Volumes.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/NodeAffinity.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/PodAffinity.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/PodAntiAffinity.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/Env.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/EnvFrom.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/Lifecycle.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/LivenessProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/Ports.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/ReadinessProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/ResizePolicy.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/Resources.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/SecurityContext.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/StartupProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/VolumeDevices.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/VolumeMounts.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/ValueFrom.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/ConfigMapKeyRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/FieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/SecretKeyRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/envfrom/ConfigMapRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/envfrom/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/PostStart.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/PreStop.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/resources/Claims.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/Capabilities.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/SeLinuxOptions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/SeccompProfile.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/WindowsOptions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/dnsconfig/Options.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Env.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/EnvFrom.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Lifecycle.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/LivenessProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Ports.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/ReadinessProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/ResizePolicy.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Resources.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/SecurityContext.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/StartupProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/VolumeDevices.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/VolumeMounts.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/ValueFrom.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/ConfigMapKeyRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/FieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/SecretKeyRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/envfrom/ConfigMapRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/envfrom/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/PostStart.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/PreStop.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/resources/Claims.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/Capabilities.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/SeLinuxOptions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/SeccompProfile.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/WindowsOptions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Env.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/EnvFrom.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Lifecycle.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/LivenessProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Ports.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/ReadinessProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/ResizePolicy.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Resources.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/SecurityContext.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/StartupProbe.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/VolumeDevices.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/VolumeMounts.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/ValueFrom.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/ConfigMapKeyRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/FieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/SecretKeyRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/envfrom/ConfigMapRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/envfrom/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/PostStart.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/PreStop.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/resources/Claims.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/Capabilities.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/SeLinuxOptions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/SeccompProfile.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/WindowsOptions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/Exec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/resourceclaims/Source.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/SeLinuxOptions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/SeccompProfile.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/Sysctls.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/WindowsOptions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/topologyspreadconstraints/LabelSelector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/topologyspreadconstraints/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/AwsElasticBlockStore.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/AzureDisk.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/AzureFile.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Cephfs.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Cinder.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ConfigMap.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Csi.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/DownwardAPI.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/EmptyDir.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Ephemeral.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Fc.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/FlexVolume.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Flocker.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/GcePersistentDisk.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/GitRepo.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Glusterfs.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/HostPath.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Iscsi.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Nfs.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/PersistentVolumeClaim.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/PhotonPersistentDisk.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/PortworxVolume.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Projected.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Quobyte.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Rbd.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ScaleIO.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Secret.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Storageos.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/VsphereVolume.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/cephfs/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/cinder/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/configmap/Items.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/csi/NodePublishSecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/Items.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/items/FieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/items/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/VolumeClaimTemplate.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Metadata.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Spec.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/ManagedFields.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/OwnerReferences.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/managedfields/FieldsV1.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSource.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSourceRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Resources.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Selector.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/resources/Claims.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/selector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/flexvolume/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/iscsi/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/Sources.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/ConfigMap.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/DownwardAPI.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/Secret.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/ServiceAccountToken.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/configmap/Items.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/Items.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/items/FieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/items/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/secret/Items.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/rbd/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/scaleio/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/secret/Items.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/storageos/SecretRef.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/selector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/opa/v1alpha1/opaclusterstatus/Conditions.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/S3Bucket.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/S3BucketSpec.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/S3Connection.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/S3ConnectionSpec.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/Connection.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/Inline.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/Credentials.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/Tls.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/credentials/Scope.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/Verification.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/verification/None.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/verification/Server.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/verification/server/CaCert.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/verification/server/cacert/WebPki.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/Credentials.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/Tls.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/credentials/Scope.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/Verification.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/verification/None.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/verification/Server.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/verification/server/CaCert.java create mode 100644 src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/verification/server/cacert/WebPki.java create mode 100644 src/main/java/tech/stackable/secrets/v1alpha1/SecretClass.java create mode 100644 src/main/java/tech/stackable/secrets/v1alpha1/SecretClassSpec.java create mode 100644 src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/Backend.java create mode 100644 src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/AutoTls.java create mode 100644 src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/K8sSearch.java create mode 100644 src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/KerberosKeytab.java create mode 100644 src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/autotls/Ca.java create mode 100644 src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/autotls/ca/Secret.java create mode 100644 src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/k8ssearch/SearchNamespace.java create mode 100644 src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/k8ssearch/searchnamespace/Pod.java create mode 100644 src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/Admin.java create mode 100644 src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/AdminKeytabSecret.java create mode 100644 src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/admin/ActiveDirectory.java create mode 100644 src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/admin/Mit.java create mode 100644 src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/admin/activedirectory/LdapTlsCaSecret.java create mode 100644 src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/admin/activedirectory/PasswordCacheSecret.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperCluster.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperClusterSpec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperClusterStatus.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperZnode.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperZnodeSpec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/ClusterConfig.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/ClusterOperation.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/Image.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/Servers.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/clusterconfig/Authentication.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/clusterconfig/Tls.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/image/PullSecrets.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/Config.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/PodOverrides.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/RoleConfig.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/RoleGroups.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/Affinity.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/Logging.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/Resources.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/NodeAffinity.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/NodeSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/PodAffinity.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/PodAntiAffinity.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/Containers.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/containers/Console.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/containers/Custom.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/containers/File.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/containers/Loggers.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/Cpu.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/Memory.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/Storage.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/memory/RuntimeLimits.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/storage/Data.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/storage/data/Selectors.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/storage/data/selectors/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/Metadata.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/Spec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/metadata/ManagedFields.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/metadata/OwnerReferences.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/metadata/managedfields/FieldsV1.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Affinity.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Containers.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/DnsConfig.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/EphemeralContainers.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/HostAliases.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ImagePullSecrets.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/InitContainers.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Os.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ReadinessGates.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ResourceClaims.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/SchedulingGates.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/SecurityContext.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Tolerations.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/TopologySpreadConstraints.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Volumes.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/NodeAffinity.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/PodAffinity.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/PodAntiAffinity.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/Env.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/EnvFrom.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/Lifecycle.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/LivenessProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/Ports.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/ReadinessProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/ResizePolicy.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/Resources.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/SecurityContext.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/StartupProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/VolumeDevices.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/VolumeMounts.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/ValueFrom.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/valuefrom/ConfigMapKeyRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/valuefrom/FieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/valuefrom/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/valuefrom/SecretKeyRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/envfrom/ConfigMapRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/envfrom/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/PostStart.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/PreStop.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/resources/Claims.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/securitycontext/Capabilities.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/securitycontext/SeLinuxOptions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/securitycontext/SeccompProfile.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/securitycontext/WindowsOptions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/dnsconfig/Options.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/Env.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/EnvFrom.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/Lifecycle.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/LivenessProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/Ports.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/ReadinessProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/ResizePolicy.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/Resources.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/SecurityContext.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/StartupProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/VolumeDevices.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/VolumeMounts.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/ValueFrom.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/ConfigMapKeyRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/FieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/SecretKeyRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/envfrom/ConfigMapRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/envfrom/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/PostStart.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/PreStop.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/resources/Claims.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/Capabilities.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/SeLinuxOptions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/SeccompProfile.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/WindowsOptions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/Env.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/EnvFrom.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/Lifecycle.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/LivenessProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/Ports.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/ReadinessProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/ResizePolicy.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/Resources.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/SecurityContext.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/StartupProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/VolumeDevices.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/VolumeMounts.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/ValueFrom.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/ConfigMapKeyRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/FieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/SecretKeyRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/envfrom/ConfigMapRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/envfrom/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/PostStart.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/PreStop.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/resources/Claims.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/Capabilities.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/SeLinuxOptions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/SeccompProfile.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/WindowsOptions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/resourceclaims/Source.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/securitycontext/SeLinuxOptions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/securitycontext/SeccompProfile.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/securitycontext/Sysctls.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/securitycontext/WindowsOptions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/topologyspreadconstraints/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/topologyspreadconstraints/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/AwsElasticBlockStore.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/AzureDisk.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/AzureFile.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Cephfs.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Cinder.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ConfigMap.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Csi.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/DownwardAPI.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/EmptyDir.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Ephemeral.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Fc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/FlexVolume.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Flocker.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/GcePersistentDisk.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/GitRepo.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Glusterfs.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/HostPath.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Iscsi.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Nfs.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/PersistentVolumeClaim.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/PhotonPersistentDisk.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/PortworxVolume.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Projected.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Quobyte.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Rbd.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ScaleIO.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Secret.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Storageos.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/VsphereVolume.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/cephfs/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/cinder/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/configmap/Items.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/csi/NodePublishSecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/downwardapi/Items.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/downwardapi/items/FieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/downwardapi/items/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/VolumeClaimTemplate.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Metadata.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Spec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/ManagedFields.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/OwnerReferences.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/managedfields/FieldsV1.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSource.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSourceRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Resources.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Selector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/resources/Claims.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/selector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/flexvolume/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/iscsi/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/Sources.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/ConfigMap.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/DownwardAPI.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/Secret.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/ServiceAccountToken.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/configmap/Items.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/Items.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/items/FieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/items/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/secret/Items.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/rbd/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/scaleio/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/secret/Items.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/storageos/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/roleconfig/PodDisruptionBudget.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/Config.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/PodOverrides.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/Selector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/Affinity.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/Logging.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/Resources.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/NodeAffinity.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/NodeSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/PodAffinity.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/PodAntiAffinity.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/Containers.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/containers/Console.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/containers/Custom.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/containers/File.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/containers/Loggers.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/Cpu.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/Memory.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/Storage.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/memory/RuntimeLimits.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/storage/Data.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/storage/data/Selectors.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/storage/data/selectors/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/Metadata.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/Spec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/metadata/ManagedFields.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/metadata/OwnerReferences.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/metadata/managedfields/FieldsV1.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Affinity.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Containers.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/DnsConfig.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/EphemeralContainers.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/HostAliases.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ImagePullSecrets.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/InitContainers.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Os.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ReadinessGates.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ResourceClaims.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/SchedulingGates.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/SecurityContext.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Tolerations.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/TopologySpreadConstraints.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Volumes.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/NodeAffinity.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/PodAffinity.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/PodAntiAffinity.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/Env.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/EnvFrom.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/Lifecycle.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/LivenessProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/Ports.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/ReadinessProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/ResizePolicy.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/Resources.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/SecurityContext.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/StartupProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/VolumeDevices.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/VolumeMounts.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/ValueFrom.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/ConfigMapKeyRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/FieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/SecretKeyRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/envfrom/ConfigMapRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/envfrom/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/PostStart.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/PreStop.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/resources/Claims.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/Capabilities.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/SeLinuxOptions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/SeccompProfile.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/WindowsOptions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/dnsconfig/Options.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Env.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/EnvFrom.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Lifecycle.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/LivenessProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Ports.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/ReadinessProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/ResizePolicy.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Resources.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/SecurityContext.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/StartupProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/VolumeDevices.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/VolumeMounts.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/ValueFrom.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/ConfigMapKeyRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/FieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/SecretKeyRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/envfrom/ConfigMapRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/envfrom/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/PostStart.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/PreStop.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/resources/Claims.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/Capabilities.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/SeLinuxOptions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/SeccompProfile.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/WindowsOptions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Env.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/EnvFrom.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Lifecycle.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/LivenessProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Ports.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/ReadinessProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/ResizePolicy.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Resources.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/SecurityContext.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/StartupProbe.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/VolumeDevices.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/VolumeMounts.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/ValueFrom.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/ConfigMapKeyRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/FieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/SecretKeyRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/envfrom/ConfigMapRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/envfrom/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/PostStart.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/PreStop.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/resources/Claims.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/Capabilities.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/SeLinuxOptions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/SeccompProfile.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/WindowsOptions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/Exec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/Grpc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/HttpGet.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/TcpSocket.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/httpget/HttpHeaders.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/resourceclaims/Source.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/SeLinuxOptions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/SeccompProfile.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/Sysctls.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/WindowsOptions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/topologyspreadconstraints/LabelSelector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/topologyspreadconstraints/labelselector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/AwsElasticBlockStore.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/AzureDisk.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/AzureFile.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Cephfs.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Cinder.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ConfigMap.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Csi.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/DownwardAPI.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/EmptyDir.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Ephemeral.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Fc.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/FlexVolume.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Flocker.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/GcePersistentDisk.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/GitRepo.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Glusterfs.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/HostPath.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Iscsi.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Nfs.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/PersistentVolumeClaim.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/PhotonPersistentDisk.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/PortworxVolume.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Projected.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Quobyte.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Rbd.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ScaleIO.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Secret.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Storageos.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/VsphereVolume.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/cephfs/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/cinder/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/configmap/Items.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/csi/NodePublishSecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/Items.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/items/FieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/items/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/VolumeClaimTemplate.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Metadata.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Spec.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/ManagedFields.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/OwnerReferences.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/managedfields/FieldsV1.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSource.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSourceRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Resources.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Selector.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/resources/Claims.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/selector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/flexvolume/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/iscsi/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/Sources.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/ConfigMap.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/DownwardAPI.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/Secret.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/ServiceAccountToken.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/configmap/Items.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/Items.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/items/FieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/items/ResourceFieldRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/secret/Items.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/rbd/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/scaleio/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/secret/Items.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/storageos/SecretRef.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/selector/MatchExpressions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterstatus/Conditions.java create mode 100644 src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperznodespec/ClusterRef.java diff --git a/pom.xml b/pom.xml index 014c5394..bae8b489 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 io.roboscale.robot robot-fabric8-client - 0.1.0-alpha.14 + 0.1.0-alpha.15 robot-fabric8-client https://robolaunch.io diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/AuthenticationClass.java b/src/main/java/tech/stackable/authentication/v1alpha1/AuthenticationClass.java new file mode 100644 index 00000000..0b37369e --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/AuthenticationClass.java @@ -0,0 +1,10 @@ +package tech.stackable.authentication.v1alpha1; + +@io.fabric8.kubernetes.model.annotation.Version(value = "v1alpha1" , storage = true , served = true) +@io.fabric8.kubernetes.model.annotation.Group("authentication.stackable.tech") +@io.fabric8.kubernetes.model.annotation.Singular("authenticationclass") +@io.fabric8.kubernetes.model.annotation.Plural("authenticationclasses") +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class AuthenticationClass extends io.fabric8.kubernetes.client.CustomResource { +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/AuthenticationClassSpec.java b/src/main/java/tech/stackable/authentication/v1alpha1/AuthenticationClassSpec.java new file mode 100644 index 00000000..89e2878e --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/AuthenticationClassSpec.java @@ -0,0 +1,26 @@ +package tech.stackable.authentication.v1alpha1; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"provider"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class AuthenticationClassSpec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Provider used for authentication like LDAP or Kerberos. + */ + @com.fasterxml.jackson.annotation.JsonProperty("provider") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Provider used for authentication like LDAP or Kerberos.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.Provider provider; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.Provider getProvider() { + return provider; + } + + public void setProvider(tech.stackable.authentication.v1alpha1.authenticationclassspec.Provider provider) { + this.provider = provider; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/Provider.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/Provider.java new file mode 100644 index 00000000..1c12e3f7 --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/Provider.java @@ -0,0 +1,73 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"ldap","oidc","static","tls"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Provider implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The [LDAP provider](https://docs.stackable.tech/home/nightly/concepts/authentication#_ldap). There is also the ["Authentication with LDAP" tutorial](https://docs.stackable.tech/home/nightly/tutorials/authentication_with_openldap) where you can learn to configure Superset and Trino with OpenLDAP. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ldap") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The [LDAP provider](https://docs.stackable.tech/home/nightly/concepts/authentication#_ldap). There is also the [\"Authentication with LDAP\" tutorial](https://docs.stackable.tech/home/nightly/tutorials/authentication_with_openldap) where you can learn to configure Superset and Trino with OpenLDAP.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.Ldap ldap; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.Ldap getLdap() { + return ldap; + } + + public void setLdap(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.Ldap ldap) { + this.ldap = ldap; + } + + /** + * The OIDC provider can be used to configure OpenID Connect. + */ + @com.fasterxml.jackson.annotation.JsonProperty("oidc") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The OIDC provider can be used to configure OpenID Connect.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.Oidc oidc; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.Oidc getOidc() { + return oidc; + } + + public void setOidc(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.Oidc oidc) { + this.oidc = oidc; + } + + /** + * The [static provider](https://https://docs.stackable.tech/home/nightly/concepts/authentication#_static) is used to configure a static set of users, identified by username and password. + */ + @com.fasterxml.jackson.annotation.JsonProperty("static") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The [static provider](https://https://docs.stackable.tech/home/nightly/concepts/authentication#_static) is used to configure a static set of users, identified by username and password.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.Static _static; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.Static get_static() { + return _static; + } + + public void set_static(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.Static _static) { + this._static = _static; + } + + /** + * The [TLS provider](https://docs.stackable.tech/home/nightly/concepts/authentication#_tls). The TLS AuthenticationClass is used when users should authenticate themselves with a TLS certificate. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tls") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The [TLS provider](https://docs.stackable.tech/home/nightly/concepts/authentication#_tls). The TLS AuthenticationClass is used when users should authenticate themselves with a TLS certificate.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.Tls tls; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.Tls getTls() { + return tls; + } + + public void setTls(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.Tls tls) { + this.tls = tls; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/Ldap.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/Ldap.java new file mode 100644 index 00000000..ea7ab43f --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/Ldap.java @@ -0,0 +1,126 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"bindCredentials","hostname","ldapFieldNames","port","searchBase","searchFilter","tls"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ldap implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * In case you need a special account for searching the LDAP server you can specify it here. + */ + @com.fasterxml.jackson.annotation.JsonProperty("bindCredentials") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("In case you need a special account for searching the LDAP server you can specify it here.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.BindCredentials bindCredentials; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.BindCredentials getBindCredentials() { + return bindCredentials; + } + + public void setBindCredentials(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.BindCredentials bindCredentials) { + this.bindCredentials = bindCredentials; + } + + /** + * Hostname of the LDAP server, for example: `my.ldap.server`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("hostname") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Hostname of the LDAP server, for example: `my.ldap.server`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostname; + + public String getHostname() { + return hostname; + } + + public void setHostname(String hostname) { + this.hostname = hostname; + } + + /** + * The name of the LDAP object fields. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ldapFieldNames") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The name of the LDAP object fields.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.LdapFieldNames ldapFieldNames = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"uid\":\"uid\",\"group\":\"memberof\",\"givenName\":\"givenName\",\"surname\":\"sn\",\"email\":\"mail\"}", tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.LdapFieldNames.class); + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.LdapFieldNames getLdapFieldNames() { + return ldapFieldNames; + } + + public void setLdapFieldNames(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.LdapFieldNames ldapFieldNames) { + this.ldapFieldNames = ldapFieldNames; + } + + /** + * Port of the LDAP server. If TLS is used defaults to 636 otherwise to 389. + */ + @com.fasterxml.jackson.annotation.JsonProperty("port") + @io.fabric8.generator.annotation.Min(0.0) + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Port of the LDAP server. If TLS is used defaults to 636 otherwise to 389.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Long port; + + public Long getPort() { + return port; + } + + public void setPort(Long port) { + this.port = port; + } + + /** + * LDAP search base, for example: `ou=users,dc=example,dc=org`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("searchBase") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("LDAP search base, for example: `ou=users,dc=example,dc=org`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String searchBase = ""; + + public String getSearchBase() { + return searchBase; + } + + public void setSearchBase(String searchBase) { + this.searchBase = searchBase; + } + + /** + * LDAP query to filter users, for example: `(memberOf=cn=myTeam,ou=teams,dc=example,dc=org)`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("searchFilter") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("LDAP query to filter users, for example: `(memberOf=cn=myTeam,ou=teams,dc=example,dc=org)`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String searchFilter = ""; + + public String getSearchFilter() { + return searchFilter; + } + + public void setSearchFilter(String searchFilter) { + this.searchFilter = searchFilter; + } + + /** + * Use a TLS connection. If not specified no TLS will be used. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tls") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Use a TLS connection. If not specified no TLS will be used.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.Tls tls; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.Tls getTls() { + return tls; + } + + public void setTls(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.Tls tls) { + this.tls = tls; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/Oidc.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/Oidc.java new file mode 100644 index 00000000..13f497bd --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/Oidc.java @@ -0,0 +1,149 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"hostname","port","principalClaim","providerHint","rootPath","scopes","tls"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Oidc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Hostname of the identity provider, e.g. `my.keycloak.corp`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("hostname") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Hostname of the identity provider, e.g. `my.keycloak.corp`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostname; + + public String getHostname() { + return hostname; + } + + public void setHostname(String hostname) { + this.hostname = hostname; + } + + /** + * Port of the identity provider. If TLS is used defaults to 443, otherwise to 80. + */ + @com.fasterxml.jackson.annotation.JsonProperty("port") + @io.fabric8.generator.annotation.Min(0.0) + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Port of the identity provider. If TLS is used defaults to 443, otherwise to 80.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Long port; + + public Long getPort() { + return port; + } + + public void setPort(Long port) { + this.port = port; + } + + /** + * If a product extracts some sort of "effective user" that is represented by a string internally, this config determines with claim is used to extract that string. It is desirable to use `sub` in here (or some other stable identifier), but in many cases you might need to use `preferred_username` (e.g. in case of Keycloak) or a different claim instead. + * + * Please note that some products hard-coded the claim in their implementation, so some product operators might error out if the product hardcodes a different claim than configured here. + * + * We don't provide any default value, as there is no correct way of doing it that works in all setups. Most demos will probably use `preferred_username`, although `sub` being more desirable, but technically impossible with the current behavior of the products. + */ + @com.fasterxml.jackson.annotation.JsonProperty("principalClaim") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("If a product extracts some sort of \"effective user\" that is represented by a string internally, this config determines with claim is used to extract that string. It is desirable to use `sub` in here (or some other stable identifier), but in many cases you might need to use `preferred_username` (e.g. in case of Keycloak) or a different claim instead.\n\nPlease note that some products hard-coded the claim in their implementation, so some product operators might error out if the product hardcodes a different claim than configured here.\n\nWe don't provide any default value, as there is no correct way of doing it that works in all setups. Most demos will probably use `preferred_username`, although `sub` being more desirable, but technically impossible with the current behavior of the products.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String principalClaim; + + public String getPrincipalClaim() { + return principalClaim; + } + + public void setPrincipalClaim(String principalClaim) { + this.principalClaim = principalClaim; + } + + public enum ProviderHint { + + @com.fasterxml.jackson.annotation.JsonProperty("Keycloak") + KEYCLOAK("Keycloak"); + + java.lang.String value; + + ProviderHint(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * This is a hint about which identity provider is used by the AuthenticationClass. Operators *can* opt to use this value to enable known quirks around OIDC / OAuth authentication. Not providing a hint means there is no hint and OIDC should be used as it is intended to be used (via the `.well-known` discovery). + */ + @com.fasterxml.jackson.annotation.JsonProperty("providerHint") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("This is a hint about which identity provider is used by the AuthenticationClass. Operators *can* opt to use this value to enable known quirks around OIDC / OAuth authentication. Not providing a hint means there is no hint and OIDC should be used as it is intended to be used (via the `.well-known` discovery).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private ProviderHint providerHint; + + public ProviderHint getProviderHint() { + return providerHint; + } + + public void setProviderHint(ProviderHint providerHint) { + this.providerHint = providerHint; + } + + /** + * Root HTTP path of the identity provider. Defaults to `/`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("rootPath") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Root HTTP path of the identity provider. Defaults to `/`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String rootPath = "/"; + + public String getRootPath() { + return rootPath; + } + + public void setRootPath(String rootPath) { + this.rootPath = rootPath; + } + + /** + * Scopes to request from your identity provider. It is recommended to request the `openid`, `email`, and `profile` scopes. + */ + @com.fasterxml.jackson.annotation.JsonProperty("scopes") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Scopes to request from your identity provider. It is recommended to request the `openid`, `email`, and `profile` scopes.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List scopes; + + public java.util.List getScopes() { + return scopes; + } + + public void setScopes(java.util.List scopes) { + this.scopes = scopes; + } + + /** + * Use a TLS connection. If not specified no TLS will be used. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tls") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Use a TLS connection. If not specified no TLS will be used.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.Tls tls; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.Tls getTls() { + return tls; + } + + public void setTls(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.Tls tls) { + this.tls = tls; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/Static.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/Static.java new file mode 100644 index 00000000..e84d43fd --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/Static.java @@ -0,0 +1,26 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"userCredentialsSecret"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Static implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Secret providing the usernames and passwords. The Secret must contain an entry for every user, with the key being the username and the value the password in plain text. It must be located in the same namespace as the product using it. + */ + @com.fasterxml.jackson.annotation.JsonProperty("userCredentialsSecret") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Secret providing the usernames and passwords. The Secret must contain an entry for every user, with the key being the username and the value the password in plain text. It must be located in the same namespace as the product using it.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.static.UserCredentialsSecret userCredentialsSecret; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.static.UserCredentialsSecret getUserCredentialsSecret() { + return userCredentialsSecret; + } + + public void setUserCredentialsSecret(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.static.UserCredentialsSecret userCredentialsSecret) { + this.userCredentialsSecret = userCredentialsSecret; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/Tls.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/Tls.java new file mode 100644 index 00000000..126ebd0d --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/Tls.java @@ -0,0 +1,26 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"clientCertSecretClass"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Tls implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * See [ADR017: TLS authentication](https://docs.stackable.tech/home/nightly/contributor/adr/adr017-tls_authentication). If `client_cert_secret_class` is not set, the TLS settings may also be used for client authentication. If `client_cert_secret_class` is set, the [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) will be used to provision client certificates. + */ + @com.fasterxml.jackson.annotation.JsonProperty("clientCertSecretClass") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("See [ADR017: TLS authentication](https://docs.stackable.tech/home/nightly/contributor/adr/adr017-tls_authentication). If `client_cert_secret_class` is not set, the TLS settings may also be used for client authentication. If `client_cert_secret_class` is set, the [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) will be used to provision client certificates.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String clientCertSecretClass; + + public String getClientCertSecretClass() { + return clientCertSecretClass; + } + + public void setClientCertSecretClass(String clientCertSecretClass) { + this.clientCertSecretClass = clientCertSecretClass; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/BindCredentials.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/BindCredentials.java new file mode 100644 index 00000000..df50ff07 --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/BindCredentials.java @@ -0,0 +1,43 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"scope","secretClass"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class BindCredentials implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * [Scope](https://docs.stackable.tech/home/nightly/secret-operator/scope) of the [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass). + */ + @com.fasterxml.jackson.annotation.JsonProperty("scope") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("[Scope](https://docs.stackable.tech/home/nightly/secret-operator/scope) of the [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.bindcredentials.Scope scope; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.bindcredentials.Scope getScope() { + return scope; + } + + public void setScope(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.bindcredentials.Scope scope) { + this.scope = scope; + } + + /** + * [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) containing the LDAP bind credentials. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretClass") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) containing the LDAP bind credentials.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretClass; + + public String getSecretClass() { + return secretClass; + } + + public void setSecretClass(String secretClass) { + this.secretClass = secretClass; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/LdapFieldNames.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/LdapFieldNames.java new file mode 100644 index 00000000..83de038e --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/LdapFieldNames.java @@ -0,0 +1,89 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"email","givenName","group","surname","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LdapFieldNames implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The name of the email field + */ + @com.fasterxml.jackson.annotation.JsonProperty("email") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The name of the email field") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String email = "mail"; + + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + /** + * The name of the firstname field + */ + @com.fasterxml.jackson.annotation.JsonProperty("givenName") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The name of the firstname field") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String givenName = "givenName"; + + public String getGivenName() { + return givenName; + } + + public void setGivenName(String givenName) { + this.givenName = givenName; + } + + /** + * The name of the group field + */ + @com.fasterxml.jackson.annotation.JsonProperty("group") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The name of the group field") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String group = "memberof"; + + public String getGroup() { + return group; + } + + public void setGroup(String group) { + this.group = group; + } + + /** + * The name of the lastname field + */ + @com.fasterxml.jackson.annotation.JsonProperty("surname") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The name of the lastname field") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String surname = "sn"; + + public String getSurname() { + return surname; + } + + public void setSurname(String surname) { + this.surname = surname; + } + + /** + * The name of the username field + */ + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The name of the username field") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid = "uid"; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/Tls.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/Tls.java new file mode 100644 index 00000000..bcb47c4c --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/Tls.java @@ -0,0 +1,26 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"verification"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Tls implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The verification method used to verify the certificates of the server and/or the client. + */ + @com.fasterxml.jackson.annotation.JsonProperty("verification") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The verification method used to verify the certificates of the server and/or the client.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.Verification verification; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.Verification getVerification() { + return verification; + } + + public void setVerification(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.Verification verification) { + this.verification = verification; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/bindcredentials/Scope.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/bindcredentials/Scope.java new file mode 100644 index 00000000..085e544d --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/bindcredentials/Scope.java @@ -0,0 +1,57 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.bindcredentials; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"node","pod","services"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Scope implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The node scope is resolved to the name of the Kubernetes Node object that the Pod is running on. This will typically be the DNS name of the node. + */ + @com.fasterxml.jackson.annotation.JsonProperty("node") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The node scope is resolved to the name of the Kubernetes Node object that the Pod is running on. This will typically be the DNS name of the node.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean node = false; + + public Boolean getNode() { + return node; + } + + public void setNode(Boolean node) { + this.node = node; + } + + /** + * The pod scope is resolved to the name of the Kubernetes Pod. This allows the secret to differentiate between StatefulSet replicas. + */ + @com.fasterxml.jackson.annotation.JsonProperty("pod") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The pod scope is resolved to the name of the Kubernetes Pod. This allows the secret to differentiate between StatefulSet replicas.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean pod = false; + + public Boolean getPod() { + return pod; + } + + public void setPod(Boolean pod) { + this.pod = pod; + } + + /** + * The service scope allows Pod objects to specify custom scopes. This should typically correspond to Service objects that the Pod participates in. + */ + @com.fasterxml.jackson.annotation.JsonProperty("services") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The service scope allows Pod objects to specify custom scopes. This should typically correspond to Service objects that the Pod participates in.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List services = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("[]", java.util.List.class); + + public java.util.List getServices() { + return services; + } + + public void setServices(java.util.List services) { + this.services = services; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/Verification.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/Verification.java new file mode 100644 index 00000000..60deed10 --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/Verification.java @@ -0,0 +1,41 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"none","server"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Verification implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Use TLS but don't verify certificates. + */ + @com.fasterxml.jackson.annotation.JsonProperty("none") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Use TLS but don't verify certificates.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.verification.None none; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.verification.None getNone() { + return none; + } + + public void setNone(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.verification.None none) { + this.none = none; + } + + /** + * Use TLS and a CA certificate to verify the server. + */ + @com.fasterxml.jackson.annotation.JsonProperty("server") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Use TLS and a CA certificate to verify the server.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.verification.Server server; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.verification.Server getServer() { + return server; + } + + public void setServer(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.verification.Server server) { + this.server = server; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/verification/None.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/verification/None.java new file mode 100644 index 00000000..f436c83d --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/verification/None.java @@ -0,0 +1,9 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.verification; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class None implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/verification/Server.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/verification/Server.java new file mode 100644 index 00000000..97e0d89c --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/verification/Server.java @@ -0,0 +1,26 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.verification; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"caCert"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Server implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * CA cert to verify the server. + */ + @com.fasterxml.jackson.annotation.JsonProperty("caCert") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("CA cert to verify the server.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.verification.server.CaCert caCert; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.verification.server.CaCert getCaCert() { + return caCert; + } + + public void setCaCert(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.verification.server.CaCert caCert) { + this.caCert = caCert; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/verification/server/CaCert.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/verification/server/CaCert.java new file mode 100644 index 00000000..d9234896 --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/verification/server/CaCert.java @@ -0,0 +1,41 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.verification.server; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"secretClass","webPki"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class CaCert implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Name of the [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) which will provide the CA certificate. Note that a SecretClass does not need to have a key but can also work with just a CA certificate, so if you got provided with a CA cert but don't have access to the key you can still use this method. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretClass") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) which will provide the CA certificate. Note that a SecretClass does not need to have a key but can also work with just a CA certificate, so if you got provided with a CA cert but don't have access to the key you can still use this method.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretClass; + + public String getSecretClass() { + return secretClass; + } + + public void setSecretClass(String secretClass) { + this.secretClass = secretClass; + } + + /** + * Use TLS and the CA certificates trusted by the common web browsers to verify the server. This can be useful when you e.g. use public AWS S3 or other public available services. + */ + @com.fasterxml.jackson.annotation.JsonProperty("webPki") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Use TLS and the CA certificates trusted by the common web browsers to verify the server. This can be useful when you e.g. use public AWS S3 or other public available services.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.verification.server.cacert.WebPki webPki; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.verification.server.cacert.WebPki getWebPki() { + return webPki; + } + + public void setWebPki(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.verification.server.cacert.WebPki webPki) { + this.webPki = webPki; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/verification/server/cacert/WebPki.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/verification/server/cacert/WebPki.java new file mode 100644 index 00000000..fb6506b8 --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/ldap/tls/verification/server/cacert/WebPki.java @@ -0,0 +1,9 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.ldap.tls.verification.server.cacert; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WebPki implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/Tls.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/Tls.java new file mode 100644 index 00000000..8f32195f --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/Tls.java @@ -0,0 +1,26 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"verification"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Tls implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The verification method used to verify the certificates of the server and/or the client. + */ + @com.fasterxml.jackson.annotation.JsonProperty("verification") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The verification method used to verify the certificates of the server and/or the client.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.Verification verification; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.Verification getVerification() { + return verification; + } + + public void setVerification(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.Verification verification) { + this.verification = verification; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/Verification.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/Verification.java new file mode 100644 index 00000000..e8797e3f --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/Verification.java @@ -0,0 +1,41 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"none","server"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Verification implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Use TLS but don't verify certificates. + */ + @com.fasterxml.jackson.annotation.JsonProperty("none") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Use TLS but don't verify certificates.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.verification.None none; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.verification.None getNone() { + return none; + } + + public void setNone(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.verification.None none) { + this.none = none; + } + + /** + * Use TLS and a CA certificate to verify the server. + */ + @com.fasterxml.jackson.annotation.JsonProperty("server") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Use TLS and a CA certificate to verify the server.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.verification.Server server; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.verification.Server getServer() { + return server; + } + + public void setServer(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.verification.Server server) { + this.server = server; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/verification/None.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/verification/None.java new file mode 100644 index 00000000..6748da37 --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/verification/None.java @@ -0,0 +1,9 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.verification; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class None implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/verification/Server.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/verification/Server.java new file mode 100644 index 00000000..9a7fdf11 --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/verification/Server.java @@ -0,0 +1,26 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.verification; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"caCert"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Server implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * CA cert to verify the server. + */ + @com.fasterxml.jackson.annotation.JsonProperty("caCert") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("CA cert to verify the server.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.verification.server.CaCert caCert; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.verification.server.CaCert getCaCert() { + return caCert; + } + + public void setCaCert(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.verification.server.CaCert caCert) { + this.caCert = caCert; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/verification/server/CaCert.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/verification/server/CaCert.java new file mode 100644 index 00000000..02921972 --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/verification/server/CaCert.java @@ -0,0 +1,41 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.verification.server; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"secretClass","webPki"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class CaCert implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Name of the [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) which will provide the CA certificate. Note that a SecretClass does not need to have a key but can also work with just a CA certificate, so if you got provided with a CA cert but don't have access to the key you can still use this method. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretClass") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) which will provide the CA certificate. Note that a SecretClass does not need to have a key but can also work with just a CA certificate, so if you got provided with a CA cert but don't have access to the key you can still use this method.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretClass; + + public String getSecretClass() { + return secretClass; + } + + public void setSecretClass(String secretClass) { + this.secretClass = secretClass; + } + + /** + * Use TLS and the CA certificates trusted by the common web browsers to verify the server. This can be useful when you e.g. use public AWS S3 or other public available services. + */ + @com.fasterxml.jackson.annotation.JsonProperty("webPki") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Use TLS and the CA certificates trusted by the common web browsers to verify the server. This can be useful when you e.g. use public AWS S3 or other public available services.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.verification.server.cacert.WebPki webPki; + + public tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.verification.server.cacert.WebPki getWebPki() { + return webPki; + } + + public void setWebPki(tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.verification.server.cacert.WebPki webPki) { + this.webPki = webPki; + } +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/verification/server/cacert/WebPki.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/verification/server/cacert/WebPki.java new file mode 100644 index 00000000..61d1ea34 --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/oidc/tls/verification/server/cacert/WebPki.java @@ -0,0 +1,9 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.oidc.tls.verification.server.cacert; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WebPki implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/static/UserCredentialsSecret.java b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/static/UserCredentialsSecret.java new file mode 100644 index 00000000..fffd26d4 --- /dev/null +++ b/src/main/java/tech/stackable/authentication/v1alpha1/authenticationclassspec/provider/static/UserCredentialsSecret.java @@ -0,0 +1,26 @@ +package tech.stackable.authentication.v1alpha1.authenticationclassspec.provider.static; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class UserCredentialsSecret implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Name of the Secret. + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the Secret.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/listeners/v1alpha1/Listener.java b/src/main/java/tech/stackable/listeners/v1alpha1/Listener.java new file mode 100644 index 00000000..75056e06 --- /dev/null +++ b/src/main/java/tech/stackable/listeners/v1alpha1/Listener.java @@ -0,0 +1,10 @@ +package tech.stackable.listeners.v1alpha1; + +@io.fabric8.kubernetes.model.annotation.Version(value = "v1alpha1" , storage = true , served = true) +@io.fabric8.kubernetes.model.annotation.Group("listeners.stackable.tech") +@io.fabric8.kubernetes.model.annotation.Singular("listener") +@io.fabric8.kubernetes.model.annotation.Plural("listeners") +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Listener extends io.fabric8.kubernetes.client.CustomResource implements io.fabric8.kubernetes.api.model.Namespaced { +} + diff --git a/src/main/java/tech/stackable/listeners/v1alpha1/ListenerClass.java b/src/main/java/tech/stackable/listeners/v1alpha1/ListenerClass.java new file mode 100644 index 00000000..61d17fd0 --- /dev/null +++ b/src/main/java/tech/stackable/listeners/v1alpha1/ListenerClass.java @@ -0,0 +1,10 @@ +package tech.stackable.listeners.v1alpha1; + +@io.fabric8.kubernetes.model.annotation.Version(value = "v1alpha1" , storage = true , served = true) +@io.fabric8.kubernetes.model.annotation.Group("listeners.stackable.tech") +@io.fabric8.kubernetes.model.annotation.Singular("listenerclass") +@io.fabric8.kubernetes.model.annotation.Plural("listenerclasses") +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ListenerClass extends io.fabric8.kubernetes.client.CustomResource { +} + diff --git a/src/main/java/tech/stackable/listeners/v1alpha1/ListenerClassSpec.java b/src/main/java/tech/stackable/listeners/v1alpha1/ListenerClassSpec.java new file mode 100644 index 00000000..33f6caa5 --- /dev/null +++ b/src/main/java/tech/stackable/listeners/v1alpha1/ListenerClassSpec.java @@ -0,0 +1,61 @@ +package tech.stackable.listeners.v1alpha1; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"serviceAnnotations","serviceType"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ListenerClassSpec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Annotations that should be added to the Service object. + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceAnnotations") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Annotations that should be added to the Service object.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map serviceAnnotations = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map getServiceAnnotations() { + return serviceAnnotations; + } + + public void setServiceAnnotations(java.util.Map serviceAnnotations) { + this.serviceAnnotations = serviceAnnotations; + } + + public enum ServiceType { + + @com.fasterxml.jackson.annotation.JsonProperty("NodePort") + NODEPORT("NodePort"), @com.fasterxml.jackson.annotation.JsonProperty("LoadBalancer") + LOADBALANCER("LoadBalancer"), @com.fasterxml.jackson.annotation.JsonProperty("ClusterIP") + CLUSTERIP("ClusterIP"); + + java.lang.String value; + + ServiceType(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * The method used to access the services. + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceType") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The method used to access the services.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private ServiceType serviceType; + + public ServiceType getServiceType() { + return serviceType; + } + + public void setServiceType(ServiceType serviceType) { + this.serviceType = serviceType; + } +} + diff --git a/src/main/java/tech/stackable/listeners/v1alpha1/ListenerSpec.java b/src/main/java/tech/stackable/listeners/v1alpha1/ListenerSpec.java new file mode 100644 index 00000000..f4a272a1 --- /dev/null +++ b/src/main/java/tech/stackable/listeners/v1alpha1/ListenerSpec.java @@ -0,0 +1,76 @@ +package tech.stackable.listeners.v1alpha1; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"className","extraPodSelectorLabels","ports","publishNotReadyAddresses"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ListenerSpec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The name of the [ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass). + */ + @com.fasterxml.jackson.annotation.JsonProperty("className") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The name of the [ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String className; + + public String getClassName() { + return className; + } + + public void setClassName(String className) { + this.className = className; + } + + /** + * Extra labels that the Pods must match in order to be exposed. They must _also_ still have a Volume referring to the Listener. + */ + @com.fasterxml.jackson.annotation.JsonProperty("extraPodSelectorLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Extra labels that the Pods must match in order to be exposed. They must _also_ still have a Volume referring to the Listener.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map extraPodSelectorLabels = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map getExtraPodSelectorLabels() { + return extraPodSelectorLabels; + } + + public void setExtraPodSelectorLabels(java.util.Map extraPodSelectorLabels) { + this.extraPodSelectorLabels = extraPodSelectorLabels; + } + + /** + * Ports that should be exposed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ports") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Ports that should be exposed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private java.util.List ports; + + public java.util.List getPorts() { + return ports; + } + + public void setPorts(java.util.List ports) { + this.ports = ports; + } + + /** + * Whether incoming traffic should also be directed to Pods that are not `Ready`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("publishNotReadyAddresses") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Whether incoming traffic should also be directed to Pods that are not `Ready`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Boolean publishNotReadyAddresses = true; + + public Boolean getPublishNotReadyAddresses() { + return publishNotReadyAddresses; + } + + public void setPublishNotReadyAddresses(Boolean publishNotReadyAddresses) { + this.publishNotReadyAddresses = publishNotReadyAddresses; + } +} + diff --git a/src/main/java/tech/stackable/listeners/v1alpha1/ListenerStatus.java b/src/main/java/tech/stackable/listeners/v1alpha1/ListenerStatus.java new file mode 100644 index 00000000..b5cd1b68 --- /dev/null +++ b/src/main/java/tech/stackable/listeners/v1alpha1/ListenerStatus.java @@ -0,0 +1,62 @@ +package tech.stackable.listeners.v1alpha1; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"ingressAddresses","nodePorts","serviceName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ListenerStatus implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * All addresses that the Listener is currently reachable from. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ingressAddresses") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("All addresses that the Listener is currently reachable from.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private java.util.List ingressAddresses; + + public java.util.List getIngressAddresses() { + return ingressAddresses; + } + + public void setIngressAddresses(java.util.List ingressAddresses) { + this.ingressAddresses = ingressAddresses; + } + + /** + * Port mappings for accessing the Listener on each Node that the Pods are currently running on. + * + * This is only intended for internal use by listener-operator itself. This will be left unset if using a ListenerClass that does not require Node-local access. + */ + @com.fasterxml.jackson.annotation.JsonProperty("nodePorts") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Port mappings for accessing the Listener on each Node that the Pods are currently running on.\n\nThis is only intended for internal use by listener-operator itself. This will be left unset if using a ListenerClass that does not require Node-local access.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private java.util.Map nodePorts; + + public java.util.Map getNodePorts() { + return nodePorts; + } + + public void setNodePorts(java.util.Map nodePorts) { + this.nodePorts = nodePorts; + } + + /** + * The backing Kubernetes Service. + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceName") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The backing Kubernetes Service.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String serviceName; + + public String getServiceName() { + return serviceName; + } + + public void setServiceName(String serviceName) { + this.serviceName = serviceName; + } +} + diff --git a/src/main/java/tech/stackable/listeners/v1alpha1/PodListeners.java b/src/main/java/tech/stackable/listeners/v1alpha1/PodListeners.java new file mode 100644 index 00000000..beb3e807 --- /dev/null +++ b/src/main/java/tech/stackable/listeners/v1alpha1/PodListeners.java @@ -0,0 +1,10 @@ +package tech.stackable.listeners.v1alpha1; + +@io.fabric8.kubernetes.model.annotation.Version(value = "v1alpha1" , storage = true , served = true) +@io.fabric8.kubernetes.model.annotation.Group("listeners.stackable.tech") +@io.fabric8.kubernetes.model.annotation.Singular("podlisteners") +@io.fabric8.kubernetes.model.annotation.Plural("podlisteners") +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodListeners extends io.fabric8.kubernetes.client.CustomResource implements io.fabric8.kubernetes.api.model.Namespaced { +} + diff --git a/src/main/java/tech/stackable/listeners/v1alpha1/PodListenersSpec.java b/src/main/java/tech/stackable/listeners/v1alpha1/PodListenersSpec.java new file mode 100644 index 00000000..9f1e1bc1 --- /dev/null +++ b/src/main/java/tech/stackable/listeners/v1alpha1/PodListenersSpec.java @@ -0,0 +1,28 @@ +package tech.stackable.listeners.v1alpha1; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"listeners"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodListenersSpec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * All Listeners currently bound by the Pod. + * + * Indexed by Volume name (not PersistentVolume or PersistentVolumeClaim). + */ + @com.fasterxml.jackson.annotation.JsonProperty("listeners") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("All Listeners currently bound by the Pod.\n\nIndexed by Volume name (not PersistentVolume or PersistentVolumeClaim).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map listeners; + + public java.util.Map getListeners() { + return listeners; + } + + public void setListeners(java.util.Map listeners) { + this.listeners = listeners; + } +} + diff --git a/src/main/java/tech/stackable/listeners/v1alpha1/listenerspec/Ports.java b/src/main/java/tech/stackable/listeners/v1alpha1/listenerspec/Ports.java new file mode 100644 index 00000000..5388e8e2 --- /dev/null +++ b/src/main/java/tech/stackable/listeners/v1alpha1/listenerspec/Ports.java @@ -0,0 +1,62 @@ +package tech.stackable.listeners.v1alpha1.listenerspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","port","protocol"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ports implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The name of the port. + * + * The name of each port *must* be unique within a single Listener. + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The name of the port.\n\nThe name of each port *must* be unique within a single Listener.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + /** + * The port number. + */ + @com.fasterxml.jackson.annotation.JsonProperty("port") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The port number.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + /** + * The layer-4 protocol (`TCP` or `UDP`). + */ + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The layer-4 protocol (`TCP` or `UDP`).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String protocol; + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } +} + diff --git a/src/main/java/tech/stackable/listeners/v1alpha1/listenerstatus/IngressAddresses.java b/src/main/java/tech/stackable/listeners/v1alpha1/listenerstatus/IngressAddresses.java new file mode 100644 index 00000000..749d4e9e --- /dev/null +++ b/src/main/java/tech/stackable/listeners/v1alpha1/listenerstatus/IngressAddresses.java @@ -0,0 +1,78 @@ +package tech.stackable.listeners.v1alpha1.listenerstatus; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"address","addressType","ports"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class IngressAddresses implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The hostname or IP address to the Listener. + */ + @com.fasterxml.jackson.annotation.JsonProperty("address") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The hostname or IP address to the Listener.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String address; + + public String getAddress() { + return address; + } + + public void setAddress(String address) { + this.address = address; + } + + public enum AddressType { + + @com.fasterxml.jackson.annotation.JsonProperty("Hostname") + HOSTNAME("Hostname"), @com.fasterxml.jackson.annotation.JsonProperty("IP") + IP("IP"); + + java.lang.String value; + + AddressType(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * The type of address (`Hostname` or `IP`). + */ + @com.fasterxml.jackson.annotation.JsonProperty("addressType") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The type of address (`Hostname` or `IP`).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private AddressType addressType; + + public AddressType getAddressType() { + return addressType; + } + + public void setAddressType(AddressType addressType) { + this.addressType = addressType; + } + + /** + * Port mapping table. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ports") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Port mapping table.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map ports; + + public java.util.Map getPorts() { + return ports; + } + + public void setPorts(java.util.Map ports) { + this.ports = ports; + } +} + diff --git a/src/main/java/tech/stackable/listeners/v1alpha1/podlistenersspec/Listeners.java b/src/main/java/tech/stackable/listeners/v1alpha1/podlistenersspec/Listeners.java new file mode 100644 index 00000000..8f234c4a --- /dev/null +++ b/src/main/java/tech/stackable/listeners/v1alpha1/podlistenersspec/Listeners.java @@ -0,0 +1,65 @@ +package tech.stackable.listeners.v1alpha1.podlistenersspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"ingressAddresses","scope"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Listeners implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Addresses allowing access to this Pod. + * + * Compared to `ingress_addresses` on the Listener status, this list is restricted to addresses that can access this Pod. + * + * This field is intended to be equivalent to the files mounted into the Listener volume. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ingressAddresses") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Addresses allowing access to this Pod.\n\nCompared to `ingress_addresses` on the Listener status, this list is restricted to addresses that can access this Pod.\n\nThis field is intended to be equivalent to the files mounted into the Listener volume.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private java.util.List ingressAddresses; + + public java.util.List getIngressAddresses() { + return ingressAddresses; + } + + public void setIngressAddresses(java.util.List ingressAddresses) { + this.ingressAddresses = ingressAddresses; + } + + public enum Scope { + + @com.fasterxml.jackson.annotation.JsonProperty("Node") + NODE("Node"), @com.fasterxml.jackson.annotation.JsonProperty("Cluster") + CLUSTER("Cluster"); + + java.lang.String value; + + Scope(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * `Node` if this address only allows access to Pods hosted on a specific Kubernetes Node, otherwise `Cluster`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("scope") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("`Node` if this address only allows access to Pods hosted on a specific Kubernetes Node, otherwise `Cluster`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Scope scope; + + public Scope getScope() { + return scope; + } + + public void setScope(Scope scope) { + this.scope = scope; + } +} + diff --git a/src/main/java/tech/stackable/listeners/v1alpha1/podlistenersspec/listeners/IngressAddresses.java b/src/main/java/tech/stackable/listeners/v1alpha1/podlistenersspec/listeners/IngressAddresses.java new file mode 100644 index 00000000..543934fc --- /dev/null +++ b/src/main/java/tech/stackable/listeners/v1alpha1/podlistenersspec/listeners/IngressAddresses.java @@ -0,0 +1,78 @@ +package tech.stackable.listeners.v1alpha1.podlistenersspec.listeners; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"address","addressType","ports"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class IngressAddresses implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The hostname or IP address to the Listener. + */ + @com.fasterxml.jackson.annotation.JsonProperty("address") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The hostname or IP address to the Listener.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String address; + + public String getAddress() { + return address; + } + + public void setAddress(String address) { + this.address = address; + } + + public enum AddressType { + + @com.fasterxml.jackson.annotation.JsonProperty("Hostname") + HOSTNAME("Hostname"), @com.fasterxml.jackson.annotation.JsonProperty("IP") + IP("IP"); + + java.lang.String value; + + AddressType(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * The type of address (`Hostname` or `IP`). + */ + @com.fasterxml.jackson.annotation.JsonProperty("addressType") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The type of address (`Hostname` or `IP`).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private AddressType addressType; + + public AddressType getAddressType() { + return addressType; + } + + public void setAddressType(AddressType addressType) { + this.addressType = addressType; + } + + /** + * Port mapping table. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ports") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Port mapping table.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map ports; + + public java.util.Map getPorts() { + return ports; + } + + public void setPorts(java.util.Map ports) { + this.ports = ports; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/OpaCluster.java b/src/main/java/tech/stackable/opa/v1alpha1/OpaCluster.java new file mode 100644 index 00000000..45fdd1af --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/OpaCluster.java @@ -0,0 +1,10 @@ +package tech.stackable.opa.v1alpha1; + +@io.fabric8.kubernetes.model.annotation.Version(value = "v1alpha1" , storage = true , served = true) +@io.fabric8.kubernetes.model.annotation.Group("opa.stackable.tech") +@io.fabric8.kubernetes.model.annotation.Singular("opacluster") +@io.fabric8.kubernetes.model.annotation.Plural("opaclusters") +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class OpaCluster extends io.fabric8.kubernetes.client.CustomResource implements io.fabric8.kubernetes.api.model.Namespaced { +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/OpaClusterSpec.java b/src/main/java/tech/stackable/opa/v1alpha1/OpaClusterSpec.java new file mode 100644 index 00000000..901d0c78 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/OpaClusterSpec.java @@ -0,0 +1,75 @@ +package tech.stackable.opa.v1alpha1; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"clusterConfig","clusterOperation","image","servers"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class OpaClusterSpec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Global OPA cluster configuration that applies to all roles and role groups. + */ + @com.fasterxml.jackson.annotation.JsonProperty("clusterConfig") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Global OPA cluster configuration that applies to all roles and role groups.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.ClusterConfig clusterConfig = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"listenerClass\":\"cluster-internal\"}", tech.stackable.opa.v1alpha1.opaclusterspec.ClusterConfig.class); + + public tech.stackable.opa.v1alpha1.opaclusterspec.ClusterConfig getClusterConfig() { + return clusterConfig; + } + + public void setClusterConfig(tech.stackable.opa.v1alpha1.opaclusterspec.ClusterConfig clusterConfig) { + this.clusterConfig = clusterConfig; + } + + /** + * Cluster operations like pause reconciliation or cluster stop. + */ + @com.fasterxml.jackson.annotation.JsonProperty("clusterOperation") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Cluster operations like pause reconciliation or cluster stop.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.ClusterOperation clusterOperation = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"stopped\":false,\"reconciliationPaused\":false}", tech.stackable.opa.v1alpha1.opaclusterspec.ClusterOperation.class); + + public tech.stackable.opa.v1alpha1.opaclusterspec.ClusterOperation getClusterOperation() { + return clusterOperation; + } + + public void setClusterOperation(tech.stackable.opa.v1alpha1.opaclusterspec.ClusterOperation clusterOperation) { + this.clusterOperation = clusterOperation; + } + + /** + * The OPA image to use + */ + @com.fasterxml.jackson.annotation.JsonProperty("image") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The OPA image to use") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.Image image; + + public tech.stackable.opa.v1alpha1.opaclusterspec.Image getImage() { + return image; + } + + public void setImage(tech.stackable.opa.v1alpha1.opaclusterspec.Image image) { + this.image = image; + } + + /** + * OPA server configuration. + */ + @com.fasterxml.jackson.annotation.JsonProperty("servers") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("OPA server configuration.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.Servers servers; + + public tech.stackable.opa.v1alpha1.opaclusterspec.Servers getServers() { + return servers; + } + + public void setServers(tech.stackable.opa.v1alpha1.opaclusterspec.Servers servers) { + this.servers = servers; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/OpaClusterStatus.java b/src/main/java/tech/stackable/opa/v1alpha1/OpaClusterStatus.java new file mode 100644 index 00000000..eda1626e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/OpaClusterStatus.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"conditions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class OpaClusterStatus implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("conditions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List conditions = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("[]", java.util.List.class); + + public java.util.List getConditions() { + return conditions; + } + + public void setConditions(java.util.List conditions) { + this.conditions = conditions; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/ClusterConfig.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/ClusterConfig.java new file mode 100644 index 00000000..f74b595c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/ClusterConfig.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"listenerClass","vectorAggregatorConfigMapName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ClusterConfig implements io.fabric8.kubernetes.api.model.KubernetesResource { + + public enum ListenerClass { + + @com.fasterxml.jackson.annotation.JsonProperty("cluster-internal") + CLUSTERINTERNAL("cluster-internal"), @com.fasterxml.jackson.annotation.JsonProperty("external-unstable") + EXTERNALUNSTABLE("external-unstable"), @com.fasterxml.jackson.annotation.JsonProperty("external-stable") + EXTERNALSTABLE("external-stable"); + + java.lang.String value; + + ListenerClass(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * This field controls which type of Service the Operator creates for this OpaCluster: + * + * cluster-internal: Use a ClusterIP service + * + * external-unstable: Use a NodePort service + * + * external-stable: Use a LoadBalancer service + * + * This is a temporary solution with the goal to keep yaml manifests forward compatible. In the future, this setting will control which ListenerClass will be used to expose the service, and ListenerClass names will stay the same, allowing for a non-breaking change. + */ + @com.fasterxml.jackson.annotation.JsonProperty("listenerClass") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("This field controls which type of Service the Operator creates for this OpaCluster:\n\n* cluster-internal: Use a ClusterIP service\n\n* external-unstable: Use a NodePort service\n\n* external-stable: Use a LoadBalancer service\n\nThis is a temporary solution with the goal to keep yaml manifests forward compatible. In the future, this setting will control which ListenerClass will be used to expose the service, and ListenerClass names will stay the same, allowing for a non-breaking change.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private ListenerClass listenerClass = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("\"cluster-internal\"", ListenerClass.class); + + public ListenerClass getListenerClass() { + return listenerClass; + } + + public void setListenerClass(ListenerClass listenerClass) { + this.listenerClass = listenerClass; + } + + /** + * Name of the Vector aggregator discovery ConfigMap. It must contain the key `ADDRESS` with the address of the Vector aggregator. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vectorAggregatorConfigMapName") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the Vector aggregator discovery ConfigMap. It must contain the key `ADDRESS` with the address of the Vector aggregator.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String vectorAggregatorConfigMapName; + + public String getVectorAggregatorConfigMapName() { + return vectorAggregatorConfigMapName; + } + + public void setVectorAggregatorConfigMapName(String vectorAggregatorConfigMapName) { + this.vectorAggregatorConfigMapName = vectorAggregatorConfigMapName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/ClusterOperation.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/ClusterOperation.java new file mode 100644 index 00000000..5c21fefc --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/ClusterOperation.java @@ -0,0 +1,41 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"reconciliationPaused","stopped"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ClusterOperation implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Flag to stop cluster reconciliation by the operator. This means that all changes in the custom resource spec are ignored until this flag is set to false or removed. The operator will however still watch the deployed resources at the time and update the custom resource status field. If applied at the same time with `stopped`, `reconciliationPaused` will take precedence over `stopped` and stop the reconciliation immediately. + */ + @com.fasterxml.jackson.annotation.JsonProperty("reconciliationPaused") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Flag to stop cluster reconciliation by the operator. This means that all changes in the custom resource spec are ignored until this flag is set to false or removed. The operator will however still watch the deployed resources at the time and update the custom resource status field. If applied at the same time with `stopped`, `reconciliationPaused` will take precedence over `stopped` and stop the reconciliation immediately.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean reconciliationPaused = false; + + public Boolean getReconciliationPaused() { + return reconciliationPaused; + } + + public void setReconciliationPaused(Boolean reconciliationPaused) { + this.reconciliationPaused = reconciliationPaused; + } + + /** + * Flag to stop the cluster. This means all deployed resources (e.g. Services, StatefulSets, ConfigMaps) are kept but all deployed Pods (e.g. replicas from a StatefulSet) are scaled to 0 and therefore stopped and removed. If applied at the same time with `reconciliationPaused`, the latter will pause reconciliation and `stopped` will take no effect until `reconciliationPaused` is set to false or removed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("stopped") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Flag to stop the cluster. This means all deployed resources (e.g. Services, StatefulSets, ConfigMaps) are kept but all deployed Pods (e.g. replicas from a StatefulSet) are scaled to 0 and therefore stopped and removed. If applied at the same time with `reconciliationPaused`, the latter will pause reconciliation and `stopped` will take no effect until `reconciliationPaused` is set to false or removed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stopped = false; + + public Boolean getStopped() { + return stopped; + } + + public void setStopped(Boolean stopped) { + this.stopped = stopped; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/Image.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/Image.java new file mode 100644 index 00000000..94e09c11 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/Image.java @@ -0,0 +1,127 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"custom","productVersion","pullPolicy","pullSecrets","repo","stackableVersion"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Image implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Overwrite the docker image. Specify the full docker image name, e.g. `docker.stackable.tech/stackable/superset:1.4.1-stackable2.1.0` + */ + @com.fasterxml.jackson.annotation.JsonProperty("custom") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Overwrite the docker image. Specify the full docker image name, e.g. `docker.stackable.tech/stackable/superset:1.4.1-stackable2.1.0`") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String custom; + + public String getCustom() { + return custom; + } + + public void setCustom(String custom) { + this.custom = custom; + } + + /** + * Version of the product, e.g. `1.4.1`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("productVersion") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Version of the product, e.g. `1.4.1`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String productVersion; + + public String getProductVersion() { + return productVersion; + } + + public void setProductVersion(String productVersion) { + this.productVersion = productVersion; + } + + public enum PullPolicy { + + @com.fasterxml.jackson.annotation.JsonProperty("IfNotPresent") + IFNOTPRESENT("IfNotPresent"), @com.fasterxml.jackson.annotation.JsonProperty("Always") + ALWAYS("Always"), @com.fasterxml.jackson.annotation.JsonProperty("Never") + NEVER("Never"); + + java.lang.String value; + + PullPolicy(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * [Pull policy](https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy) used when pulling the Images + */ + @com.fasterxml.jackson.annotation.JsonProperty("pullPolicy") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("[Pull policy](https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy) used when pulling the Images") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private PullPolicy pullPolicy = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("\"Always\"", PullPolicy.class); + + public PullPolicy getPullPolicy() { + return pullPolicy; + } + + public void setPullPolicy(PullPolicy pullPolicy) { + this.pullPolicy = pullPolicy; + } + + /** + * [Image pull secrets](https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod) to pull images from a private registry + */ + @com.fasterxml.jackson.annotation.JsonProperty("pullSecrets") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("[Image pull secrets](https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod) to pull images from a private registry") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private java.util.List pullSecrets; + + public java.util.List getPullSecrets() { + return pullSecrets; + } + + public void setPullSecrets(java.util.List pullSecrets) { + this.pullSecrets = pullSecrets; + } + + /** + * Name of the docker repo, e.g. `docker.stackable.tech/stackable` + */ + @com.fasterxml.jackson.annotation.JsonProperty("repo") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the docker repo, e.g. `docker.stackable.tech/stackable`") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String repo; + + public String getRepo() { + return repo; + } + + public void setRepo(String repo) { + this.repo = repo; + } + + /** + * Stackable version of the product, e.g. `23.4`, `23.4.1` or `0.0.0-dev`. If not specified, the operator will use its own version, e.g. `23.4.1`. When using a nightly operator or a pr version, it will use the nightly `0.0.0-dev` image. + */ + @com.fasterxml.jackson.annotation.JsonProperty("stackableVersion") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Stackable version of the product, e.g. `23.4`, `23.4.1` or `0.0.0-dev`. If not specified, the operator will use its own version, e.g. `23.4.1`. When using a nightly operator or a pr version, it will use the nightly `0.0.0-dev` image.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String stackableVersion; + + public String getStackableVersion() { + return stackableVersion; + } + + public void setStackableVersion(String stackableVersion) { + this.stackableVersion = stackableVersion; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/Servers.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/Servers.java new file mode 100644 index 00000000..eca01892 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/Servers.java @@ -0,0 +1,102 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cliOverrides","config","configOverrides","envOverrides","podOverrides","roleConfig","roleGroups"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Servers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("cliOverrides") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map cliOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map getCliOverrides() { + return cliOverrides; + } + + public void setCliOverrides(java.util.Map cliOverrides) { + this.cliOverrides = cliOverrides; + } + + @com.fasterxml.jackson.annotation.JsonProperty("config") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.Config config = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", tech.stackable.opa.v1alpha1.opaclusterspec.servers.Config.class); + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.Config getConfig() { + return config; + } + + public void setConfig(tech.stackable.opa.v1alpha1.opaclusterspec.servers.Config config) { + this.config = config; + } + + @com.fasterxml.jackson.annotation.JsonProperty("configOverrides") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map> configOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map> getConfigOverrides() { + return configOverrides; + } + + public void setConfigOverrides(java.util.Map> configOverrides) { + this.configOverrides = configOverrides; + } + + @com.fasterxml.jackson.annotation.JsonProperty("envOverrides") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map envOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map getEnvOverrides() { + return envOverrides; + } + + public void setEnvOverrides(java.util.Map envOverrides) { + this.envOverrides = envOverrides; + } + + /** + * See PodTemplateSpec (https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core) for more details + */ + @com.fasterxml.jackson.annotation.JsonProperty("podOverrides") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("See PodTemplateSpec (https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core) for more details") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.PodOverrides podOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", tech.stackable.opa.v1alpha1.opaclusterspec.servers.PodOverrides.class); + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.PodOverrides getPodOverrides() { + return podOverrides; + } + + public void setPodOverrides(tech.stackable.opa.v1alpha1.opaclusterspec.servers.PodOverrides podOverrides) { + this.podOverrides = podOverrides; + } + + /** + * This is a product-agnostic RoleConfig, with nothing in it. It is used e.g. by products that have nothing configurable at role level. + */ + @com.fasterxml.jackson.annotation.JsonProperty("roleConfig") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("This is a product-agnostic RoleConfig, with nothing in it. It is used e.g. by products that have nothing configurable at role level.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.RoleConfig roleConfig = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", tech.stackable.opa.v1alpha1.opaclusterspec.servers.RoleConfig.class); + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.RoleConfig getRoleConfig() { + return roleConfig; + } + + public void setRoleConfig(tech.stackable.opa.v1alpha1.opaclusterspec.servers.RoleConfig roleConfig) { + this.roleConfig = roleConfig; + } + + @com.fasterxml.jackson.annotation.JsonProperty("roleGroups") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map roleGroups; + + public java.util.Map getRoleGroups() { + return roleGroups; + } + + public void setRoleGroups(java.util.Map roleGroups) { + this.roleGroups = roleGroups; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/image/PullSecrets.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/image/PullSecrets.java new file mode 100644 index 00000000..9de85b46 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/image/PullSecrets.java @@ -0,0 +1,25 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.image; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PullSecrets implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/Config.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/Config.java new file mode 100644 index 00000000..cece3e7f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/Config.java @@ -0,0 +1,54 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gracefulShutdownTimeout","logging","resources"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Config implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details. + */ + @com.fasterxml.jackson.annotation.JsonProperty("gracefulShutdownTimeout") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String gracefulShutdownTimeout; + + public String getGracefulShutdownTimeout() { + return gracefulShutdownTimeout; + } + + public void setGracefulShutdownTimeout(String gracefulShutdownTimeout) { + this.gracefulShutdownTimeout = gracefulShutdownTimeout; + } + + /** + * Logging configuration + */ + @com.fasterxml.jackson.annotation.JsonProperty("logging") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Logging configuration") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.Logging logging = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"enableVectorAgent\":null,\"containers\":{}}", tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.Logging.class); + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.Logging getLogging() { + return logging; + } + + public void setLogging(tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.Logging logging) { + this.logging = logging; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.Resources resources = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"memory\":{\"limit\":null,\"runtimeLimits\":{}},\"cpu\":{\"min\":null,\"max\":null},\"storage\":{}}", tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.Resources.class); + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.Resources resources) { + this.resources = resources; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/PodOverrides.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/PodOverrides.java new file mode 100644 index 00000000..87047416 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/PodOverrides.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"metadata","spec"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodOverrides implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.Metadata metadata; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.Metadata getMetadata() { + return metadata; + } + + public void setMetadata(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.Metadata metadata) { + this.metadata = metadata; + } + + @com.fasterxml.jackson.annotation.JsonProperty("spec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.Spec spec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.Spec getSpec() { + return spec; + } + + public void setSpec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.Spec spec) { + this.spec = spec; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/RoleConfig.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/RoleConfig.java new file mode 100644 index 00000000..5767ab89 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/RoleConfig.java @@ -0,0 +1,9 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RoleConfig implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/RoleGroups.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/RoleGroups.java new file mode 100644 index 00000000..5c2b3eae --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/RoleGroups.java @@ -0,0 +1,104 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cliOverrides","config","configOverrides","envOverrides","podOverrides","replicas","selector"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RoleGroups implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("cliOverrides") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map cliOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map getCliOverrides() { + return cliOverrides; + } + + public void setCliOverrides(java.util.Map cliOverrides) { + this.cliOverrides = cliOverrides; + } + + @com.fasterxml.jackson.annotation.JsonProperty("config") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.Config config = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.Config.class); + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.Config getConfig() { + return config; + } + + public void setConfig(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.Config config) { + this.config = config; + } + + @com.fasterxml.jackson.annotation.JsonProperty("configOverrides") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map> configOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map> getConfigOverrides() { + return configOverrides; + } + + public void setConfigOverrides(java.util.Map> configOverrides) { + this.configOverrides = configOverrides; + } + + @com.fasterxml.jackson.annotation.JsonProperty("envOverrides") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map envOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map getEnvOverrides() { + return envOverrides; + } + + public void setEnvOverrides(java.util.Map envOverrides) { + this.envOverrides = envOverrides; + } + + /** + * See PodTemplateSpec (https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core) for more details + */ + @com.fasterxml.jackson.annotation.JsonProperty("podOverrides") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("See PodTemplateSpec (https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core) for more details") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.PodOverrides podOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.PodOverrides.class); + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.PodOverrides getPodOverrides() { + return podOverrides; + } + + public void setPodOverrides(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.PodOverrides podOverrides) { + this.podOverrides = podOverrides; + } + + @com.fasterxml.jackson.annotation.JsonProperty("replicas") + @io.fabric8.generator.annotation.Min(0.0) + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Long replicas; + + public Long getReplicas() { + return replicas; + } + + public void setReplicas(Long replicas) { + this.replicas = replicas; + } + + /** + * A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. + */ + @com.fasterxml.jackson.annotation.JsonProperty("selector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.Selector selector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.Selector getSelector() { + return selector; + } + + public void setSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.Selector selector) { + this.selector = selector; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/Logging.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/Logging.java new file mode 100644 index 00000000..d5b705d5 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/Logging.java @@ -0,0 +1,42 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.config; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containers","enableVectorAgent"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Logging implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Log configuration per container + */ + @com.fasterxml.jackson.annotation.JsonProperty("containers") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Log configuration per container") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map containers; + + public java.util.Map getContainers() { + return containers; + } + + public void setContainers(java.util.Map containers) { + this.containers = containers; + } + + /** + * Wether or not to deploy a container with the Vector log agent + */ + @com.fasterxml.jackson.annotation.JsonProperty("enableVectorAgent") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Wether or not to deploy a container with the Vector log agent") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Boolean enableVectorAgent; + + public Boolean getEnableVectorAgent() { + return enableVectorAgent; + } + + public void setEnableVectorAgent(Boolean enableVectorAgent) { + this.enableVectorAgent = enableVectorAgent; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/Resources.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/Resources.java new file mode 100644 index 00000000..56215a5c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.config; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cpu","memory","storage"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("cpu") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources.Cpu cpu = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"min\":null,\"max\":null}", tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources.Cpu.class); + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources.Cpu getCpu() { + return cpu; + } + + public void setCpu(tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources.Cpu cpu) { + this.cpu = cpu; + } + + @com.fasterxml.jackson.annotation.JsonProperty("memory") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources.Memory memory; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources.Memory getMemory() { + return memory; + } + + public void setMemory(tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources.Memory memory) { + this.memory = memory; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storage") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources.Storage storage; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources.Storage getStorage() { + return storage; + } + + public void setStorage(tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources.Storage storage) { + this.storage = storage; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/Containers.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/Containers.java new file mode 100644 index 00000000..63854f3c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/Containers.java @@ -0,0 +1,75 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.logging; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"console","custom","file","loggers"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Containers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Configuration for the console appender + */ + @com.fasterxml.jackson.annotation.JsonProperty("console") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Configuration for the console appender") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.logging.containers.Console console; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.logging.containers.Console getConsole() { + return console; + } + + public void setConsole(tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.logging.containers.Console console) { + this.console = console; + } + + /** + * Custom log configuration provided in a ConfigMap + */ + @com.fasterxml.jackson.annotation.JsonProperty("custom") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Custom log configuration provided in a ConfigMap") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.logging.containers.Custom custom; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.logging.containers.Custom getCustom() { + return custom; + } + + public void setCustom(tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.logging.containers.Custom custom) { + this.custom = custom; + } + + /** + * Configuration for the file appender + */ + @com.fasterxml.jackson.annotation.JsonProperty("file") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Configuration for the file appender") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.logging.containers.File file; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.logging.containers.File getFile() { + return file; + } + + public void setFile(tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.logging.containers.File file) { + this.file = file; + } + + /** + * Configuration per logger + */ + @com.fasterxml.jackson.annotation.JsonProperty("loggers") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Configuration per logger") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map loggers = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map getLoggers() { + return loggers; + } + + public void setLoggers(java.util.Map loggers) { + this.loggers = loggers; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/containers/Console.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/containers/Console.java new file mode 100644 index 00000000..961d5b8f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/containers/Console.java @@ -0,0 +1,55 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.logging.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Console implements io.fabric8.kubernetes.api.model.KubernetesResource { + + public enum Level { + + @com.fasterxml.jackson.annotation.JsonProperty("TRACE") + TRACE("TRACE"), + @com.fasterxml.jackson.annotation.JsonProperty("DEBUG") + DEBUG("DEBUG"), + @com.fasterxml.jackson.annotation.JsonProperty("INFO") + INFO("INFO"), + @com.fasterxml.jackson.annotation.JsonProperty("WARN") + WARN("WARN"), + @com.fasterxml.jackson.annotation.JsonProperty("ERROR") + ERROR("ERROR"), + @com.fasterxml.jackson.annotation.JsonProperty("FATAL") + FATAL("FATAL"), + @com.fasterxml.jackson.annotation.JsonProperty("NONE") + NONE("NONE"); + + java.lang.String value; + + Level(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * The log level threshold. Log events with a lower log level are discarded. + */ + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The log level threshold. Log events with a lower log level are discarded.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Level level; + + public Level getLevel() { + return level; + } + + public void setLevel(Level level) { + this.level = level; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/containers/Custom.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/containers/Custom.java new file mode 100644 index 00000000..f9834d85 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/containers/Custom.java @@ -0,0 +1,26 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.logging.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMap"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Custom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * ConfigMap containing the log configuration files + */ + @com.fasterxml.jackson.annotation.JsonProperty("configMap") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("ConfigMap containing the log configuration files") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String configMap; + + public String getConfigMap() { + return configMap; + } + + public void setConfigMap(String configMap) { + this.configMap = configMap; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/containers/File.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/containers/File.java new file mode 100644 index 00000000..d0a305b9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/containers/File.java @@ -0,0 +1,55 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.logging.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class File implements io.fabric8.kubernetes.api.model.KubernetesResource { + + public enum Level { + + @com.fasterxml.jackson.annotation.JsonProperty("TRACE") + TRACE("TRACE"), + @com.fasterxml.jackson.annotation.JsonProperty("DEBUG") + DEBUG("DEBUG"), + @com.fasterxml.jackson.annotation.JsonProperty("INFO") + INFO("INFO"), + @com.fasterxml.jackson.annotation.JsonProperty("WARN") + WARN("WARN"), + @com.fasterxml.jackson.annotation.JsonProperty("ERROR") + ERROR("ERROR"), + @com.fasterxml.jackson.annotation.JsonProperty("FATAL") + FATAL("FATAL"), + @com.fasterxml.jackson.annotation.JsonProperty("NONE") + NONE("NONE"); + + java.lang.String value; + + Level(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * The log level threshold. Log events with a lower log level are discarded. + */ + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The log level threshold. Log events with a lower log level are discarded.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Level level; + + public Level getLevel() { + return level; + } + + public void setLevel(Level level) { + this.level = level; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/containers/Loggers.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/containers/Loggers.java new file mode 100644 index 00000000..7c68d58c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/logging/containers/Loggers.java @@ -0,0 +1,55 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.logging.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Loggers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + public enum Level { + + @com.fasterxml.jackson.annotation.JsonProperty("TRACE") + TRACE("TRACE"), + @com.fasterxml.jackson.annotation.JsonProperty("DEBUG") + DEBUG("DEBUG"), + @com.fasterxml.jackson.annotation.JsonProperty("INFO") + INFO("INFO"), + @com.fasterxml.jackson.annotation.JsonProperty("WARN") + WARN("WARN"), + @com.fasterxml.jackson.annotation.JsonProperty("ERROR") + ERROR("ERROR"), + @com.fasterxml.jackson.annotation.JsonProperty("FATAL") + FATAL("FATAL"), + @com.fasterxml.jackson.annotation.JsonProperty("NONE") + NONE("NONE"); + + java.lang.String value; + + Level(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * The log level threshold. Log events with a lower log level are discarded. + */ + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The log level threshold. Log events with a lower log level are discarded.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Level level; + + public Level getLevel() { + return level; + } + + public void setLevel(Level level) { + this.level = level; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/resources/Cpu.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/resources/Cpu.java new file mode 100644 index 00000000..39b3b9b3 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/resources/Cpu.java @@ -0,0 +1,115 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"max","min"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Cpu implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. + * + * The serialization format is: + * + * ``` ::= + * + * (Note that may be empty, from the "" case in .) + * + * ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= "+" | "-" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei + * + * (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) + * + * ::= m | "" | k | M | G | T | P | E + * + * (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) + * + * ::= "e" | "E" ``` + * + * No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. + * + * When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. + * + * Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: + * + * - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. + * + * The sign will be omitted unless the number is negative. + * + * Examples: + * + * - 1.5 will be serialized as "1500m" - 1.5Gi will be serialized as "1536Mi" + * + * Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. + * + * Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) + * + * This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + */ + @com.fasterxml.jackson.annotation.JsonProperty("max") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String max; + + public String getMax() { + return max; + } + + public void setMax(String max) { + this.max = max; + } + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. + * + * The serialization format is: + * + * ``` ::= + * + * (Note that may be empty, from the "" case in .) + * + * ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= "+" | "-" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei + * + * (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) + * + * ::= m | "" | k | M | G | T | P | E + * + * (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) + * + * ::= "e" | "E" ``` + * + * No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. + * + * When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. + * + * Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: + * + * - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. + * + * The sign will be omitted unless the number is negative. + * + * Examples: + * + * - 1.5 will be serialized as "1500m" - 1.5Gi will be serialized as "1536Mi" + * + * Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. + * + * Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) + * + * This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + */ + @com.fasterxml.jackson.annotation.JsonProperty("min") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String min; + + public String getMin() { + return min; + } + + public void setMin(String min) { + this.min = min; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/resources/Memory.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/resources/Memory.java new file mode 100644 index 00000000..1a190447 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/resources/Memory.java @@ -0,0 +1,74 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"limit","runtimeLimits"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Memory implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. + * + * The serialization format is: + * + * ``` ::= + * + * (Note that may be empty, from the "" case in .) + * + * ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= "+" | "-" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei + * + * (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) + * + * ::= m | "" | k | M | G | T | P | E + * + * (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) + * + * ::= "e" | "E" ``` + * + * No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. + * + * When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. + * + * Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: + * + * - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. + * + * The sign will be omitted unless the number is negative. + * + * Examples: + * + * - 1.5 will be serialized as "1500m" - 1.5Gi will be serialized as "1536Mi" + * + * Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. + * + * Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) + * + * This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + */ + @com.fasterxml.jackson.annotation.JsonProperty("limit") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String limit; + + public String getLimit() { + return limit; + } + + public void setLimit(String limit) { + this.limit = limit; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runtimeLimits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources.memory.RuntimeLimits runtimeLimits; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources.memory.RuntimeLimits getRuntimeLimits() { + return runtimeLimits; + } + + public void setRuntimeLimits(tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources.memory.RuntimeLimits runtimeLimits) { + this.runtimeLimits = runtimeLimits; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/resources/Storage.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/resources/Storage.java new file mode 100644 index 00000000..b3d59736 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/resources/Storage.java @@ -0,0 +1,9 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Storage implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/resources/memory/RuntimeLimits.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/resources/memory/RuntimeLimits.java new file mode 100644 index 00000000..6aae6de6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/config/resources/memory/RuntimeLimits.java @@ -0,0 +1,9 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.config.resources.memory; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RuntimeLimits implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/Metadata.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/Metadata.java new file mode 100644 index 00000000..eeafe664 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/Metadata.java @@ -0,0 +1,189 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"annotations","creationTimestamp","deletionGracePeriodSeconds","deletionTimestamp","finalizers","generateName","generation","labels","managedFields","name","namespace","ownerReferences","resourceVersion","selfLink","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Metadata implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("annotations") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map annotations; + + public java.util.Map getAnnotations() { + return annotations; + } + + public void setAnnotations(java.util.Map annotations) { + this.annotations = annotations; + } + + @com.fasterxml.jackson.annotation.JsonProperty("creationTimestamp") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String creationTimestamp; + + public String getCreationTimestamp() { + return creationTimestamp; + } + + public void setCreationTimestamp(String creationTimestamp) { + this.creationTimestamp = creationTimestamp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("deletionGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long deletionGracePeriodSeconds; + + public Long getDeletionGracePeriodSeconds() { + return deletionGracePeriodSeconds; + } + + public void setDeletionGracePeriodSeconds(Long deletionGracePeriodSeconds) { + this.deletionGracePeriodSeconds = deletionGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("deletionTimestamp") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String deletionTimestamp; + + public String getDeletionTimestamp() { + return deletionTimestamp; + } + + public void setDeletionTimestamp(String deletionTimestamp) { + this.deletionTimestamp = deletionTimestamp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("finalizers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List finalizers; + + public java.util.List getFinalizers() { + return finalizers; + } + + public void setFinalizers(java.util.List finalizers) { + this.finalizers = finalizers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("generateName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String generateName; + + public String getGenerateName() { + return generateName; + } + + public void setGenerateName(String generateName) { + this.generateName = generateName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("generation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long generation; + + public Long getGeneration() { + return generation; + } + + public void setGeneration(Long generation) { + this.generation = generation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("labels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map labels; + + public java.util.Map getLabels() { + return labels; + } + + public void setLabels(java.util.Map labels) { + this.labels = labels; + } + + @com.fasterxml.jackson.annotation.JsonProperty("managedFields") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List managedFields; + + public java.util.List getManagedFields() { + return managedFields; + } + + public void setManagedFields(java.util.List managedFields) { + this.managedFields = managedFields; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ownerReferences") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ownerReferences; + + public java.util.List getOwnerReferences() { + return ownerReferences; + } + + public void setOwnerReferences(java.util.List ownerReferences) { + this.ownerReferences = ownerReferences; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceVersion; + + public String getResourceVersion() { + return resourceVersion; + } + + public void setResourceVersion(String resourceVersion) { + this.resourceVersion = resourceVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("selfLink") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String selfLink; + + public String getSelfLink() { + return selfLink; + } + + public void setSelfLink(String selfLink) { + this.selfLink = selfLink; + } + + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/Spec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/Spec.java new file mode 100644 index 00000000..fdac22fd --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/Spec.java @@ -0,0 +1,477 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"activeDeadlineSeconds","affinity","automountServiceAccountToken","containers","dnsConfig","dnsPolicy","enableServiceLinks","ephemeralContainers","hostAliases","hostIPC","hostNetwork","hostPID","hostUsers","hostname","imagePullSecrets","initContainers","nodeName","nodeSelector","os","overhead","preemptionPolicy","priority","priorityClassName","readinessGates","resourceClaims","restartPolicy","runtimeClassName","schedulerName","schedulingGates","securityContext","serviceAccount","serviceAccountName","setHostnameAsFQDN","shareProcessNamespace","subdomain","terminationGracePeriodSeconds","tolerations","topologySpreadConstraints","volumes"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Spec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("activeDeadlineSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long activeDeadlineSeconds; + + public Long getActiveDeadlineSeconds() { + return activeDeadlineSeconds; + } + + public void setActiveDeadlineSeconds(Long activeDeadlineSeconds) { + this.activeDeadlineSeconds = activeDeadlineSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("affinity") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.Affinity affinity; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.Affinity getAffinity() { + return affinity; + } + + public void setAffinity(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.Affinity affinity) { + this.affinity = affinity; + } + + @com.fasterxml.jackson.annotation.JsonProperty("automountServiceAccountToken") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean automountServiceAccountToken; + + public Boolean getAutomountServiceAccountToken() { + return automountServiceAccountToken; + } + + public void setAutomountServiceAccountToken(Boolean automountServiceAccountToken) { + this.automountServiceAccountToken = automountServiceAccountToken; + } + + @com.fasterxml.jackson.annotation.JsonProperty("containers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List containers; + + public java.util.List getContainers() { + return containers; + } + + public void setContainers(java.util.List containers) { + this.containers = containers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dnsConfig") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.DnsConfig dnsConfig; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.DnsConfig getDnsConfig() { + return dnsConfig; + } + + public void setDnsConfig(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.DnsConfig dnsConfig) { + this.dnsConfig = dnsConfig; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dnsPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String dnsPolicy; + + public String getDnsPolicy() { + return dnsPolicy; + } + + public void setDnsPolicy(String dnsPolicy) { + this.dnsPolicy = dnsPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("enableServiceLinks") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean enableServiceLinks; + + public Boolean getEnableServiceLinks() { + return enableServiceLinks; + } + + public void setEnableServiceLinks(Boolean enableServiceLinks) { + this.enableServiceLinks = enableServiceLinks; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ephemeralContainers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ephemeralContainers; + + public java.util.List getEphemeralContainers() { + return ephemeralContainers; + } + + public void setEphemeralContainers(java.util.List ephemeralContainers) { + this.ephemeralContainers = ephemeralContainers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostAliases") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List hostAliases; + + public java.util.List getHostAliases() { + return hostAliases; + } + + public void setHostAliases(java.util.List hostAliases) { + this.hostAliases = hostAliases; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostIPC") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostIPC; + + public Boolean getHostIPC() { + return hostIPC; + } + + public void setHostIPC(Boolean hostIPC) { + this.hostIPC = hostIPC; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostNetwork") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostNetwork; + + public Boolean getHostNetwork() { + return hostNetwork; + } + + public void setHostNetwork(Boolean hostNetwork) { + this.hostNetwork = hostNetwork; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostPID; + + public Boolean getHostPID() { + return hostPID; + } + + public void setHostPID(Boolean hostPID) { + this.hostPID = hostPID; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostUsers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostUsers; + + public Boolean getHostUsers() { + return hostUsers; + } + + public void setHostUsers(Boolean hostUsers) { + this.hostUsers = hostUsers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostname") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostname; + + public String getHostname() { + return hostname; + } + + public void setHostname(String hostname) { + this.hostname = hostname; + } + + @com.fasterxml.jackson.annotation.JsonProperty("imagePullSecrets") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List imagePullSecrets; + + public java.util.List getImagePullSecrets() { + return imagePullSecrets; + } + + public void setImagePullSecrets(java.util.List imagePullSecrets) { + this.imagePullSecrets = imagePullSecrets; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initContainers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List initContainers; + + public java.util.List getInitContainers() { + return initContainers; + } + + public void setInitContainers(java.util.List initContainers) { + this.initContainers = initContainers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String nodeName; + + public String getNodeName() { + return nodeName; + } + + public void setNodeName(String nodeName) { + this.nodeName = nodeName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map nodeSelector; + + public java.util.Map getNodeSelector() { + return nodeSelector; + } + + public void setNodeSelector(java.util.Map nodeSelector) { + this.nodeSelector = nodeSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("os") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.Os os; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.Os getOs() { + return os; + } + + public void setOs(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.Os os) { + this.os = os; + } + + @com.fasterxml.jackson.annotation.JsonProperty("overhead") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map overhead; + + public java.util.Map getOverhead() { + return overhead; + } + + public void setOverhead(java.util.Map overhead) { + this.overhead = overhead; + } + + @com.fasterxml.jackson.annotation.JsonProperty("preemptionPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String preemptionPolicy; + + public String getPreemptionPolicy() { + return preemptionPolicy; + } + + public void setPreemptionPolicy(String preemptionPolicy) { + this.preemptionPolicy = preemptionPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("priority") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer priority; + + public Integer getPriority() { + return priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } + + @com.fasterxml.jackson.annotation.JsonProperty("priorityClassName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String priorityClassName; + + public String getPriorityClassName() { + return priorityClassName; + } + + public void setPriorityClassName(String priorityClassName) { + this.priorityClassName = priorityClassName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readinessGates") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List readinessGates; + + public java.util.List getReadinessGates() { + return readinessGates; + } + + public void setReadinessGates(java.util.List readinessGates) { + this.readinessGates = readinessGates; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceClaims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List resourceClaims; + + public java.util.List getResourceClaims() { + return resourceClaims; + } + + public void setResourceClaims(java.util.List resourceClaims) { + this.resourceClaims = resourceClaims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runtimeClassName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runtimeClassName; + + public String getRuntimeClassName() { + return runtimeClassName; + } + + public void setRuntimeClassName(String runtimeClassName) { + this.runtimeClassName = runtimeClassName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("schedulerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String schedulerName; + + public String getSchedulerName() { + return schedulerName; + } + + public void setSchedulerName(String schedulerName) { + this.schedulerName = schedulerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("schedulingGates") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List schedulingGates; + + public java.util.List getSchedulingGates() { + return schedulingGates; + } + + public void setSchedulingGates(java.util.List schedulingGates) { + this.schedulingGates = schedulingGates; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityContext") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.SecurityContext securityContext; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.SecurityContext getSecurityContext() { + return securityContext; + } + + public void setSecurityContext(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("serviceAccount") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String serviceAccount; + + public String getServiceAccount() { + return serviceAccount; + } + + public void setServiceAccount(String serviceAccount) { + this.serviceAccount = serviceAccount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("serviceAccountName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String serviceAccountName; + + public String getServiceAccountName() { + return serviceAccountName; + } + + public void setServiceAccountName(String serviceAccountName) { + this.serviceAccountName = serviceAccountName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("setHostnameAsFQDN") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean setHostnameAsFQDN; + + public Boolean getSetHostnameAsFQDN() { + return setHostnameAsFQDN; + } + + public void setSetHostnameAsFQDN(Boolean setHostnameAsFQDN) { + this.setHostnameAsFQDN = setHostnameAsFQDN; + } + + @com.fasterxml.jackson.annotation.JsonProperty("shareProcessNamespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean shareProcessNamespace; + + public Boolean getShareProcessNamespace() { + return shareProcessNamespace; + } + + public void setShareProcessNamespace(Boolean shareProcessNamespace) { + this.shareProcessNamespace = shareProcessNamespace; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subdomain") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subdomain; + + public String getSubdomain() { + return subdomain; + } + + public void setSubdomain(String subdomain) { + this.subdomain = subdomain; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tolerations") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List tolerations; + + public java.util.List getTolerations() { + return tolerations; + } + + public void setTolerations(java.util.List tolerations) { + this.tolerations = tolerations; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologySpreadConstraints") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List topologySpreadConstraints; + + public java.util.List getTopologySpreadConstraints() { + return topologySpreadConstraints; + } + + public void setTopologySpreadConstraints(java.util.List topologySpreadConstraints) { + this.topologySpreadConstraints = topologySpreadConstraints; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumes") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumes; + + public java.util.List getVolumes() { + return volumes; + } + + public void setVolumes(java.util.List volumes) { + this.volumes = volumes; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/metadata/ManagedFields.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/metadata/ManagedFields.java new file mode 100644 index 00000000..b2a75aec --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/metadata/ManagedFields.java @@ -0,0 +1,93 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.metadata; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldsType","fieldsV1","manager","operation","subresource","time"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ManagedFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldsType; + + public String getFieldsType() { + return fieldsType; + } + + public void setFieldsType(String fieldsType) { + this.fieldsType = fieldsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldsV1") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.metadata.managedfields.FieldsV1 fieldsV1; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.metadata.managedfields.FieldsV1 getFieldsV1() { + return fieldsV1; + } + + public void setFieldsV1(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.metadata.managedfields.FieldsV1 fieldsV1) { + this.fieldsV1 = fieldsV1; + } + + @com.fasterxml.jackson.annotation.JsonProperty("manager") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String manager; + + public String getManager() { + return manager; + } + + public void setManager(String manager) { + this.manager = manager; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operation; + + public String getOperation() { + return operation; + } + + public void setOperation(String operation) { + this.operation = operation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subresource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subresource; + + public String getSubresource() { + return subresource; + } + + public void setSubresource(String subresource) { + this.subresource = subresource; + } + + @com.fasterxml.jackson.annotation.JsonProperty("time") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String time; + + public String getTime() { + return time; + } + + public void setTime(String time) { + this.time = time; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/metadata/OwnerReferences.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/metadata/OwnerReferences.java new file mode 100644 index 00000000..81fdb67f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/metadata/OwnerReferences.java @@ -0,0 +1,81 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.metadata; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","blockOwnerDeletion","controller","kind","name","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class OwnerReferences implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("blockOwnerDeletion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean blockOwnerDeletion; + + public Boolean getBlockOwnerDeletion() { + return blockOwnerDeletion; + } + + public void setBlockOwnerDeletion(Boolean blockOwnerDeletion) { + this.blockOwnerDeletion = blockOwnerDeletion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("controller") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean controller; + + public Boolean getController() { + return controller; + } + + public void setController(Boolean controller) { + this.controller = controller; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/metadata/managedfields/FieldsV1.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/metadata/managedfields/FieldsV1.java new file mode 100644 index 00000000..44bab4c7 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/metadata/managedfields/FieldsV1.java @@ -0,0 +1,9 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.metadata.managedfields; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldsV1 implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Affinity.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Affinity.java new file mode 100644 index 00000000..fa23147e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Affinity.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"nodeAffinity","podAffinity","podAntiAffinity"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Affinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("nodeAffinity") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.NodeAffinity nodeAffinity; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.NodeAffinity getNodeAffinity() { + return nodeAffinity; + } + + public void setNodeAffinity(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.NodeAffinity nodeAffinity) { + this.nodeAffinity = nodeAffinity; + } + + @com.fasterxml.jackson.annotation.JsonProperty("podAffinity") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.PodAffinity podAffinity; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.PodAffinity getPodAffinity() { + return podAffinity; + } + + public void setPodAffinity(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.PodAffinity podAffinity) { + this.podAffinity = podAffinity; + } + + @com.fasterxml.jackson.annotation.JsonProperty("podAntiAffinity") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.PodAntiAffinity podAntiAffinity; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.PodAntiAffinity getPodAntiAffinity() { + return podAntiAffinity; + } + + public void setPodAntiAffinity(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.PodAntiAffinity podAntiAffinity) { + this.podAntiAffinity = podAntiAffinity; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Containers.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Containers.java new file mode 100644 index 00000000..0cd80e9d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Containers.java @@ -0,0 +1,297 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"args","command","env","envFrom","image","imagePullPolicy","lifecycle","livenessProbe","name","ports","readinessProbe","resizePolicy","resources","restartPolicy","securityContext","startupProbe","stdin","stdinOnce","terminationMessagePath","terminationMessagePolicy","tty","volumeDevices","volumeMounts","workingDir"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Containers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("args") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List args; + + public java.util.List getArgs() { + return args; + } + + public void setArgs(java.util.List args) { + this.args = args; + } + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } + + @com.fasterxml.jackson.annotation.JsonProperty("env") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List env; + + public java.util.List getEnv() { + return env; + } + + public void setEnv(java.util.List env) { + this.env = env; + } + + @com.fasterxml.jackson.annotation.JsonProperty("envFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List envFrom; + + public java.util.List getEnvFrom() { + return envFrom; + } + + public void setEnvFrom(java.util.List envFrom) { + this.envFrom = envFrom; + } + + @com.fasterxml.jackson.annotation.JsonProperty("image") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String image; + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + @com.fasterxml.jackson.annotation.JsonProperty("imagePullPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String imagePullPolicy; + + public String getImagePullPolicy() { + return imagePullPolicy; + } + + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycle") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.Lifecycle lifecycle; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.Lifecycle getLifecycle() { + return lifecycle; + } + + public void setLifecycle(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.Lifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @com.fasterxml.jackson.annotation.JsonProperty("livenessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.LivenessProbe livenessProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.LivenessProbe getLivenessProbe() { + return livenessProbe; + } + + public void setLivenessProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.LivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ports") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ports; + + public java.util.List getPorts() { + return ports; + } + + public void setPorts(java.util.List ports) { + this.ports = ports; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readinessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.ReadinessProbe readinessProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.ReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + public void setReadinessProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.ReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resizePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List resizePolicy; + + public java.util.List getResizePolicy() { + return resizePolicy; + } + + public void setResizePolicy(java.util.List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.Resources resources; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityContext") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.SecurityContext securityContext; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.SecurityContext getSecurityContext() { + return securityContext; + } + + public void setSecurityContext(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("startupProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.StartupProbe startupProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.StartupProbe getStartupProbe() { + return startupProbe; + } + + public void setStartupProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.StartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdin") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdin; + + public Boolean getStdin() { + return stdin; + } + + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdinOnce") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdinOnce; + + public Boolean getStdinOnce() { + return stdinOnce; + } + + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePath; + + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePolicy; + + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tty") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean tty; + + public Boolean getTty() { + return tty; + } + + public void setTty(Boolean tty) { + this.tty = tty; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeDevices") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeDevices; + + public java.util.List getVolumeDevices() { + return volumeDevices; + } + + public void setVolumeDevices(java.util.List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeMounts") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeMounts; + + public java.util.List getVolumeMounts() { + return volumeMounts; + } + + public void setVolumeMounts(java.util.List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @com.fasterxml.jackson.annotation.JsonProperty("workingDir") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String workingDir; + + public String getWorkingDir() { + return workingDir; + } + + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/DnsConfig.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/DnsConfig.java new file mode 100644 index 00000000..ae38e0f9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/DnsConfig.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"nameservers","options","searches"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DnsConfig implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("nameservers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List nameservers; + + public java.util.List getNameservers() { + return nameservers; + } + + public void setNameservers(java.util.List nameservers) { + this.nameservers = nameservers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("options") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List options; + + public java.util.List getOptions() { + return options; + } + + public void setOptions(java.util.List options) { + this.options = options; + } + + @com.fasterxml.jackson.annotation.JsonProperty("searches") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List searches; + + public java.util.List getSearches() { + return searches; + } + + public void setSearches(java.util.List searches) { + this.searches = searches; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/EphemeralContainers.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/EphemeralContainers.java new file mode 100644 index 00000000..9a453a53 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/EphemeralContainers.java @@ -0,0 +1,309 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"args","command","env","envFrom","image","imagePullPolicy","lifecycle","livenessProbe","name","ports","readinessProbe","resizePolicy","resources","restartPolicy","securityContext","startupProbe","stdin","stdinOnce","targetContainerName","terminationMessagePath","terminationMessagePolicy","tty","volumeDevices","volumeMounts","workingDir"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EphemeralContainers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("args") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List args; + + public java.util.List getArgs() { + return args; + } + + public void setArgs(java.util.List args) { + this.args = args; + } + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } + + @com.fasterxml.jackson.annotation.JsonProperty("env") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List env; + + public java.util.List getEnv() { + return env; + } + + public void setEnv(java.util.List env) { + this.env = env; + } + + @com.fasterxml.jackson.annotation.JsonProperty("envFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List envFrom; + + public java.util.List getEnvFrom() { + return envFrom; + } + + public void setEnvFrom(java.util.List envFrom) { + this.envFrom = envFrom; + } + + @com.fasterxml.jackson.annotation.JsonProperty("image") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String image; + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + @com.fasterxml.jackson.annotation.JsonProperty("imagePullPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String imagePullPolicy; + + public String getImagePullPolicy() { + return imagePullPolicy; + } + + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycle") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.Lifecycle lifecycle; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.Lifecycle getLifecycle() { + return lifecycle; + } + + public void setLifecycle(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.Lifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @com.fasterxml.jackson.annotation.JsonProperty("livenessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.LivenessProbe livenessProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.LivenessProbe getLivenessProbe() { + return livenessProbe; + } + + public void setLivenessProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.LivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ports") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ports; + + public java.util.List getPorts() { + return ports; + } + + public void setPorts(java.util.List ports) { + this.ports = ports; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readinessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.ReadinessProbe readinessProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.ReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + public void setReadinessProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.ReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resizePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List resizePolicy; + + public java.util.List getResizePolicy() { + return resizePolicy; + } + + public void setResizePolicy(java.util.List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.Resources resources; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityContext") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.SecurityContext securityContext; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.SecurityContext getSecurityContext() { + return securityContext; + } + + public void setSecurityContext(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("startupProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.StartupProbe startupProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.StartupProbe getStartupProbe() { + return startupProbe; + } + + public void setStartupProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.StartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdin") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdin; + + public Boolean getStdin() { + return stdin; + } + + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdinOnce") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdinOnce; + + public Boolean getStdinOnce() { + return stdinOnce; + } + + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @com.fasterxml.jackson.annotation.JsonProperty("targetContainerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String targetContainerName; + + public String getTargetContainerName() { + return targetContainerName; + } + + public void setTargetContainerName(String targetContainerName) { + this.targetContainerName = targetContainerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePath; + + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePolicy; + + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tty") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean tty; + + public Boolean getTty() { + return tty; + } + + public void setTty(Boolean tty) { + this.tty = tty; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeDevices") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeDevices; + + public java.util.List getVolumeDevices() { + return volumeDevices; + } + + public void setVolumeDevices(java.util.List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeMounts") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeMounts; + + public java.util.List getVolumeMounts() { + return volumeMounts; + } + + public void setVolumeMounts(java.util.List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @com.fasterxml.jackson.annotation.JsonProperty("workingDir") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String workingDir; + + public String getWorkingDir() { + return workingDir; + } + + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/HostAliases.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/HostAliases.java new file mode 100644 index 00000000..0ea3ff63 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/HostAliases.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"hostnames","ip"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HostAliases implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("hostnames") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List hostnames; + + public java.util.List getHostnames() { + return hostnames; + } + + public void setHostnames(java.util.List hostnames) { + this.hostnames = hostnames; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ip") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String ip; + + public String getIp() { + return ip; + } + + public void setIp(String ip) { + this.ip = ip; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ImagePullSecrets.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ImagePullSecrets.java new file mode 100644 index 00000000..ec646e8c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ImagePullSecrets.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ImagePullSecrets implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/InitContainers.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/InitContainers.java new file mode 100644 index 00000000..1d720032 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/InitContainers.java @@ -0,0 +1,297 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"args","command","env","envFrom","image","imagePullPolicy","lifecycle","livenessProbe","name","ports","readinessProbe","resizePolicy","resources","restartPolicy","securityContext","startupProbe","stdin","stdinOnce","terminationMessagePath","terminationMessagePolicy","tty","volumeDevices","volumeMounts","workingDir"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class InitContainers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("args") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List args; + + public java.util.List getArgs() { + return args; + } + + public void setArgs(java.util.List args) { + this.args = args; + } + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } + + @com.fasterxml.jackson.annotation.JsonProperty("env") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List env; + + public java.util.List getEnv() { + return env; + } + + public void setEnv(java.util.List env) { + this.env = env; + } + + @com.fasterxml.jackson.annotation.JsonProperty("envFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List envFrom; + + public java.util.List getEnvFrom() { + return envFrom; + } + + public void setEnvFrom(java.util.List envFrom) { + this.envFrom = envFrom; + } + + @com.fasterxml.jackson.annotation.JsonProperty("image") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String image; + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + @com.fasterxml.jackson.annotation.JsonProperty("imagePullPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String imagePullPolicy; + + public String getImagePullPolicy() { + return imagePullPolicy; + } + + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycle") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.Lifecycle lifecycle; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.Lifecycle getLifecycle() { + return lifecycle; + } + + public void setLifecycle(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.Lifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @com.fasterxml.jackson.annotation.JsonProperty("livenessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.LivenessProbe livenessProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.LivenessProbe getLivenessProbe() { + return livenessProbe; + } + + public void setLivenessProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.LivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ports") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ports; + + public java.util.List getPorts() { + return ports; + } + + public void setPorts(java.util.List ports) { + this.ports = ports; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readinessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.ReadinessProbe readinessProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.ReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + public void setReadinessProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.ReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resizePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List resizePolicy; + + public java.util.List getResizePolicy() { + return resizePolicy; + } + + public void setResizePolicy(java.util.List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.Resources resources; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityContext") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.SecurityContext securityContext; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.SecurityContext getSecurityContext() { + return securityContext; + } + + public void setSecurityContext(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("startupProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.StartupProbe startupProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.StartupProbe getStartupProbe() { + return startupProbe; + } + + public void setStartupProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.StartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdin") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdin; + + public Boolean getStdin() { + return stdin; + } + + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdinOnce") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdinOnce; + + public Boolean getStdinOnce() { + return stdinOnce; + } + + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePath; + + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePolicy; + + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tty") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean tty; + + public Boolean getTty() { + return tty; + } + + public void setTty(Boolean tty) { + this.tty = tty; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeDevices") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeDevices; + + public java.util.List getVolumeDevices() { + return volumeDevices; + } + + public void setVolumeDevices(java.util.List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeMounts") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeMounts; + + public java.util.List getVolumeMounts() { + return volumeMounts; + } + + public void setVolumeMounts(java.util.List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @com.fasterxml.jackson.annotation.JsonProperty("workingDir") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String workingDir; + + public String getWorkingDir() { + return workingDir; + } + + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Os.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Os.java new file mode 100644 index 00000000..54d80451 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Os.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Os implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ReadinessGates.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ReadinessGates.java new file mode 100644 index 00000000..1d06936b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ReadinessGates.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"conditionType"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ReadinessGates implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("conditionType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String conditionType; + + public String getConditionType() { + return conditionType; + } + + public void setConditionType(String conditionType) { + this.conditionType = conditionType; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ResourceClaims.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ResourceClaims.java new file mode 100644 index 00000000..3b0fa834 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ResourceClaims.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","source"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceClaims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("source") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.resourceclaims.Source source; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.resourceclaims.Source getSource() { + return source; + } + + public void setSource(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.resourceclaims.Source source) { + this.source = source; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/SchedulingGates.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/SchedulingGates.java new file mode 100644 index 00000000..c931294b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/SchedulingGates.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SchedulingGates implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/SecurityContext.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/SecurityContext.java new file mode 100644 index 00000000..0436c1f1 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/SecurityContext.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsGroup","fsGroupChangePolicy","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","supplementalGroups","sysctls","windowsOptions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecurityContext implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long fsGroup; + + public Long getFsGroup() { + return fsGroup; + } + + public void setFsGroup(Long fsGroup) { + this.fsGroup = fsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsGroupChangePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsGroupChangePolicy; + + public String getFsGroupChangePolicy() { + return fsGroupChangePolicy; + } + + public void setFsGroupChangePolicy(String fsGroupChangePolicy) { + this.fsGroupChangePolicy = fsGroupChangePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsGroup; + + public Long getRunAsGroup() { + return runAsGroup; + } + + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsNonRoot") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean runAsNonRoot; + + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUser") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsUser; + + public Long getRunAsUser() { + return runAsUser; + } + + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.securitycontext.SeLinuxOptions seLinuxOptions; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.securitycontext.SeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + public void setSeLinuxOptions(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.securitycontext.SeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.securitycontext.SeccompProfile seccompProfile; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.securitycontext.SeccompProfile getSeccompProfile() { + return seccompProfile; + } + + public void setSeccompProfile(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.securitycontext.SeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("supplementalGroups") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List supplementalGroups; + + public java.util.List getSupplementalGroups() { + return supplementalGroups; + } + + public void setSupplementalGroups(java.util.List supplementalGroups) { + this.supplementalGroups = supplementalGroups; + } + + @com.fasterxml.jackson.annotation.JsonProperty("sysctls") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List sysctls; + + public java.util.List getSysctls() { + return sysctls; + } + + public void setSysctls(java.util.List sysctls) { + this.sysctls = sysctls; + } + + @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.securitycontext.WindowsOptions windowsOptions; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.securitycontext.WindowsOptions getWindowsOptions() { + return windowsOptions; + } + + public void setWindowsOptions(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.securitycontext.WindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Tolerations.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Tolerations.java new file mode 100644 index 00000000..50b64745 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Tolerations.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"effect","key","operator","tolerationSeconds","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Tolerations implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("effect") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String effect; + + public String getEffect() { + return effect; + } + + public void setEffect(String effect) { + this.effect = effect; + } + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tolerationSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long tolerationSeconds; + + public Long getTolerationSeconds() { + return tolerationSeconds; + } + + public void setTolerationSeconds(Long tolerationSeconds) { + this.tolerationSeconds = tolerationSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/TopologySpreadConstraints.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/TopologySpreadConstraints.java new file mode 100644 index 00000000..718e1893 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/TopologySpreadConstraints.java @@ -0,0 +1,105 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","matchLabelKeys","maxSkew","minDomains","nodeAffinityPolicy","nodeTaintsPolicy","topologyKey","whenUnsatisfiable"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TopologySpreadConstraints implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.topologyspreadconstraints.LabelSelector labelSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.topologyspreadconstraints.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.topologyspreadconstraints.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabelKeys") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchLabelKeys; + + public java.util.List getMatchLabelKeys() { + return matchLabelKeys; + } + + public void setMatchLabelKeys(java.util.List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @com.fasterxml.jackson.annotation.JsonProperty("maxSkew") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer maxSkew; + + public Integer getMaxSkew() { + return maxSkew; + } + + public void setMaxSkew(Integer maxSkew) { + this.maxSkew = maxSkew; + } + + @com.fasterxml.jackson.annotation.JsonProperty("minDomains") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer minDomains; + + public Integer getMinDomains() { + return minDomains; + } + + public void setMinDomains(Integer minDomains) { + this.minDomains = minDomains; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeAffinityPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String nodeAffinityPolicy; + + public String getNodeAffinityPolicy() { + return nodeAffinityPolicy; + } + + public void setNodeAffinityPolicy(String nodeAffinityPolicy) { + this.nodeAffinityPolicy = nodeAffinityPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeTaintsPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String nodeTaintsPolicy; + + public String getNodeTaintsPolicy() { + return nodeTaintsPolicy; + } + + public void setNodeTaintsPolicy(String nodeTaintsPolicy) { + this.nodeTaintsPolicy = nodeTaintsPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @com.fasterxml.jackson.annotation.JsonProperty("whenUnsatisfiable") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String whenUnsatisfiable; + + public String getWhenUnsatisfiable() { + return whenUnsatisfiable; + } + + public void setWhenUnsatisfiable(String whenUnsatisfiable) { + this.whenUnsatisfiable = whenUnsatisfiable; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Volumes.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Volumes.java new file mode 100644 index 00000000..2d82ec2a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/Volumes.java @@ -0,0 +1,369 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"awsElasticBlockStore","azureDisk","azureFile","cephfs","cinder","configMap","csi","downwardAPI","emptyDir","ephemeral","fc","flexVolume","flocker","gcePersistentDisk","gitRepo","glusterfs","hostPath","iscsi","name","nfs","persistentVolumeClaim","photonPersistentDisk","portworxVolume","projected","quobyte","rbd","scaleIO","secret","storageos","vsphereVolume"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Volumes implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("awsElasticBlockStore") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.AwsElasticBlockStore awsElasticBlockStore; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.AwsElasticBlockStore getAwsElasticBlockStore() { + return awsElasticBlockStore; + } + + public void setAwsElasticBlockStore(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.AwsElasticBlockStore awsElasticBlockStore) { + this.awsElasticBlockStore = awsElasticBlockStore; + } + + @com.fasterxml.jackson.annotation.JsonProperty("azureDisk") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.AzureDisk azureDisk; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.AzureDisk getAzureDisk() { + return azureDisk; + } + + public void setAzureDisk(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.AzureDisk azureDisk) { + this.azureDisk = azureDisk; + } + + @com.fasterxml.jackson.annotation.JsonProperty("azureFile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.AzureFile azureFile; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.AzureFile getAzureFile() { + return azureFile; + } + + public void setAzureFile(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.AzureFile azureFile) { + this.azureFile = azureFile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("cephfs") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Cephfs cephfs; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Cephfs getCephfs() { + return cephfs; + } + + public void setCephfs(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Cephfs cephfs) { + this.cephfs = cephfs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("cinder") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Cinder cinder; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Cinder getCinder() { + return cinder; + } + + public void setCinder(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Cinder cinder) { + this.cinder = cinder; + } + + @com.fasterxml.jackson.annotation.JsonProperty("configMap") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ConfigMap configMap; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ConfigMap getConfigMap() { + return configMap; + } + + public void setConfigMap(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ConfigMap configMap) { + this.configMap = configMap; + } + + @com.fasterxml.jackson.annotation.JsonProperty("csi") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Csi csi; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Csi getCsi() { + return csi; + } + + public void setCsi(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Csi csi) { + this.csi = csi; + } + + @com.fasterxml.jackson.annotation.JsonProperty("downwardAPI") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.DownwardAPI downwardAPI; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.DownwardAPI getDownwardAPI() { + return downwardAPI; + } + + public void setDownwardAPI(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.DownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @com.fasterxml.jackson.annotation.JsonProperty("emptyDir") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.EmptyDir emptyDir; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.EmptyDir getEmptyDir() { + return emptyDir; + } + + public void setEmptyDir(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.EmptyDir emptyDir) { + this.emptyDir = emptyDir; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ephemeral") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Ephemeral ephemeral; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Ephemeral getEphemeral() { + return ephemeral; + } + + public void setEphemeral(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Ephemeral ephemeral) { + this.ephemeral = ephemeral; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Fc fc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Fc getFc() { + return fc; + } + + public void setFc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Fc fc) { + this.fc = fc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("flexVolume") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.FlexVolume flexVolume; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.FlexVolume getFlexVolume() { + return flexVolume; + } + + public void setFlexVolume(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.FlexVolume flexVolume) { + this.flexVolume = flexVolume; + } + + @com.fasterxml.jackson.annotation.JsonProperty("flocker") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Flocker flocker; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Flocker getFlocker() { + return flocker; + } + + public void setFlocker(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Flocker flocker) { + this.flocker = flocker; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gcePersistentDisk") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.GcePersistentDisk gcePersistentDisk; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.GcePersistentDisk getGcePersistentDisk() { + return gcePersistentDisk; + } + + public void setGcePersistentDisk(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.GcePersistentDisk gcePersistentDisk) { + this.gcePersistentDisk = gcePersistentDisk; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gitRepo") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.GitRepo gitRepo; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.GitRepo getGitRepo() { + return gitRepo; + } + + public void setGitRepo(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.GitRepo gitRepo) { + this.gitRepo = gitRepo; + } + + @com.fasterxml.jackson.annotation.JsonProperty("glusterfs") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Glusterfs glusterfs; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Glusterfs getGlusterfs() { + return glusterfs; + } + + public void setGlusterfs(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Glusterfs glusterfs) { + this.glusterfs = glusterfs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.HostPath hostPath; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.HostPath getHostPath() { + return hostPath; + } + + public void setHostPath(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.HostPath hostPath) { + this.hostPath = hostPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("iscsi") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Iscsi iscsi; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Iscsi getIscsi() { + return iscsi; + } + + public void setIscsi(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Iscsi iscsi) { + this.iscsi = iscsi; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nfs") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Nfs nfs; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Nfs getNfs() { + return nfs; + } + + public void setNfs(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Nfs nfs) { + this.nfs = nfs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("persistentVolumeClaim") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.PersistentVolumeClaim persistentVolumeClaim; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.PersistentVolumeClaim getPersistentVolumeClaim() { + return persistentVolumeClaim; + } + + public void setPersistentVolumeClaim(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.PersistentVolumeClaim persistentVolumeClaim) { + this.persistentVolumeClaim = persistentVolumeClaim; + } + + @com.fasterxml.jackson.annotation.JsonProperty("photonPersistentDisk") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.PhotonPersistentDisk photonPersistentDisk; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.PhotonPersistentDisk getPhotonPersistentDisk() { + return photonPersistentDisk; + } + + public void setPhotonPersistentDisk(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.PhotonPersistentDisk photonPersistentDisk) { + this.photonPersistentDisk = photonPersistentDisk; + } + + @com.fasterxml.jackson.annotation.JsonProperty("portworxVolume") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.PortworxVolume portworxVolume; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.PortworxVolume getPortworxVolume() { + return portworxVolume; + } + + public void setPortworxVolume(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.PortworxVolume portworxVolume) { + this.portworxVolume = portworxVolume; + } + + @com.fasterxml.jackson.annotation.JsonProperty("projected") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Projected projected; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Projected getProjected() { + return projected; + } + + public void setProjected(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Projected projected) { + this.projected = projected; + } + + @com.fasterxml.jackson.annotation.JsonProperty("quobyte") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Quobyte quobyte; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Quobyte getQuobyte() { + return quobyte; + } + + public void setQuobyte(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Quobyte quobyte) { + this.quobyte = quobyte; + } + + @com.fasterxml.jackson.annotation.JsonProperty("rbd") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Rbd rbd; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Rbd getRbd() { + return rbd; + } + + public void setRbd(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Rbd rbd) { + this.rbd = rbd; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleIO") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ScaleIO scaleIO; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ScaleIO getScaleIO() { + return scaleIO; + } + + public void setScaleIO(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ScaleIO scaleIO) { + this.scaleIO = scaleIO; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secret") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Secret secret; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Secret getSecret() { + return secret; + } + + public void setSecret(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Secret secret) { + this.secret = secret; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storageos") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Storageos storageos; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Storageos getStorageos() { + return storageos; + } + + public void setStorageos(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.Storageos storageos) { + this.storageos = storageos; + } + + @com.fasterxml.jackson.annotation.JsonProperty("vsphereVolume") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.VsphereVolume vsphereVolume; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.VsphereVolume getVsphereVolume() { + return vsphereVolume; + } + + public void setVsphereVolume(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.VsphereVolume vsphereVolume) { + this.vsphereVolume = vsphereVolume; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/NodeAffinity.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/NodeAffinity.java new file mode 100644 index 00000000..fd95abfe --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/NodeAffinity.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodeAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/PodAffinity.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/PodAffinity.java new file mode 100644 index 00000000..aa0bb77b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/PodAffinity.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List requiredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(java.util.List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/PodAntiAffinity.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/PodAntiAffinity.java new file mode 100644 index 00000000..d8bbfc87 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/PodAntiAffinity.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAntiAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List requiredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(java.util.List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..c71ac4bb --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.nodeaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preference","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("preference") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference preference; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference getPreference() { + return preference; + } + + public void setPreference(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference preference) { + this.preference = preference; + } + + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..2539cc37 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.nodeaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"nodeSelectorTerms"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("nodeSelectorTerms") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List nodeSelectorTerms; + + public java.util.List getNodeSelectorTerms() { + return nodeSelectorTerms; + } + + public void setNodeSelectorTerms(java.util.List nodeSelectorTerms) { + this.nodeSelectorTerms = nodeSelectorTerms; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java new file mode 100644 index 00000000..f18fa9c0 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchFields"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Preference implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchFields") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchFields; + + public java.util.List getMatchFields() { + return matchFields; + } + + public void setMatchFields(java.util.List matchFields) { + this.matchFields = matchFields; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java new file mode 100644 index 00000000..dba0dbb1 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.preference; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java new file mode 100644 index 00000000..b44b432e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.preference; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java new file mode 100644 index 00000000..069e6195 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchFields"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodeSelectorTerms implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchFields") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchFields; + + public java.util.List getMatchFields() { + return matchFields; + } + + public void setMatchFields(java.util.List matchFields) { + this.matchFields = matchFields; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java new file mode 100644 index 00000000..d5660970 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution.nodeselectorterms; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java new file mode 100644 index 00000000..e937119f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution.nodeselectorterms; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..5fea6f65 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"podAffinityTerm","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("podAffinityTerm") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + public void setPodAffinityTerm(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..cc7c091b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java new file mode 100644 index 00000000..f672b41d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinityTerm implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java new file mode 100644 index 00000000..fd78e396 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java new file mode 100644 index 00000000..33826932 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java new file mode 100644 index 00000000..49e2bd99 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..664eae5e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java new file mode 100644 index 00000000..2371db19 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java new file mode 100644 index 00000000..6857ff98 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java new file mode 100644 index 00000000..54b98948 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..8b9c1818 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..f5ad9225 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"podAffinityTerm","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("podAffinityTerm") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + public void setPodAffinityTerm(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..f8ca0d9b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java new file mode 100644 index 00000000..ebad14f2 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinityTerm implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java new file mode 100644 index 00000000..d428013a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java new file mode 100644 index 00000000..56b6b59b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java new file mode 100644 index 00000000..858ad671 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..7ae9f7d1 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java new file mode 100644 index 00000000..f52cc6e7 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java new file mode 100644 index 00000000..752ebc1d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java new file mode 100644 index 00000000..2f817c53 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..284a13d6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/Env.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/Env.java new file mode 100644 index 00000000..1074561c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/Env.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value","valueFrom"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Env implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonProperty("valueFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.ValueFrom valueFrom; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.ValueFrom getValueFrom() { + return valueFrom; + } + + public void setValueFrom(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.ValueFrom valueFrom) { + this.valueFrom = valueFrom; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/EnvFrom.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/EnvFrom.java new file mode 100644 index 00000000..58635c49 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/EnvFrom.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapRef","prefix","secretRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EnvFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.envfrom.ConfigMapRef configMapRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.envfrom.ConfigMapRef getConfigMapRef() { + return configMapRef; + } + + public void setConfigMapRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.envfrom.ConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("prefix") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String prefix; + + public String getPrefix() { + return prefix; + } + + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.envfrom.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.envfrom.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.envfrom.SecretRef secretRef) { + this.secretRef = secretRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/Lifecycle.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/Lifecycle.java new file mode 100644 index 00000000..5bf93b5a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/Lifecycle.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"postStart","preStop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Lifecycle implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("postStart") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.PostStart postStart; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.PostStart getPostStart() { + return postStart; + } + + public void setPostStart(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.PostStart postStart) { + this.postStart = postStart; + } + + @com.fasterxml.jackson.annotation.JsonProperty("preStop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.PreStop preStop; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.PreStop getPreStop() { + return preStop; + } + + public void setPreStop(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.PreStop preStop) { + this.preStop = preStop; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/LivenessProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/LivenessProbe.java new file mode 100644 index 00000000..176335d2 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/LivenessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LivenessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/Ports.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/Ports.java new file mode 100644 index 00000000..4e60b7b1 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/Ports.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerPort","hostIP","hostPort","name","protocol"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ports implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer containerPort; + + public Integer getContainerPort() { + return containerPort; + } + + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostIP") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostIP; + + public String getHostIP() { + return hostIP; + } + + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer hostPort; + + public Integer getHostPort() { + return hostPort; + } + + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protocol; + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/ReadinessProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/ReadinessProbe.java new file mode 100644 index 00000000..f34b6085 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/ReadinessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ReadinessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/ResizePolicy.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/ResizePolicy.java new file mode 100644 index 00000000..80d4acf6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/ResizePolicy.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"resourceName","restartPolicy"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResizePolicy implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceName; + + public String getResourceName() { + return resourceName; + } + + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/Resources.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/Resources.java new file mode 100644 index 00000000..54320ec6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List claims; + + public java.util.List getClaims() { + return claims; + } + + public void setClaims(java.util.List claims) { + this.claims = claims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("limits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map limits; + + public java.util.Map getLimits() { + return limits; + } + + public void setLimits(java.util.Map limits) { + this.limits = limits; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requests") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map requests; + + public java.util.Map getRequests() { + return requests; + } + + public void setRequests(java.util.Map requests) { + this.requests = requests; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/SecurityContext.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/SecurityContext.java new file mode 100644 index 00000000..847d2ce4 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/SecurityContext.java @@ -0,0 +1,141 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"allowPrivilegeEscalation","capabilities","privileged","procMount","readOnlyRootFilesystem","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","windowsOptions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecurityContext implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("allowPrivilegeEscalation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean allowPrivilegeEscalation; + + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("capabilities") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.securitycontext.Capabilities capabilities; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.securitycontext.Capabilities getCapabilities() { + return capabilities; + } + + public void setCapabilities(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.securitycontext.Capabilities capabilities) { + this.capabilities = capabilities; + } + + @com.fasterxml.jackson.annotation.JsonProperty("privileged") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean privileged; + + public Boolean getPrivileged() { + return privileged; + } + + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @com.fasterxml.jackson.annotation.JsonProperty("procMount") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String procMount; + + public String getProcMount() { + return procMount; + } + + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnlyRootFilesystem") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnlyRootFilesystem; + + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsGroup; + + public Long getRunAsGroup() { + return runAsGroup; + } + + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsNonRoot") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean runAsNonRoot; + + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUser") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsUser; + + public Long getRunAsUser() { + return runAsUser; + } + + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.securitycontext.SeLinuxOptions seLinuxOptions; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.securitycontext.SeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + public void setSeLinuxOptions(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.securitycontext.SeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.securitycontext.SeccompProfile seccompProfile; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.securitycontext.SeccompProfile getSeccompProfile() { + return seccompProfile; + } + + public void setSeccompProfile(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.securitycontext.SeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.securitycontext.WindowsOptions windowsOptions; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.securitycontext.WindowsOptions getWindowsOptions() { + return windowsOptions; + } + + public void setWindowsOptions(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.securitycontext.WindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/StartupProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/StartupProbe.java new file mode 100644 index 00000000..50bfab5c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/StartupProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class StartupProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/VolumeDevices.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/VolumeDevices.java new file mode 100644 index 00000000..c340cdb6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/VolumeDevices.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"devicePath","name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeDevices implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("devicePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String devicePath; + + public String getDevicePath() { + return devicePath; + } + + public void setDevicePath(String devicePath) { + this.devicePath = devicePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/VolumeMounts.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/VolumeMounts.java new file mode 100644 index 00000000..ef06fa7b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/VolumeMounts.java @@ -0,0 +1,81 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"mountPath","mountPropagation","name","readOnly","subPath","subPathExpr"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeMounts implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("mountPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPath; + + public String getMountPath() { + return mountPath; + } + + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mountPropagation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPropagation; + + public String getMountPropagation() { + return mountPropagation; + } + + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPath; + + public String getSubPath() { + return subPath; + } + + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPathExpr") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPathExpr; + + public String getSubPathExpr() { + return subPathExpr; + } + + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/ValueFrom.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/ValueFrom.java new file mode 100644 index 00000000..926f9a76 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/ValueFrom.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapKeyRef","fieldRef","resourceFieldRef","secretKeyRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ValueFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.valuefrom.ConfigMapKeyRef configMapKeyRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.valuefrom.ConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + public void setConfigMapKeyRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.valuefrom.ConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.valuefrom.FieldRef fieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.valuefrom.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.valuefrom.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.valuefrom.ResourceFieldRef resourceFieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.valuefrom.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.valuefrom.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.valuefrom.SecretKeyRef secretKeyRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.valuefrom.SecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + public void setSecretKeyRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.valuefrom.SecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/valuefrom/ConfigMapKeyRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/valuefrom/ConfigMapKeyRef.java new file mode 100644 index 00000000..5730d2ac --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/valuefrom/ConfigMapKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/valuefrom/FieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/valuefrom/FieldRef.java new file mode 100644 index 00000000..1da6e5e2 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/valuefrom/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/valuefrom/ResourceFieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/valuefrom/ResourceFieldRef.java new file mode 100644 index 00000000..96daa9e2 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/valuefrom/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/valuefrom/SecretKeyRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/valuefrom/SecretKeyRef.java new file mode 100644 index 00000000..66406ee4 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/env/valuefrom/SecretKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/envfrom/ConfigMapRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/envfrom/ConfigMapRef.java new file mode 100644 index 00000000..c5d2907d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/envfrom/ConfigMapRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/envfrom/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/envfrom/SecretRef.java new file mode 100644 index 00000000..5bd829be --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/envfrom/SecretRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/PostStart.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/PostStart.java new file mode 100644 index 00000000..df35fb52 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/PostStart.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PostStart implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/PreStop.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/PreStop.java new file mode 100644 index 00000000..a33c2b6b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/PreStop.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreStop implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/Exec.java new file mode 100644 index 00000000..f22633b9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/HttpGet.java new file mode 100644 index 00000000..f333df7a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/TcpSocket.java new file mode 100644 index 00000000..69463dae --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/httpget/HttpHeaders.java new file mode 100644 index 00000000..74253b18 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/Exec.java new file mode 100644 index 00000000..a8315919 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/HttpGet.java new file mode 100644 index 00000000..98aa8285 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/TcpSocket.java new file mode 100644 index 00000000..5f7de5c8 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/httpget/HttpHeaders.java new file mode 100644 index 00000000..00530410 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/Exec.java new file mode 100644 index 00000000..a9ebc27f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/Grpc.java new file mode 100644 index 00000000..2122f350 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/HttpGet.java new file mode 100644 index 00000000..d3162d54 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/TcpSocket.java new file mode 100644 index 00000000..6343b036 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..b1444820 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/livenessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.livenessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/Exec.java new file mode 100644 index 00000000..87d2a435 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/Grpc.java new file mode 100644 index 00000000..47ee49f7 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/HttpGet.java new file mode 100644 index 00000000..2a7c6547 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/TcpSocket.java new file mode 100644 index 00000000..5963aa53 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..07c1720d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/readinessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.readinessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/resources/Claims.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/resources/Claims.java new file mode 100644 index 00000000..fc401601 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/resources/Claims.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Claims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/securitycontext/Capabilities.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/securitycontext/Capabilities.java new file mode 100644 index 00000000..641a8e62 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/securitycontext/Capabilities.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"add","drop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Capabilities implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("add") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List add; + + public java.util.List getAdd() { + return add; + } + + public void setAdd(java.util.List add) { + this.add = add; + } + + @com.fasterxml.jackson.annotation.JsonProperty("drop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List drop; + + public java.util.List getDrop() { + return drop; + } + + public void setDrop(java.util.List drop) { + this.drop = drop; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/securitycontext/SeLinuxOptions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/securitycontext/SeLinuxOptions.java new file mode 100644 index 00000000..39a88269 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/securitycontext/SeLinuxOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeLinuxOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String level; + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + @com.fasterxml.jackson.annotation.JsonProperty("role") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String role; + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/securitycontext/SeccompProfile.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/securitycontext/SeccompProfile.java new file mode 100644 index 00000000..c9b18ced --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/securitycontext/SeccompProfile.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeccompProfile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("localhostProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String localhostProfile; + + public String getLocalhostProfile() { + return localhostProfile; + } + + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/securitycontext/WindowsOptions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/securitycontext/WindowsOptions.java new file mode 100644 index 00000000..0e76d0e7 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/securitycontext/WindowsOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WindowsOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpec; + + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpecName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpecName; + + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostProcess") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostProcess; + + public Boolean getHostProcess() { + return hostProcess; + } + + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUserName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runAsUserName; + + public String getRunAsUserName() { + return runAsUserName; + } + + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/Exec.java new file mode 100644 index 00000000..5d597b8e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/Grpc.java new file mode 100644 index 00000000..92451391 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/HttpGet.java new file mode 100644 index 00000000..458e1bd6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/TcpSocket.java new file mode 100644 index 00000000..1e59bc0d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..928ab9b6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/containers/startupprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.containers.startupprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/dnsconfig/Options.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/dnsconfig/Options.java new file mode 100644 index 00000000..9bdcd710 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/dnsconfig/Options.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.dnsconfig; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Options implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/Env.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/Env.java new file mode 100644 index 00000000..550d5c6d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/Env.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value","valueFrom"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Env implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonProperty("valueFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.ValueFrom valueFrom; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.ValueFrom getValueFrom() { + return valueFrom; + } + + public void setValueFrom(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.ValueFrom valueFrom) { + this.valueFrom = valueFrom; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/EnvFrom.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/EnvFrom.java new file mode 100644 index 00000000..6af473e3 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/EnvFrom.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapRef","prefix","secretRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EnvFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.envfrom.ConfigMapRef configMapRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.envfrom.ConfigMapRef getConfigMapRef() { + return configMapRef; + } + + public void setConfigMapRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.envfrom.ConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("prefix") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String prefix; + + public String getPrefix() { + return prefix; + } + + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.envfrom.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.envfrom.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.envfrom.SecretRef secretRef) { + this.secretRef = secretRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/Lifecycle.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/Lifecycle.java new file mode 100644 index 00000000..4705f44f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/Lifecycle.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"postStart","preStop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Lifecycle implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("postStart") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.PostStart postStart; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.PostStart getPostStart() { + return postStart; + } + + public void setPostStart(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.PostStart postStart) { + this.postStart = postStart; + } + + @com.fasterxml.jackson.annotation.JsonProperty("preStop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.PreStop preStop; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.PreStop getPreStop() { + return preStop; + } + + public void setPreStop(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.PreStop preStop) { + this.preStop = preStop; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/LivenessProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/LivenessProbe.java new file mode 100644 index 00000000..d8ed29dc --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/LivenessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LivenessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/Ports.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/Ports.java new file mode 100644 index 00000000..4409e074 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/Ports.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerPort","hostIP","hostPort","name","protocol"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ports implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer containerPort; + + public Integer getContainerPort() { + return containerPort; + } + + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostIP") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostIP; + + public String getHostIP() { + return hostIP; + } + + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer hostPort; + + public Integer getHostPort() { + return hostPort; + } + + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protocol; + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/ReadinessProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/ReadinessProbe.java new file mode 100644 index 00000000..a366cc71 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/ReadinessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ReadinessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/ResizePolicy.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/ResizePolicy.java new file mode 100644 index 00000000..df39604c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/ResizePolicy.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"resourceName","restartPolicy"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResizePolicy implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceName; + + public String getResourceName() { + return resourceName; + } + + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/Resources.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/Resources.java new file mode 100644 index 00000000..31deb38a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List claims; + + public java.util.List getClaims() { + return claims; + } + + public void setClaims(java.util.List claims) { + this.claims = claims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("limits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map limits; + + public java.util.Map getLimits() { + return limits; + } + + public void setLimits(java.util.Map limits) { + this.limits = limits; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requests") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map requests; + + public java.util.Map getRequests() { + return requests; + } + + public void setRequests(java.util.Map requests) { + this.requests = requests; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/SecurityContext.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/SecurityContext.java new file mode 100644 index 00000000..1bb60ad9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/SecurityContext.java @@ -0,0 +1,141 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"allowPrivilegeEscalation","capabilities","privileged","procMount","readOnlyRootFilesystem","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","windowsOptions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecurityContext implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("allowPrivilegeEscalation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean allowPrivilegeEscalation; + + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("capabilities") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.Capabilities capabilities; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.Capabilities getCapabilities() { + return capabilities; + } + + public void setCapabilities(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.Capabilities capabilities) { + this.capabilities = capabilities; + } + + @com.fasterxml.jackson.annotation.JsonProperty("privileged") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean privileged; + + public Boolean getPrivileged() { + return privileged; + } + + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @com.fasterxml.jackson.annotation.JsonProperty("procMount") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String procMount; + + public String getProcMount() { + return procMount; + } + + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnlyRootFilesystem") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnlyRootFilesystem; + + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsGroup; + + public Long getRunAsGroup() { + return runAsGroup; + } + + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsNonRoot") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean runAsNonRoot; + + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUser") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsUser; + + public Long getRunAsUser() { + return runAsUser; + } + + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.SeLinuxOptions seLinuxOptions; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.SeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + public void setSeLinuxOptions(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.SeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.SeccompProfile seccompProfile; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.SeccompProfile getSeccompProfile() { + return seccompProfile; + } + + public void setSeccompProfile(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.SeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.WindowsOptions windowsOptions; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.WindowsOptions getWindowsOptions() { + return windowsOptions; + } + + public void setWindowsOptions(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.WindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/StartupProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/StartupProbe.java new file mode 100644 index 00000000..6733ec71 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/StartupProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class StartupProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/VolumeDevices.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/VolumeDevices.java new file mode 100644 index 00000000..53645b33 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/VolumeDevices.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"devicePath","name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeDevices implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("devicePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String devicePath; + + public String getDevicePath() { + return devicePath; + } + + public void setDevicePath(String devicePath) { + this.devicePath = devicePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/VolumeMounts.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/VolumeMounts.java new file mode 100644 index 00000000..2cd6f165 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/VolumeMounts.java @@ -0,0 +1,81 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"mountPath","mountPropagation","name","readOnly","subPath","subPathExpr"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeMounts implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("mountPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPath; + + public String getMountPath() { + return mountPath; + } + + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mountPropagation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPropagation; + + public String getMountPropagation() { + return mountPropagation; + } + + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPath; + + public String getSubPath() { + return subPath; + } + + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPathExpr") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPathExpr; + + public String getSubPathExpr() { + return subPathExpr; + } + + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/ValueFrom.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/ValueFrom.java new file mode 100644 index 00000000..e28ab6b8 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/ValueFrom.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapKeyRef","fieldRef","resourceFieldRef","secretKeyRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ValueFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.ConfigMapKeyRef configMapKeyRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.ConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + public void setConfigMapKeyRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.ConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.FieldRef fieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.ResourceFieldRef resourceFieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.SecretKeyRef secretKeyRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.SecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + public void setSecretKeyRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.SecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/ConfigMapKeyRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/ConfigMapKeyRef.java new file mode 100644 index 00000000..d8a2393f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/ConfigMapKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/FieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/FieldRef.java new file mode 100644 index 00000000..6d68b99e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/ResourceFieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/ResourceFieldRef.java new file mode 100644 index 00000000..90dc9e68 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/SecretKeyRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/SecretKeyRef.java new file mode 100644 index 00000000..28a8101d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/SecretKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/envfrom/ConfigMapRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/envfrom/ConfigMapRef.java new file mode 100644 index 00000000..40b3c376 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/envfrom/ConfigMapRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/envfrom/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/envfrom/SecretRef.java new file mode 100644 index 00000000..51401c3d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/envfrom/SecretRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/PostStart.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/PostStart.java new file mode 100644 index 00000000..e8e74b55 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/PostStart.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PostStart implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/PreStop.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/PreStop.java new file mode 100644 index 00000000..da190f57 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/PreStop.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreStop implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/Exec.java new file mode 100644 index 00000000..64201986 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/HttpGet.java new file mode 100644 index 00000000..c0c34af5 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/TcpSocket.java new file mode 100644 index 00000000..3ffe5d45 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/httpget/HttpHeaders.java new file mode 100644 index 00000000..87205980 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/Exec.java new file mode 100644 index 00000000..8735871b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/HttpGet.java new file mode 100644 index 00000000..4af37960 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/TcpSocket.java new file mode 100644 index 00000000..e18c3fa3 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/httpget/HttpHeaders.java new file mode 100644 index 00000000..f8b09606 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/Exec.java new file mode 100644 index 00000000..af0e3076 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/Grpc.java new file mode 100644 index 00000000..b00a632b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/HttpGet.java new file mode 100644 index 00000000..f7a03ec2 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/TcpSocket.java new file mode 100644 index 00000000..8d0fb9e6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..89b1c925 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/Exec.java new file mode 100644 index 00000000..7637439c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/Grpc.java new file mode 100644 index 00000000..a37dd03b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/HttpGet.java new file mode 100644 index 00000000..802802e6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/TcpSocket.java new file mode 100644 index 00000000..0e930cf1 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..ee460b50 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/resources/Claims.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/resources/Claims.java new file mode 100644 index 00000000..b988e478 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/resources/Claims.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Claims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/Capabilities.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/Capabilities.java new file mode 100644 index 00000000..e2b81e51 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/Capabilities.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"add","drop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Capabilities implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("add") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List add; + + public java.util.List getAdd() { + return add; + } + + public void setAdd(java.util.List add) { + this.add = add; + } + + @com.fasterxml.jackson.annotation.JsonProperty("drop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List drop; + + public java.util.List getDrop() { + return drop; + } + + public void setDrop(java.util.List drop) { + this.drop = drop; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/SeLinuxOptions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/SeLinuxOptions.java new file mode 100644 index 00000000..1ecb0af9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/SeLinuxOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeLinuxOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String level; + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + @com.fasterxml.jackson.annotation.JsonProperty("role") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String role; + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/SeccompProfile.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/SeccompProfile.java new file mode 100644 index 00000000..30b99760 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/SeccompProfile.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeccompProfile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("localhostProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String localhostProfile; + + public String getLocalhostProfile() { + return localhostProfile; + } + + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/WindowsOptions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/WindowsOptions.java new file mode 100644 index 00000000..00602195 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/WindowsOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WindowsOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpec; + + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpecName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpecName; + + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostProcess") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostProcess; + + public Boolean getHostProcess() { + return hostProcess; + } + + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUserName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runAsUserName; + + public String getRunAsUserName() { + return runAsUserName; + } + + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/Exec.java new file mode 100644 index 00000000..bf02ed0e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/Grpc.java new file mode 100644 index 00000000..ed86378c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/HttpGet.java new file mode 100644 index 00000000..704f5f68 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/TcpSocket.java new file mode 100644 index 00000000..8cf71b3f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..15ff4f20 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/Env.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/Env.java new file mode 100644 index 00000000..7fa47c42 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/Env.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value","valueFrom"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Env implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonProperty("valueFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.ValueFrom valueFrom; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.ValueFrom getValueFrom() { + return valueFrom; + } + + public void setValueFrom(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.ValueFrom valueFrom) { + this.valueFrom = valueFrom; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/EnvFrom.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/EnvFrom.java new file mode 100644 index 00000000..f50c849a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/EnvFrom.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapRef","prefix","secretRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EnvFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.envfrom.ConfigMapRef configMapRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.envfrom.ConfigMapRef getConfigMapRef() { + return configMapRef; + } + + public void setConfigMapRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.envfrom.ConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("prefix") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String prefix; + + public String getPrefix() { + return prefix; + } + + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.envfrom.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.envfrom.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.envfrom.SecretRef secretRef) { + this.secretRef = secretRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/Lifecycle.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/Lifecycle.java new file mode 100644 index 00000000..4bc8c22e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/Lifecycle.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"postStart","preStop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Lifecycle implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("postStart") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.PostStart postStart; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.PostStart getPostStart() { + return postStart; + } + + public void setPostStart(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.PostStart postStart) { + this.postStart = postStart; + } + + @com.fasterxml.jackson.annotation.JsonProperty("preStop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.PreStop preStop; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.PreStop getPreStop() { + return preStop; + } + + public void setPreStop(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.PreStop preStop) { + this.preStop = preStop; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/LivenessProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/LivenessProbe.java new file mode 100644 index 00000000..40c12b08 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/LivenessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LivenessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/Ports.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/Ports.java new file mode 100644 index 00000000..1e3f211e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/Ports.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerPort","hostIP","hostPort","name","protocol"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ports implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer containerPort; + + public Integer getContainerPort() { + return containerPort; + } + + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostIP") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostIP; + + public String getHostIP() { + return hostIP; + } + + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer hostPort; + + public Integer getHostPort() { + return hostPort; + } + + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protocol; + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/ReadinessProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/ReadinessProbe.java new file mode 100644 index 00000000..5989552c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/ReadinessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ReadinessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/ResizePolicy.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/ResizePolicy.java new file mode 100644 index 00000000..05e07c8e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/ResizePolicy.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"resourceName","restartPolicy"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResizePolicy implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceName; + + public String getResourceName() { + return resourceName; + } + + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/Resources.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/Resources.java new file mode 100644 index 00000000..913d56a2 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List claims; + + public java.util.List getClaims() { + return claims; + } + + public void setClaims(java.util.List claims) { + this.claims = claims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("limits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map limits; + + public java.util.Map getLimits() { + return limits; + } + + public void setLimits(java.util.Map limits) { + this.limits = limits; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requests") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map requests; + + public java.util.Map getRequests() { + return requests; + } + + public void setRequests(java.util.Map requests) { + this.requests = requests; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/SecurityContext.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/SecurityContext.java new file mode 100644 index 00000000..593f7cc6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/SecurityContext.java @@ -0,0 +1,141 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"allowPrivilegeEscalation","capabilities","privileged","procMount","readOnlyRootFilesystem","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","windowsOptions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecurityContext implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("allowPrivilegeEscalation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean allowPrivilegeEscalation; + + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("capabilities") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.Capabilities capabilities; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.Capabilities getCapabilities() { + return capabilities; + } + + public void setCapabilities(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.Capabilities capabilities) { + this.capabilities = capabilities; + } + + @com.fasterxml.jackson.annotation.JsonProperty("privileged") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean privileged; + + public Boolean getPrivileged() { + return privileged; + } + + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @com.fasterxml.jackson.annotation.JsonProperty("procMount") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String procMount; + + public String getProcMount() { + return procMount; + } + + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnlyRootFilesystem") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnlyRootFilesystem; + + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsGroup; + + public Long getRunAsGroup() { + return runAsGroup; + } + + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsNonRoot") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean runAsNonRoot; + + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUser") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsUser; + + public Long getRunAsUser() { + return runAsUser; + } + + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.SeLinuxOptions seLinuxOptions; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.SeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + public void setSeLinuxOptions(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.SeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.SeccompProfile seccompProfile; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.SeccompProfile getSeccompProfile() { + return seccompProfile; + } + + public void setSeccompProfile(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.SeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.WindowsOptions windowsOptions; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.WindowsOptions getWindowsOptions() { + return windowsOptions; + } + + public void setWindowsOptions(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.WindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/StartupProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/StartupProbe.java new file mode 100644 index 00000000..88647d29 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/StartupProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class StartupProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/VolumeDevices.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/VolumeDevices.java new file mode 100644 index 00000000..fc957e34 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/VolumeDevices.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"devicePath","name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeDevices implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("devicePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String devicePath; + + public String getDevicePath() { + return devicePath; + } + + public void setDevicePath(String devicePath) { + this.devicePath = devicePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/VolumeMounts.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/VolumeMounts.java new file mode 100644 index 00000000..9b993049 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/VolumeMounts.java @@ -0,0 +1,81 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"mountPath","mountPropagation","name","readOnly","subPath","subPathExpr"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeMounts implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("mountPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPath; + + public String getMountPath() { + return mountPath; + } + + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mountPropagation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPropagation; + + public String getMountPropagation() { + return mountPropagation; + } + + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPath; + + public String getSubPath() { + return subPath; + } + + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPathExpr") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPathExpr; + + public String getSubPathExpr() { + return subPathExpr; + } + + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/ValueFrom.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/ValueFrom.java new file mode 100644 index 00000000..3010e85c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/ValueFrom.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapKeyRef","fieldRef","resourceFieldRef","secretKeyRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ValueFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.ConfigMapKeyRef configMapKeyRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.ConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + public void setConfigMapKeyRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.ConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.FieldRef fieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.ResourceFieldRef resourceFieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.SecretKeyRef secretKeyRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.SecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + public void setSecretKeyRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.SecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/ConfigMapKeyRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/ConfigMapKeyRef.java new file mode 100644 index 00000000..052e2aaf --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/ConfigMapKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/FieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/FieldRef.java new file mode 100644 index 00000000..5649f8f5 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/ResourceFieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/ResourceFieldRef.java new file mode 100644 index 00000000..dc4a7741 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/SecretKeyRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/SecretKeyRef.java new file mode 100644 index 00000000..c626ac96 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/SecretKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/envfrom/ConfigMapRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/envfrom/ConfigMapRef.java new file mode 100644 index 00000000..e86f2410 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/envfrom/ConfigMapRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/envfrom/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/envfrom/SecretRef.java new file mode 100644 index 00000000..96d83bd7 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/envfrom/SecretRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/PostStart.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/PostStart.java new file mode 100644 index 00000000..cad4a908 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/PostStart.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PostStart implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/PreStop.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/PreStop.java new file mode 100644 index 00000000..5727f099 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/PreStop.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreStop implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/Exec.java new file mode 100644 index 00000000..426d38ae --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/HttpGet.java new file mode 100644 index 00000000..1165718a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/TcpSocket.java new file mode 100644 index 00000000..273ea750 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/httpget/HttpHeaders.java new file mode 100644 index 00000000..ae4e6ff4 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/Exec.java new file mode 100644 index 00000000..ac3509d7 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/HttpGet.java new file mode 100644 index 00000000..fcf896ce --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/TcpSocket.java new file mode 100644 index 00000000..04176c50 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/httpget/HttpHeaders.java new file mode 100644 index 00000000..47d5d851 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/Exec.java new file mode 100644 index 00000000..1ece798a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/Grpc.java new file mode 100644 index 00000000..baf0208e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/HttpGet.java new file mode 100644 index 00000000..ef25059b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/TcpSocket.java new file mode 100644 index 00000000..86671b88 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..92d1ed2f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/Exec.java new file mode 100644 index 00000000..1bab8ff7 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/Grpc.java new file mode 100644 index 00000000..95b1ccca --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/HttpGet.java new file mode 100644 index 00000000..0c4d8a3d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/TcpSocket.java new file mode 100644 index 00000000..ad28fca9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..59cfd9ca --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/resources/Claims.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/resources/Claims.java new file mode 100644 index 00000000..21a20b01 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/resources/Claims.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Claims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/Capabilities.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/Capabilities.java new file mode 100644 index 00000000..4e6bc54d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/Capabilities.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"add","drop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Capabilities implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("add") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List add; + + public java.util.List getAdd() { + return add; + } + + public void setAdd(java.util.List add) { + this.add = add; + } + + @com.fasterxml.jackson.annotation.JsonProperty("drop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List drop; + + public java.util.List getDrop() { + return drop; + } + + public void setDrop(java.util.List drop) { + this.drop = drop; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/SeLinuxOptions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/SeLinuxOptions.java new file mode 100644 index 00000000..35b3ee4a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/SeLinuxOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeLinuxOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String level; + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + @com.fasterxml.jackson.annotation.JsonProperty("role") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String role; + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/SeccompProfile.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/SeccompProfile.java new file mode 100644 index 00000000..5ee9f106 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/SeccompProfile.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeccompProfile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("localhostProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String localhostProfile; + + public String getLocalhostProfile() { + return localhostProfile; + } + + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/WindowsOptions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/WindowsOptions.java new file mode 100644 index 00000000..11ca18d0 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/WindowsOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WindowsOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpec; + + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpecName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpecName; + + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostProcess") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostProcess; + + public Boolean getHostProcess() { + return hostProcess; + } + + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUserName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runAsUserName; + + public String getRunAsUserName() { + return runAsUserName; + } + + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/Exec.java new file mode 100644 index 00000000..53171dd8 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/Grpc.java new file mode 100644 index 00000000..f2fa35dd --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/HttpGet.java new file mode 100644 index 00000000..87bf7723 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/TcpSocket.java new file mode 100644 index 00000000..14ba860e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..7f5f64ce --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/resourceclaims/Source.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/resourceclaims/Source.java new file mode 100644 index 00000000..de45d8e5 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/resourceclaims/Source.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.resourceclaims; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"resourceClaimName","resourceClaimTemplateName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Source implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceClaimName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceClaimName; + + public String getResourceClaimName() { + return resourceClaimName; + } + + public void setResourceClaimName(String resourceClaimName) { + this.resourceClaimName = resourceClaimName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceClaimTemplateName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceClaimTemplateName; + + public String getResourceClaimTemplateName() { + return resourceClaimTemplateName; + } + + public void setResourceClaimTemplateName(String resourceClaimTemplateName) { + this.resourceClaimTemplateName = resourceClaimTemplateName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/securitycontext/SeLinuxOptions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/securitycontext/SeLinuxOptions.java new file mode 100644 index 00000000..b2fecbe8 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/securitycontext/SeLinuxOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeLinuxOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String level; + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + @com.fasterxml.jackson.annotation.JsonProperty("role") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String role; + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/securitycontext/SeccompProfile.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/securitycontext/SeccompProfile.java new file mode 100644 index 00000000..6a68bed4 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/securitycontext/SeccompProfile.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeccompProfile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("localhostProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String localhostProfile; + + public String getLocalhostProfile() { + return localhostProfile; + } + + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/securitycontext/Sysctls.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/securitycontext/Sysctls.java new file mode 100644 index 00000000..ff121201 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/securitycontext/Sysctls.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Sysctls implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/securitycontext/WindowsOptions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/securitycontext/WindowsOptions.java new file mode 100644 index 00000000..0762f8e3 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/securitycontext/WindowsOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WindowsOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpec; + + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpecName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpecName; + + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostProcess") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostProcess; + + public Boolean getHostProcess() { + return hostProcess; + } + + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUserName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runAsUserName; + + public String getRunAsUserName() { + return runAsUserName; + } + + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/topologyspreadconstraints/LabelSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/topologyspreadconstraints/LabelSelector.java new file mode 100644 index 00000000..e9609af2 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/topologyspreadconstraints/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.topologyspreadconstraints; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/topologyspreadconstraints/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/topologyspreadconstraints/labelselector/MatchExpressions.java new file mode 100644 index 00000000..4664134d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/topologyspreadconstraints/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.topologyspreadconstraints.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/AwsElasticBlockStore.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/AwsElasticBlockStore.java new file mode 100644 index 00000000..6b4f457e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/AwsElasticBlockStore.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","partition","readOnly","volumeID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class AwsElasticBlockStore implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("partition") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer partition; + + public Integer getPartition() { + return partition; + } + + public void setPartition(Integer partition) { + this.partition = partition; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeID; + + public String getVolumeID() { + return volumeID; + } + + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/AzureDisk.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/AzureDisk.java new file mode 100644 index 00000000..4336dbfb --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/AzureDisk.java @@ -0,0 +1,81 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cachingMode","diskName","diskURI","fsType","kind","readOnly"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class AzureDisk implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("cachingMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String cachingMode; + + public String getCachingMode() { + return cachingMode; + } + + public void setCachingMode(String cachingMode) { + this.cachingMode = cachingMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("diskName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String diskName; + + public String getDiskName() { + return diskName; + } + + public void setDiskName(String diskName) { + this.diskName = diskName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("diskURI") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String diskURI; + + public String getDiskURI() { + return diskURI; + } + + public void setDiskURI(String diskURI) { + this.diskURI = diskURI; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/AzureFile.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/AzureFile.java new file mode 100644 index 00000000..98ef575f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/AzureFile.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"readOnly","secretName","shareName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class AzureFile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretName; + + public String getSecretName() { + return secretName; + } + + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("shareName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String shareName; + + public String getShareName() { + return shareName; + } + + public void setShareName(String shareName) { + this.shareName = shareName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Cephfs.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Cephfs.java new file mode 100644 index 00000000..d09fd5c6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Cephfs.java @@ -0,0 +1,81 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"monitors","path","readOnly","secretFile","secretRef","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Cephfs implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("monitors") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List monitors; + + public java.util.List getMonitors() { + return monitors; + } + + public void setMonitors(java.util.List monitors) { + this.monitors = monitors; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretFile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretFile; + + public String getSecretFile() { + return secretFile; + } + + public void setSecretFile(String secretFile) { + this.secretFile = secretFile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.cephfs.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.cephfs.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.cephfs.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Cinder.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Cinder.java new file mode 100644 index 00000000..464ddff7 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Cinder.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","readOnly","secretRef","volumeID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Cinder implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.cinder.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.cinder.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.cinder.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeID; + + public String getVolumeID() { + return volumeID; + } + + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ConfigMap.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ConfigMap.java new file mode 100644 index 00000000..0b642a65 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ConfigMap.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"defaultMode","items","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMap implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("defaultMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer defaultMode; + + public Integer getDefaultMode() { + return defaultMode; + } + + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Csi.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Csi.java new file mode 100644 index 00000000..188e381e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Csi.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"driver","fsType","nodePublishSecretRef","readOnly","volumeAttributes"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Csi implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("driver") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String driver; + + public String getDriver() { + return driver; + } + + public void setDriver(String driver) { + this.driver = driver; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodePublishSecretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.csi.NodePublishSecretRef nodePublishSecretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.csi.NodePublishSecretRef getNodePublishSecretRef() { + return nodePublishSecretRef; + } + + public void setNodePublishSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.csi.NodePublishSecretRef nodePublishSecretRef) { + this.nodePublishSecretRef = nodePublishSecretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeAttributes") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map volumeAttributes; + + public java.util.Map getVolumeAttributes() { + return volumeAttributes; + } + + public void setVolumeAttributes(java.util.Map volumeAttributes) { + this.volumeAttributes = volumeAttributes; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/DownwardAPI.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/DownwardAPI.java new file mode 100644 index 00000000..bcdd8458 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/DownwardAPI.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"defaultMode","items"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DownwardAPI implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("defaultMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer defaultMode; + + public Integer getDefaultMode() { + return defaultMode; + } + + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/EmptyDir.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/EmptyDir.java new file mode 100644 index 00000000..c5e8021d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/EmptyDir.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"medium","sizeLimit"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EmptyDir implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("medium") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String medium; + + public String getMedium() { + return medium; + } + + public void setMedium(String medium) { + this.medium = medium; + } + + @com.fasterxml.jackson.annotation.JsonProperty("sizeLimit") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String sizeLimit; + + public String getSizeLimit() { + return sizeLimit; + } + + public void setSizeLimit(String sizeLimit) { + this.sizeLimit = sizeLimit; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Ephemeral.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Ephemeral.java new file mode 100644 index 00000000..ef046d70 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Ephemeral.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"volumeClaimTemplate"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ephemeral implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("volumeClaimTemplate") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.VolumeClaimTemplate volumeClaimTemplate; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.VolumeClaimTemplate getVolumeClaimTemplate() { + return volumeClaimTemplate; + } + + public void setVolumeClaimTemplate(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.VolumeClaimTemplate volumeClaimTemplate) { + this.volumeClaimTemplate = volumeClaimTemplate; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Fc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Fc.java new file mode 100644 index 00000000..a8fd6448 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Fc.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","lun","readOnly","targetWWNs","wwids"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Fc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lun") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer lun; + + public Integer getLun() { + return lun; + } + + public void setLun(Integer lun) { + this.lun = lun; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("targetWWNs") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List targetWWNs; + + public java.util.List getTargetWWNs() { + return targetWWNs; + } + + public void setTargetWWNs(java.util.List targetWWNs) { + this.targetWWNs = targetWWNs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("wwids") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List wwids; + + public java.util.List getWwids() { + return wwids; + } + + public void setWwids(java.util.List wwids) { + this.wwids = wwids; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/FlexVolume.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/FlexVolume.java new file mode 100644 index 00000000..e95091d7 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/FlexVolume.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"driver","fsType","options","readOnly","secretRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FlexVolume implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("driver") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String driver; + + public String getDriver() { + return driver; + } + + public void setDriver(String driver) { + this.driver = driver; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("options") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map options; + + public java.util.Map getOptions() { + return options; + } + + public void setOptions(java.util.Map options) { + this.options = options; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.flexvolume.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.flexvolume.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.flexvolume.SecretRef secretRef) { + this.secretRef = secretRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Flocker.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Flocker.java new file mode 100644 index 00000000..91cbc893 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Flocker.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"datasetName","datasetUUID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Flocker implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("datasetName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String datasetName; + + public String getDatasetName() { + return datasetName; + } + + public void setDatasetName(String datasetName) { + this.datasetName = datasetName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("datasetUUID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String datasetUUID; + + public String getDatasetUUID() { + return datasetUUID; + } + + public void setDatasetUUID(String datasetUUID) { + this.datasetUUID = datasetUUID; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/GcePersistentDisk.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/GcePersistentDisk.java new file mode 100644 index 00000000..400b4fce --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/GcePersistentDisk.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","partition","pdName","readOnly"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class GcePersistentDisk implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("partition") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer partition; + + public Integer getPartition() { + return partition; + } + + public void setPartition(Integer partition) { + this.partition = partition; + } + + @com.fasterxml.jackson.annotation.JsonProperty("pdName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String pdName; + + public String getPdName() { + return pdName; + } + + public void setPdName(String pdName) { + this.pdName = pdName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/GitRepo.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/GitRepo.java new file mode 100644 index 00000000..6c592a6c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/GitRepo.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"directory","repository","revision"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class GitRepo implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("directory") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String directory; + + public String getDirectory() { + return directory; + } + + public void setDirectory(String directory) { + this.directory = directory; + } + + @com.fasterxml.jackson.annotation.JsonProperty("repository") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String repository; + + public String getRepository() { + return repository; + } + + public void setRepository(String repository) { + this.repository = repository; + } + + @com.fasterxml.jackson.annotation.JsonProperty("revision") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String revision; + + public String getRevision() { + return revision; + } + + public void setRevision(String revision) { + this.revision = revision; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Glusterfs.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Glusterfs.java new file mode 100644 index 00000000..327c1a07 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Glusterfs.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"endpoints","path","readOnly"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Glusterfs implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("endpoints") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String endpoints; + + public String getEndpoints() { + return endpoints; + } + + public void setEndpoints(String endpoints) { + this.endpoints = endpoints; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/HostPath.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/HostPath.java new file mode 100644 index 00000000..2c94715c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/HostPath.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"path","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HostPath implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Iscsi.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Iscsi.java new file mode 100644 index 00000000..534e0b65 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Iscsi.java @@ -0,0 +1,141 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"chapAuthDiscovery","chapAuthSession","fsType","initiatorName","iqn","iscsiInterface","lun","portals","readOnly","secretRef","targetPortal"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Iscsi implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("chapAuthDiscovery") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean chapAuthDiscovery; + + public Boolean getChapAuthDiscovery() { + return chapAuthDiscovery; + } + + public void setChapAuthDiscovery(Boolean chapAuthDiscovery) { + this.chapAuthDiscovery = chapAuthDiscovery; + } + + @com.fasterxml.jackson.annotation.JsonProperty("chapAuthSession") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean chapAuthSession; + + public Boolean getChapAuthSession() { + return chapAuthSession; + } + + public void setChapAuthSession(Boolean chapAuthSession) { + this.chapAuthSession = chapAuthSession; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initiatorName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String initiatorName; + + public String getInitiatorName() { + return initiatorName; + } + + public void setInitiatorName(String initiatorName) { + this.initiatorName = initiatorName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("iqn") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String iqn; + + public String getIqn() { + return iqn; + } + + public void setIqn(String iqn) { + this.iqn = iqn; + } + + @com.fasterxml.jackson.annotation.JsonProperty("iscsiInterface") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String iscsiInterface; + + public String getIscsiInterface() { + return iscsiInterface; + } + + public void setIscsiInterface(String iscsiInterface) { + this.iscsiInterface = iscsiInterface; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lun") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer lun; + + public Integer getLun() { + return lun; + } + + public void setLun(Integer lun) { + this.lun = lun; + } + + @com.fasterxml.jackson.annotation.JsonProperty("portals") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List portals; + + public java.util.List getPortals() { + return portals; + } + + public void setPortals(java.util.List portals) { + this.portals = portals; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.iscsi.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.iscsi.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.iscsi.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("targetPortal") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String targetPortal; + + public String getTargetPortal() { + return targetPortal; + } + + public void setTargetPortal(String targetPortal) { + this.targetPortal = targetPortal; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Nfs.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Nfs.java new file mode 100644 index 00000000..df942eb2 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Nfs.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"path","readOnly","server"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Nfs implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("server") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String server; + + public String getServer() { + return server; + } + + public void setServer(String server) { + this.server = server; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/PersistentVolumeClaim.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/PersistentVolumeClaim.java new file mode 100644 index 00000000..6038f77d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/PersistentVolumeClaim.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claimName","readOnly"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PersistentVolumeClaim implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claimName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String claimName; + + public String getClaimName() { + return claimName; + } + + public void setClaimName(String claimName) { + this.claimName = claimName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/PhotonPersistentDisk.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/PhotonPersistentDisk.java new file mode 100644 index 00000000..a7e8bad3 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/PhotonPersistentDisk.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","pdID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PhotonPersistentDisk implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("pdID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String pdID; + + public String getPdID() { + return pdID; + } + + public void setPdID(String pdID) { + this.pdID = pdID; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/PortworxVolume.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/PortworxVolume.java new file mode 100644 index 00000000..416da20b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/PortworxVolume.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","readOnly","volumeID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PortworxVolume implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeID; + + public String getVolumeID() { + return volumeID; + } + + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Projected.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Projected.java new file mode 100644 index 00000000..94a23bbd --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Projected.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"defaultMode","sources"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Projected implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("defaultMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer defaultMode; + + public Integer getDefaultMode() { + return defaultMode; + } + + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("sources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List sources; + + public java.util.List getSources() { + return sources; + } + + public void setSources(java.util.List sources) { + this.sources = sources; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Quobyte.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Quobyte.java new file mode 100644 index 00000000..16b160ab --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Quobyte.java @@ -0,0 +1,81 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"group","readOnly","registry","tenant","user","volume"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Quobyte implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("group") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String group; + + public String getGroup() { + return group; + } + + public void setGroup(String group) { + this.group = group; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("registry") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String registry; + + public String getRegistry() { + return registry; + } + + public void setRegistry(String registry) { + this.registry = registry; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tenant") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String tenant; + + public String getTenant() { + return tenant; + } + + public void setTenant(String tenant) { + this.tenant = tenant; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volume") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volume; + + public String getVolume() { + return volume; + } + + public void setVolume(String volume) { + this.volume = volume; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Rbd.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Rbd.java new file mode 100644 index 00000000..9d677b1c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Rbd.java @@ -0,0 +1,105 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","image","keyring","monitors","pool","readOnly","secretRef","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Rbd implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("image") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String image; + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + @com.fasterxml.jackson.annotation.JsonProperty("keyring") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String keyring; + + public String getKeyring() { + return keyring; + } + + public void setKeyring(String keyring) { + this.keyring = keyring; + } + + @com.fasterxml.jackson.annotation.JsonProperty("monitors") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List monitors; + + public java.util.List getMonitors() { + return monitors; + } + + public void setMonitors(java.util.List monitors) { + this.monitors = monitors; + } + + @com.fasterxml.jackson.annotation.JsonProperty("pool") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String pool; + + public String getPool() { + return pool; + } + + public void setPool(String pool) { + this.pool = pool; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.rbd.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.rbd.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.rbd.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ScaleIO.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ScaleIO.java new file mode 100644 index 00000000..7917af0a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ScaleIO.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","gateway","protectionDomain","readOnly","secretRef","sslEnabled","storageMode","storagePool","system","volumeName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ScaleIO implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gateway") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gateway; + + public String getGateway() { + return gateway; + } + + public void setGateway(String gateway) { + this.gateway = gateway; + } + + @com.fasterxml.jackson.annotation.JsonProperty("protectionDomain") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protectionDomain; + + public String getProtectionDomain() { + return protectionDomain; + } + + public void setProtectionDomain(String protectionDomain) { + this.protectionDomain = protectionDomain; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.scaleio.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.scaleio.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.scaleio.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("sslEnabled") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean sslEnabled; + + public Boolean getSslEnabled() { + return sslEnabled; + } + + public void setSslEnabled(Boolean sslEnabled) { + this.sslEnabled = sslEnabled; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storageMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storageMode; + + public String getStorageMode() { + return storageMode; + } + + public void setStorageMode(String storageMode) { + this.storageMode = storageMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storagePool") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storagePool; + + public String getStoragePool() { + return storagePool; + } + + public void setStoragePool(String storagePool) { + this.storagePool = storagePool; + } + + @com.fasterxml.jackson.annotation.JsonProperty("system") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String system; + + public String getSystem() { + return system; + } + + public void setSystem(String system) { + this.system = system; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeName; + + public String getVolumeName() { + return volumeName; + } + + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Secret.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Secret.java new file mode 100644 index 00000000..8403f0d9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Secret.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"defaultMode","items","optional","secretName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Secret implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("defaultMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer defaultMode; + + public Integer getDefaultMode() { + return defaultMode; + } + + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretName; + + public String getSecretName() { + return secretName; + } + + public void setSecretName(String secretName) { + this.secretName = secretName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Storageos.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Storageos.java new file mode 100644 index 00000000..f2f5e279 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/Storageos.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","readOnly","secretRef","volumeName","volumeNamespace"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Storageos implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.storageos.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.storageos.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.storageos.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeName; + + public String getVolumeName() { + return volumeName; + } + + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeNamespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeNamespace; + + public String getVolumeNamespace() { + return volumeNamespace; + } + + public void setVolumeNamespace(String volumeNamespace) { + this.volumeNamespace = volumeNamespace; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/VsphereVolume.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/VsphereVolume.java new file mode 100644 index 00000000..a8117fc6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/VsphereVolume.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","storagePolicyID","storagePolicyName","volumePath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VsphereVolume implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storagePolicyID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storagePolicyID; + + public String getStoragePolicyID() { + return storagePolicyID; + } + + public void setStoragePolicyID(String storagePolicyID) { + this.storagePolicyID = storagePolicyID; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storagePolicyName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storagePolicyName; + + public String getStoragePolicyName() { + return storagePolicyName; + } + + public void setStoragePolicyName(String storagePolicyName) { + this.storagePolicyName = storagePolicyName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumePath; + + public String getVolumePath() { + return volumePath; + } + + public void setVolumePath(String volumePath) { + this.volumePath = volumePath; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/cephfs/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/cephfs/SecretRef.java new file mode 100644 index 00000000..54c92d0c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/cephfs/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.cephfs; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/cinder/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/cinder/SecretRef.java new file mode 100644 index 00000000..bb66da7a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/cinder/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.cinder; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/configmap/Items.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/configmap/Items.java new file mode 100644 index 00000000..7c3c82a0 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/configmap/Items.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.configmap; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","mode","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/csi/NodePublishSecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/csi/NodePublishSecretRef.java new file mode 100644 index 00000000..4017c195 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/csi/NodePublishSecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.csi; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodePublishSecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/downwardapi/Items.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/downwardapi/Items.java new file mode 100644 index 00000000..7c2032f8 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/downwardapi/Items.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.downwardapi; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fieldRef","mode","path","resourceFieldRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.downwardapi.items.FieldRef fieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.downwardapi.items.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.downwardapi.items.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.downwardapi.items.ResourceFieldRef resourceFieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.downwardapi.items.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.downwardapi.items.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/downwardapi/items/FieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/downwardapi/items/FieldRef.java new file mode 100644 index 00000000..898c1e20 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/downwardapi/items/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.downwardapi.items; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/downwardapi/items/ResourceFieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/downwardapi/items/ResourceFieldRef.java new file mode 100644 index 00000000..b6715cad --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/downwardapi/items/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.downwardapi.items; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/VolumeClaimTemplate.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/VolumeClaimTemplate.java new file mode 100644 index 00000000..8abd863d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/VolumeClaimTemplate.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"metadata","spec"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeClaimTemplate implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Metadata metadata; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Metadata getMetadata() { + return metadata; + } + + public void setMetadata(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Metadata metadata) { + this.metadata = metadata; + } + + @com.fasterxml.jackson.annotation.JsonProperty("spec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Spec spec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Spec getSpec() { + return spec; + } + + public void setSpec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Spec spec) { + this.spec = spec; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Metadata.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Metadata.java new file mode 100644 index 00000000..30645bbb --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Metadata.java @@ -0,0 +1,189 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"annotations","creationTimestamp","deletionGracePeriodSeconds","deletionTimestamp","finalizers","generateName","generation","labels","managedFields","name","namespace","ownerReferences","resourceVersion","selfLink","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Metadata implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("annotations") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map annotations; + + public java.util.Map getAnnotations() { + return annotations; + } + + public void setAnnotations(java.util.Map annotations) { + this.annotations = annotations; + } + + @com.fasterxml.jackson.annotation.JsonProperty("creationTimestamp") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String creationTimestamp; + + public String getCreationTimestamp() { + return creationTimestamp; + } + + public void setCreationTimestamp(String creationTimestamp) { + this.creationTimestamp = creationTimestamp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("deletionGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long deletionGracePeriodSeconds; + + public Long getDeletionGracePeriodSeconds() { + return deletionGracePeriodSeconds; + } + + public void setDeletionGracePeriodSeconds(Long deletionGracePeriodSeconds) { + this.deletionGracePeriodSeconds = deletionGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("deletionTimestamp") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String deletionTimestamp; + + public String getDeletionTimestamp() { + return deletionTimestamp; + } + + public void setDeletionTimestamp(String deletionTimestamp) { + this.deletionTimestamp = deletionTimestamp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("finalizers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List finalizers; + + public java.util.List getFinalizers() { + return finalizers; + } + + public void setFinalizers(java.util.List finalizers) { + this.finalizers = finalizers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("generateName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String generateName; + + public String getGenerateName() { + return generateName; + } + + public void setGenerateName(String generateName) { + this.generateName = generateName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("generation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long generation; + + public Long getGeneration() { + return generation; + } + + public void setGeneration(Long generation) { + this.generation = generation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("labels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map labels; + + public java.util.Map getLabels() { + return labels; + } + + public void setLabels(java.util.Map labels) { + this.labels = labels; + } + + @com.fasterxml.jackson.annotation.JsonProperty("managedFields") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List managedFields; + + public java.util.List getManagedFields() { + return managedFields; + } + + public void setManagedFields(java.util.List managedFields) { + this.managedFields = managedFields; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ownerReferences") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ownerReferences; + + public java.util.List getOwnerReferences() { + return ownerReferences; + } + + public void setOwnerReferences(java.util.List ownerReferences) { + this.ownerReferences = ownerReferences; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceVersion; + + public String getResourceVersion() { + return resourceVersion; + } + + public void setResourceVersion(String resourceVersion) { + this.resourceVersion = resourceVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("selfLink") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String selfLink; + + public String getSelfLink() { + return selfLink; + } + + public void setSelfLink(String selfLink) { + this.selfLink = selfLink; + } + + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Spec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Spec.java new file mode 100644 index 00000000..1d66292f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Spec.java @@ -0,0 +1,105 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"accessModes","dataSource","dataSourceRef","resources","selector","storageClassName","volumeMode","volumeName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Spec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("accessModes") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List accessModes; + + public java.util.List getAccessModes() { + return accessModes; + } + + public void setAccessModes(java.util.List accessModes) { + this.accessModes = accessModes; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dataSource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSource dataSource; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSource getDataSource() { + return dataSource; + } + + public void setDataSource(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSource dataSource) { + this.dataSource = dataSource; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dataSourceRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSourceRef dataSourceRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSourceRef getDataSourceRef() { + return dataSourceRef; + } + + public void setDataSourceRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSourceRef dataSourceRef) { + this.dataSourceRef = dataSourceRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Resources resources; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("selector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Selector selector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Selector getSelector() { + return selector; + } + + public void setSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Selector selector) { + this.selector = selector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storageClassName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storageClassName; + + public String getStorageClassName() { + return storageClassName; + } + + public void setStorageClassName(String storageClassName) { + this.storageClassName = storageClassName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeMode; + + public String getVolumeMode() { + return volumeMode; + } + + public void setVolumeMode(String volumeMode) { + this.volumeMode = volumeMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeName; + + public String getVolumeName() { + return volumeName; + } + + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/ManagedFields.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/ManagedFields.java new file mode 100644 index 00000000..52e8e914 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/ManagedFields.java @@ -0,0 +1,93 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldsType","fieldsV1","manager","operation","subresource","time"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ManagedFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldsType; + + public String getFieldsType() { + return fieldsType; + } + + public void setFieldsType(String fieldsType) { + this.fieldsType = fieldsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldsV1") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata.managedfields.FieldsV1 fieldsV1; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata.managedfields.FieldsV1 getFieldsV1() { + return fieldsV1; + } + + public void setFieldsV1(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata.managedfields.FieldsV1 fieldsV1) { + this.fieldsV1 = fieldsV1; + } + + @com.fasterxml.jackson.annotation.JsonProperty("manager") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String manager; + + public String getManager() { + return manager; + } + + public void setManager(String manager) { + this.manager = manager; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operation; + + public String getOperation() { + return operation; + } + + public void setOperation(String operation) { + this.operation = operation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subresource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subresource; + + public String getSubresource() { + return subresource; + } + + public void setSubresource(String subresource) { + this.subresource = subresource; + } + + @com.fasterxml.jackson.annotation.JsonProperty("time") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String time; + + public String getTime() { + return time; + } + + public void setTime(String time) { + this.time = time; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/OwnerReferences.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/OwnerReferences.java new file mode 100644 index 00000000..fb98bd90 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/OwnerReferences.java @@ -0,0 +1,81 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","blockOwnerDeletion","controller","kind","name","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class OwnerReferences implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("blockOwnerDeletion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean blockOwnerDeletion; + + public Boolean getBlockOwnerDeletion() { + return blockOwnerDeletion; + } + + public void setBlockOwnerDeletion(Boolean blockOwnerDeletion) { + this.blockOwnerDeletion = blockOwnerDeletion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("controller") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean controller; + + public Boolean getController() { + return controller; + } + + public void setController(Boolean controller) { + this.controller = controller; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/managedfields/FieldsV1.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/managedfields/FieldsV1.java new file mode 100644 index 00000000..4f7cb61f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/managedfields/FieldsV1.java @@ -0,0 +1,9 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata.managedfields; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldsV1 implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSource.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSource.java new file mode 100644 index 00000000..1936f2a0 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSource.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiGroup","kind","name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DataSource implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiGroup; + + public String getApiGroup() { + return apiGroup; + } + + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSourceRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSourceRef.java new file mode 100644 index 00000000..6e874411 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSourceRef.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiGroup","kind","name","namespace"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DataSourceRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiGroup; + + public String getApiGroup() { + return apiGroup; + } + + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Resources.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Resources.java new file mode 100644 index 00000000..6127b809 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List claims; + + public java.util.List getClaims() { + return claims; + } + + public void setClaims(java.util.List claims) { + this.claims = claims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("limits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map limits; + + public java.util.Map getLimits() { + return limits; + } + + public void setLimits(java.util.Map limits) { + this.limits = limits; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requests") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map requests; + + public java.util.Map getRequests() { + return requests; + } + + public void setRequests(java.util.Map requests) { + this.requests = requests; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Selector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Selector.java new file mode 100644 index 00000000..f8589fdc --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Selector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Selector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/resources/Claims.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/resources/Claims.java new file mode 100644 index 00000000..50aea461 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/resources/Claims.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Claims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/selector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/selector/MatchExpressions.java new file mode 100644 index 00000000..86583659 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/selector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.selector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/flexvolume/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/flexvolume/SecretRef.java new file mode 100644 index 00000000..94415e8c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/flexvolume/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.flexvolume; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/iscsi/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/iscsi/SecretRef.java new file mode 100644 index 00000000..cc4d82e4 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/iscsi/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.iscsi; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/Sources.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/Sources.java new file mode 100644 index 00000000..c94d8e69 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/Sources.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMap","downwardAPI","secret","serviceAccountToken"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Sources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMap") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.ConfigMap configMap; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.ConfigMap getConfigMap() { + return configMap; + } + + public void setConfigMap(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.ConfigMap configMap) { + this.configMap = configMap; + } + + @com.fasterxml.jackson.annotation.JsonProperty("downwardAPI") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.DownwardAPI downwardAPI; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.DownwardAPI getDownwardAPI() { + return downwardAPI; + } + + public void setDownwardAPI(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.DownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secret") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.Secret secret; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.Secret getSecret() { + return secret; + } + + public void setSecret(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.Secret secret) { + this.secret = secret; + } + + @com.fasterxml.jackson.annotation.JsonProperty("serviceAccountToken") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.ServiceAccountToken serviceAccountToken; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.ServiceAccountToken getServiceAccountToken() { + return serviceAccountToken; + } + + public void setServiceAccountToken(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.ServiceAccountToken serviceAccountToken) { + this.serviceAccountToken = serviceAccountToken; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/ConfigMap.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/ConfigMap.java new file mode 100644 index 00000000..d13035fb --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/ConfigMap.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"items","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMap implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/DownwardAPI.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/DownwardAPI.java new file mode 100644 index 00000000..25a36cb3 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/DownwardAPI.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"items"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DownwardAPI implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/Secret.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/Secret.java new file mode 100644 index 00000000..57aa1a90 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/Secret.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"items","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Secret implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/ServiceAccountToken.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/ServiceAccountToken.java new file mode 100644 index 00000000..eb236d8e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/ServiceAccountToken.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"audience","expirationSeconds","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ServiceAccountToken implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("audience") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String audience; + + public String getAudience() { + return audience; + } + + public void setAudience(String audience) { + this.audience = audience; + } + + @com.fasterxml.jackson.annotation.JsonProperty("expirationSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long expirationSeconds; + + public Long getExpirationSeconds() { + return expirationSeconds; + } + + public void setExpirationSeconds(Long expirationSeconds) { + this.expirationSeconds = expirationSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/configmap/Items.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/configmap/Items.java new file mode 100644 index 00000000..63c41862 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/configmap/Items.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.configmap; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","mode","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/Items.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/Items.java new file mode 100644 index 00000000..7e947245 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/Items.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fieldRef","mode","path","resourceFieldRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi.items.FieldRef fieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi.items.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi.items.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi.items.ResourceFieldRef resourceFieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi.items.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi.items.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/items/FieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/items/FieldRef.java new file mode 100644 index 00000000..1dc2c242 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/items/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi.items; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/items/ResourceFieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/items/ResourceFieldRef.java new file mode 100644 index 00000000..283b96a9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/items/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi.items; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/secret/Items.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/secret/Items.java new file mode 100644 index 00000000..9da1153b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/projected/sources/secret/Items.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.projected.sources.secret; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","mode","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/rbd/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/rbd/SecretRef.java new file mode 100644 index 00000000..a854c13e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/rbd/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.rbd; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/scaleio/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/scaleio/SecretRef.java new file mode 100644 index 00000000..f3be3715 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/scaleio/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.scaleio; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/secret/Items.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/secret/Items.java new file mode 100644 index 00000000..b3e27a8d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/secret/Items.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.secret; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","mode","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/storageos/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/storageos/SecretRef.java new file mode 100644 index 00000000..73c9ff59 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/podoverrides/spec/volumes/storageos/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.podoverrides.spec.volumes.storageos; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/Config.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/Config.java new file mode 100644 index 00000000..93952526 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/Config.java @@ -0,0 +1,54 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gracefulShutdownTimeout","logging","resources"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Config implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details. + */ + @com.fasterxml.jackson.annotation.JsonProperty("gracefulShutdownTimeout") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String gracefulShutdownTimeout; + + public String getGracefulShutdownTimeout() { + return gracefulShutdownTimeout; + } + + public void setGracefulShutdownTimeout(String gracefulShutdownTimeout) { + this.gracefulShutdownTimeout = gracefulShutdownTimeout; + } + + /** + * Logging configuration + */ + @com.fasterxml.jackson.annotation.JsonProperty("logging") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Logging configuration") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.Logging logging = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"enableVectorAgent\":null,\"containers\":{}}", tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.Logging.class); + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.Logging getLogging() { + return logging; + } + + public void setLogging(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.Logging logging) { + this.logging = logging; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.Resources resources = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"memory\":{\"limit\":null,\"runtimeLimits\":{}},\"cpu\":{\"min\":null,\"max\":null},\"storage\":{}}", tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.Resources.class); + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.Resources resources) { + this.resources = resources; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/PodOverrides.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/PodOverrides.java new file mode 100644 index 00000000..d4764503 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/PodOverrides.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"metadata","spec"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodOverrides implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.Metadata metadata; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.Metadata getMetadata() { + return metadata; + } + + public void setMetadata(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.Metadata metadata) { + this.metadata = metadata; + } + + @com.fasterxml.jackson.annotation.JsonProperty("spec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.Spec spec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.Spec getSpec() { + return spec; + } + + public void setSpec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.Spec spec) { + this.spec = spec; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/Selector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/Selector.java new file mode 100644 index 00000000..78be0f11 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/Selector.java @@ -0,0 +1,41 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Selector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/Logging.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/Logging.java new file mode 100644 index 00000000..3997ccc2 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/Logging.java @@ -0,0 +1,42 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containers","enableVectorAgent"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Logging implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Log configuration per container + */ + @com.fasterxml.jackson.annotation.JsonProperty("containers") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Log configuration per container") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map containers; + + public java.util.Map getContainers() { + return containers; + } + + public void setContainers(java.util.Map containers) { + this.containers = containers; + } + + /** + * Wether or not to deploy a container with the Vector log agent + */ + @com.fasterxml.jackson.annotation.JsonProperty("enableVectorAgent") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Wether or not to deploy a container with the Vector log agent") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Boolean enableVectorAgent; + + public Boolean getEnableVectorAgent() { + return enableVectorAgent; + } + + public void setEnableVectorAgent(Boolean enableVectorAgent) { + this.enableVectorAgent = enableVectorAgent; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/Resources.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/Resources.java new file mode 100644 index 00000000..9f1685a9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cpu","memory","storage"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("cpu") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources.Cpu cpu = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"min\":null,\"max\":null}", tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources.Cpu.class); + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources.Cpu getCpu() { + return cpu; + } + + public void setCpu(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources.Cpu cpu) { + this.cpu = cpu; + } + + @com.fasterxml.jackson.annotation.JsonProperty("memory") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources.Memory memory; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources.Memory getMemory() { + return memory; + } + + public void setMemory(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources.Memory memory) { + this.memory = memory; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storage") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources.Storage storage; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources.Storage getStorage() { + return storage; + } + + public void setStorage(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources.Storage storage) { + this.storage = storage; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/Containers.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/Containers.java new file mode 100644 index 00000000..0847d242 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/Containers.java @@ -0,0 +1,75 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.logging; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"console","custom","file","loggers"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Containers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Configuration for the console appender + */ + @com.fasterxml.jackson.annotation.JsonProperty("console") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Configuration for the console appender") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.logging.containers.Console console; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.logging.containers.Console getConsole() { + return console; + } + + public void setConsole(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.logging.containers.Console console) { + this.console = console; + } + + /** + * Custom log configuration provided in a ConfigMap + */ + @com.fasterxml.jackson.annotation.JsonProperty("custom") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Custom log configuration provided in a ConfigMap") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.logging.containers.Custom custom; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.logging.containers.Custom getCustom() { + return custom; + } + + public void setCustom(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.logging.containers.Custom custom) { + this.custom = custom; + } + + /** + * Configuration for the file appender + */ + @com.fasterxml.jackson.annotation.JsonProperty("file") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Configuration for the file appender") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.logging.containers.File file; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.logging.containers.File getFile() { + return file; + } + + public void setFile(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.logging.containers.File file) { + this.file = file; + } + + /** + * Configuration per logger + */ + @com.fasterxml.jackson.annotation.JsonProperty("loggers") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Configuration per logger") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map loggers = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map getLoggers() { + return loggers; + } + + public void setLoggers(java.util.Map loggers) { + this.loggers = loggers; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/containers/Console.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/containers/Console.java new file mode 100644 index 00000000..cfb99198 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/containers/Console.java @@ -0,0 +1,55 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.logging.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Console implements io.fabric8.kubernetes.api.model.KubernetesResource { + + public enum Level { + + @com.fasterxml.jackson.annotation.JsonProperty("TRACE") + TRACE("TRACE"), + @com.fasterxml.jackson.annotation.JsonProperty("DEBUG") + DEBUG("DEBUG"), + @com.fasterxml.jackson.annotation.JsonProperty("INFO") + INFO("INFO"), + @com.fasterxml.jackson.annotation.JsonProperty("WARN") + WARN("WARN"), + @com.fasterxml.jackson.annotation.JsonProperty("ERROR") + ERROR("ERROR"), + @com.fasterxml.jackson.annotation.JsonProperty("FATAL") + FATAL("FATAL"), + @com.fasterxml.jackson.annotation.JsonProperty("NONE") + NONE("NONE"); + + java.lang.String value; + + Level(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * The log level threshold. Log events with a lower log level are discarded. + */ + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The log level threshold. Log events with a lower log level are discarded.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Level level; + + public Level getLevel() { + return level; + } + + public void setLevel(Level level) { + this.level = level; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/containers/Custom.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/containers/Custom.java new file mode 100644 index 00000000..ca1f392b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/containers/Custom.java @@ -0,0 +1,26 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.logging.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMap"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Custom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * ConfigMap containing the log configuration files + */ + @com.fasterxml.jackson.annotation.JsonProperty("configMap") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("ConfigMap containing the log configuration files") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String configMap; + + public String getConfigMap() { + return configMap; + } + + public void setConfigMap(String configMap) { + this.configMap = configMap; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/containers/File.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/containers/File.java new file mode 100644 index 00000000..37b6ea5d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/containers/File.java @@ -0,0 +1,55 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.logging.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class File implements io.fabric8.kubernetes.api.model.KubernetesResource { + + public enum Level { + + @com.fasterxml.jackson.annotation.JsonProperty("TRACE") + TRACE("TRACE"), + @com.fasterxml.jackson.annotation.JsonProperty("DEBUG") + DEBUG("DEBUG"), + @com.fasterxml.jackson.annotation.JsonProperty("INFO") + INFO("INFO"), + @com.fasterxml.jackson.annotation.JsonProperty("WARN") + WARN("WARN"), + @com.fasterxml.jackson.annotation.JsonProperty("ERROR") + ERROR("ERROR"), + @com.fasterxml.jackson.annotation.JsonProperty("FATAL") + FATAL("FATAL"), + @com.fasterxml.jackson.annotation.JsonProperty("NONE") + NONE("NONE"); + + java.lang.String value; + + Level(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * The log level threshold. Log events with a lower log level are discarded. + */ + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The log level threshold. Log events with a lower log level are discarded.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Level level; + + public Level getLevel() { + return level; + } + + public void setLevel(Level level) { + this.level = level; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/containers/Loggers.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/containers/Loggers.java new file mode 100644 index 00000000..fea14b8f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/logging/containers/Loggers.java @@ -0,0 +1,55 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.logging.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Loggers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + public enum Level { + + @com.fasterxml.jackson.annotation.JsonProperty("TRACE") + TRACE("TRACE"), + @com.fasterxml.jackson.annotation.JsonProperty("DEBUG") + DEBUG("DEBUG"), + @com.fasterxml.jackson.annotation.JsonProperty("INFO") + INFO("INFO"), + @com.fasterxml.jackson.annotation.JsonProperty("WARN") + WARN("WARN"), + @com.fasterxml.jackson.annotation.JsonProperty("ERROR") + ERROR("ERROR"), + @com.fasterxml.jackson.annotation.JsonProperty("FATAL") + FATAL("FATAL"), + @com.fasterxml.jackson.annotation.JsonProperty("NONE") + NONE("NONE"); + + java.lang.String value; + + Level(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * The log level threshold. Log events with a lower log level are discarded. + */ + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The log level threshold. Log events with a lower log level are discarded.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Level level; + + public Level getLevel() { + return level; + } + + public void setLevel(Level level) { + this.level = level; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/resources/Cpu.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/resources/Cpu.java new file mode 100644 index 00000000..20c518da --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/resources/Cpu.java @@ -0,0 +1,115 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"max","min"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Cpu implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. + * + * The serialization format is: + * + * ``` ::= + * + * (Note that may be empty, from the "" case in .) + * + * ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= "+" | "-" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei + * + * (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) + * + * ::= m | "" | k | M | G | T | P | E + * + * (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) + * + * ::= "e" | "E" ``` + * + * No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. + * + * When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. + * + * Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: + * + * - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. + * + * The sign will be omitted unless the number is negative. + * + * Examples: + * + * - 1.5 will be serialized as "1500m" - 1.5Gi will be serialized as "1536Mi" + * + * Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. + * + * Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) + * + * This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + */ + @com.fasterxml.jackson.annotation.JsonProperty("max") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String max; + + public String getMax() { + return max; + } + + public void setMax(String max) { + this.max = max; + } + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. + * + * The serialization format is: + * + * ``` ::= + * + * (Note that may be empty, from the "" case in .) + * + * ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= "+" | "-" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei + * + * (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) + * + * ::= m | "" | k | M | G | T | P | E + * + * (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) + * + * ::= "e" | "E" ``` + * + * No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. + * + * When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. + * + * Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: + * + * - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. + * + * The sign will be omitted unless the number is negative. + * + * Examples: + * + * - 1.5 will be serialized as "1500m" - 1.5Gi will be serialized as "1536Mi" + * + * Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. + * + * Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) + * + * This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + */ + @com.fasterxml.jackson.annotation.JsonProperty("min") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String min; + + public String getMin() { + return min; + } + + public void setMin(String min) { + this.min = min; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/resources/Memory.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/resources/Memory.java new file mode 100644 index 00000000..74a2807c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/resources/Memory.java @@ -0,0 +1,74 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"limit","runtimeLimits"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Memory implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. + * + * The serialization format is: + * + * ``` ::= + * + * (Note that may be empty, from the "" case in .) + * + * ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= "+" | "-" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei + * + * (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) + * + * ::= m | "" | k | M | G | T | P | E + * + * (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) + * + * ::= "e" | "E" ``` + * + * No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. + * + * When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. + * + * Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: + * + * - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. + * + * The sign will be omitted unless the number is negative. + * + * Examples: + * + * - 1.5 will be serialized as "1500m" - 1.5Gi will be serialized as "1536Mi" + * + * Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. + * + * Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) + * + * This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + */ + @com.fasterxml.jackson.annotation.JsonProperty("limit") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String limit; + + public String getLimit() { + return limit; + } + + public void setLimit(String limit) { + this.limit = limit; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runtimeLimits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources.memory.RuntimeLimits runtimeLimits; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources.memory.RuntimeLimits getRuntimeLimits() { + return runtimeLimits; + } + + public void setRuntimeLimits(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources.memory.RuntimeLimits runtimeLimits) { + this.runtimeLimits = runtimeLimits; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/resources/Storage.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/resources/Storage.java new file mode 100644 index 00000000..ca7247b5 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/resources/Storage.java @@ -0,0 +1,9 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Storage implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/resources/memory/RuntimeLimits.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/resources/memory/RuntimeLimits.java new file mode 100644 index 00000000..3f785980 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/config/resources/memory/RuntimeLimits.java @@ -0,0 +1,9 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.config.resources.memory; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RuntimeLimits implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/Metadata.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/Metadata.java new file mode 100644 index 00000000..fed9b1fb --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/Metadata.java @@ -0,0 +1,189 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"annotations","creationTimestamp","deletionGracePeriodSeconds","deletionTimestamp","finalizers","generateName","generation","labels","managedFields","name","namespace","ownerReferences","resourceVersion","selfLink","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Metadata implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("annotations") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map annotations; + + public java.util.Map getAnnotations() { + return annotations; + } + + public void setAnnotations(java.util.Map annotations) { + this.annotations = annotations; + } + + @com.fasterxml.jackson.annotation.JsonProperty("creationTimestamp") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String creationTimestamp; + + public String getCreationTimestamp() { + return creationTimestamp; + } + + public void setCreationTimestamp(String creationTimestamp) { + this.creationTimestamp = creationTimestamp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("deletionGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long deletionGracePeriodSeconds; + + public Long getDeletionGracePeriodSeconds() { + return deletionGracePeriodSeconds; + } + + public void setDeletionGracePeriodSeconds(Long deletionGracePeriodSeconds) { + this.deletionGracePeriodSeconds = deletionGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("deletionTimestamp") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String deletionTimestamp; + + public String getDeletionTimestamp() { + return deletionTimestamp; + } + + public void setDeletionTimestamp(String deletionTimestamp) { + this.deletionTimestamp = deletionTimestamp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("finalizers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List finalizers; + + public java.util.List getFinalizers() { + return finalizers; + } + + public void setFinalizers(java.util.List finalizers) { + this.finalizers = finalizers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("generateName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String generateName; + + public String getGenerateName() { + return generateName; + } + + public void setGenerateName(String generateName) { + this.generateName = generateName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("generation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long generation; + + public Long getGeneration() { + return generation; + } + + public void setGeneration(Long generation) { + this.generation = generation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("labels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map labels; + + public java.util.Map getLabels() { + return labels; + } + + public void setLabels(java.util.Map labels) { + this.labels = labels; + } + + @com.fasterxml.jackson.annotation.JsonProperty("managedFields") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List managedFields; + + public java.util.List getManagedFields() { + return managedFields; + } + + public void setManagedFields(java.util.List managedFields) { + this.managedFields = managedFields; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ownerReferences") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ownerReferences; + + public java.util.List getOwnerReferences() { + return ownerReferences; + } + + public void setOwnerReferences(java.util.List ownerReferences) { + this.ownerReferences = ownerReferences; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceVersion; + + public String getResourceVersion() { + return resourceVersion; + } + + public void setResourceVersion(String resourceVersion) { + this.resourceVersion = resourceVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("selfLink") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String selfLink; + + public String getSelfLink() { + return selfLink; + } + + public void setSelfLink(String selfLink) { + this.selfLink = selfLink; + } + + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/Spec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/Spec.java new file mode 100644 index 00000000..fb429b91 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/Spec.java @@ -0,0 +1,477 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"activeDeadlineSeconds","affinity","automountServiceAccountToken","containers","dnsConfig","dnsPolicy","enableServiceLinks","ephemeralContainers","hostAliases","hostIPC","hostNetwork","hostPID","hostUsers","hostname","imagePullSecrets","initContainers","nodeName","nodeSelector","os","overhead","preemptionPolicy","priority","priorityClassName","readinessGates","resourceClaims","restartPolicy","runtimeClassName","schedulerName","schedulingGates","securityContext","serviceAccount","serviceAccountName","setHostnameAsFQDN","shareProcessNamespace","subdomain","terminationGracePeriodSeconds","tolerations","topologySpreadConstraints","volumes"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Spec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("activeDeadlineSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long activeDeadlineSeconds; + + public Long getActiveDeadlineSeconds() { + return activeDeadlineSeconds; + } + + public void setActiveDeadlineSeconds(Long activeDeadlineSeconds) { + this.activeDeadlineSeconds = activeDeadlineSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("affinity") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.Affinity affinity; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.Affinity getAffinity() { + return affinity; + } + + public void setAffinity(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.Affinity affinity) { + this.affinity = affinity; + } + + @com.fasterxml.jackson.annotation.JsonProperty("automountServiceAccountToken") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean automountServiceAccountToken; + + public Boolean getAutomountServiceAccountToken() { + return automountServiceAccountToken; + } + + public void setAutomountServiceAccountToken(Boolean automountServiceAccountToken) { + this.automountServiceAccountToken = automountServiceAccountToken; + } + + @com.fasterxml.jackson.annotation.JsonProperty("containers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List containers; + + public java.util.List getContainers() { + return containers; + } + + public void setContainers(java.util.List containers) { + this.containers = containers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dnsConfig") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.DnsConfig dnsConfig; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.DnsConfig getDnsConfig() { + return dnsConfig; + } + + public void setDnsConfig(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.DnsConfig dnsConfig) { + this.dnsConfig = dnsConfig; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dnsPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String dnsPolicy; + + public String getDnsPolicy() { + return dnsPolicy; + } + + public void setDnsPolicy(String dnsPolicy) { + this.dnsPolicy = dnsPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("enableServiceLinks") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean enableServiceLinks; + + public Boolean getEnableServiceLinks() { + return enableServiceLinks; + } + + public void setEnableServiceLinks(Boolean enableServiceLinks) { + this.enableServiceLinks = enableServiceLinks; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ephemeralContainers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ephemeralContainers; + + public java.util.List getEphemeralContainers() { + return ephemeralContainers; + } + + public void setEphemeralContainers(java.util.List ephemeralContainers) { + this.ephemeralContainers = ephemeralContainers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostAliases") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List hostAliases; + + public java.util.List getHostAliases() { + return hostAliases; + } + + public void setHostAliases(java.util.List hostAliases) { + this.hostAliases = hostAliases; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostIPC") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostIPC; + + public Boolean getHostIPC() { + return hostIPC; + } + + public void setHostIPC(Boolean hostIPC) { + this.hostIPC = hostIPC; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostNetwork") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostNetwork; + + public Boolean getHostNetwork() { + return hostNetwork; + } + + public void setHostNetwork(Boolean hostNetwork) { + this.hostNetwork = hostNetwork; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostPID; + + public Boolean getHostPID() { + return hostPID; + } + + public void setHostPID(Boolean hostPID) { + this.hostPID = hostPID; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostUsers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostUsers; + + public Boolean getHostUsers() { + return hostUsers; + } + + public void setHostUsers(Boolean hostUsers) { + this.hostUsers = hostUsers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostname") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostname; + + public String getHostname() { + return hostname; + } + + public void setHostname(String hostname) { + this.hostname = hostname; + } + + @com.fasterxml.jackson.annotation.JsonProperty("imagePullSecrets") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List imagePullSecrets; + + public java.util.List getImagePullSecrets() { + return imagePullSecrets; + } + + public void setImagePullSecrets(java.util.List imagePullSecrets) { + this.imagePullSecrets = imagePullSecrets; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initContainers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List initContainers; + + public java.util.List getInitContainers() { + return initContainers; + } + + public void setInitContainers(java.util.List initContainers) { + this.initContainers = initContainers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String nodeName; + + public String getNodeName() { + return nodeName; + } + + public void setNodeName(String nodeName) { + this.nodeName = nodeName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map nodeSelector; + + public java.util.Map getNodeSelector() { + return nodeSelector; + } + + public void setNodeSelector(java.util.Map nodeSelector) { + this.nodeSelector = nodeSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("os") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.Os os; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.Os getOs() { + return os; + } + + public void setOs(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.Os os) { + this.os = os; + } + + @com.fasterxml.jackson.annotation.JsonProperty("overhead") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map overhead; + + public java.util.Map getOverhead() { + return overhead; + } + + public void setOverhead(java.util.Map overhead) { + this.overhead = overhead; + } + + @com.fasterxml.jackson.annotation.JsonProperty("preemptionPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String preemptionPolicy; + + public String getPreemptionPolicy() { + return preemptionPolicy; + } + + public void setPreemptionPolicy(String preemptionPolicy) { + this.preemptionPolicy = preemptionPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("priority") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer priority; + + public Integer getPriority() { + return priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } + + @com.fasterxml.jackson.annotation.JsonProperty("priorityClassName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String priorityClassName; + + public String getPriorityClassName() { + return priorityClassName; + } + + public void setPriorityClassName(String priorityClassName) { + this.priorityClassName = priorityClassName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readinessGates") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List readinessGates; + + public java.util.List getReadinessGates() { + return readinessGates; + } + + public void setReadinessGates(java.util.List readinessGates) { + this.readinessGates = readinessGates; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceClaims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List resourceClaims; + + public java.util.List getResourceClaims() { + return resourceClaims; + } + + public void setResourceClaims(java.util.List resourceClaims) { + this.resourceClaims = resourceClaims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runtimeClassName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runtimeClassName; + + public String getRuntimeClassName() { + return runtimeClassName; + } + + public void setRuntimeClassName(String runtimeClassName) { + this.runtimeClassName = runtimeClassName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("schedulerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String schedulerName; + + public String getSchedulerName() { + return schedulerName; + } + + public void setSchedulerName(String schedulerName) { + this.schedulerName = schedulerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("schedulingGates") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List schedulingGates; + + public java.util.List getSchedulingGates() { + return schedulingGates; + } + + public void setSchedulingGates(java.util.List schedulingGates) { + this.schedulingGates = schedulingGates; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityContext") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.SecurityContext securityContext; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.SecurityContext getSecurityContext() { + return securityContext; + } + + public void setSecurityContext(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("serviceAccount") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String serviceAccount; + + public String getServiceAccount() { + return serviceAccount; + } + + public void setServiceAccount(String serviceAccount) { + this.serviceAccount = serviceAccount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("serviceAccountName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String serviceAccountName; + + public String getServiceAccountName() { + return serviceAccountName; + } + + public void setServiceAccountName(String serviceAccountName) { + this.serviceAccountName = serviceAccountName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("setHostnameAsFQDN") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean setHostnameAsFQDN; + + public Boolean getSetHostnameAsFQDN() { + return setHostnameAsFQDN; + } + + public void setSetHostnameAsFQDN(Boolean setHostnameAsFQDN) { + this.setHostnameAsFQDN = setHostnameAsFQDN; + } + + @com.fasterxml.jackson.annotation.JsonProperty("shareProcessNamespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean shareProcessNamespace; + + public Boolean getShareProcessNamespace() { + return shareProcessNamespace; + } + + public void setShareProcessNamespace(Boolean shareProcessNamespace) { + this.shareProcessNamespace = shareProcessNamespace; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subdomain") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subdomain; + + public String getSubdomain() { + return subdomain; + } + + public void setSubdomain(String subdomain) { + this.subdomain = subdomain; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tolerations") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List tolerations; + + public java.util.List getTolerations() { + return tolerations; + } + + public void setTolerations(java.util.List tolerations) { + this.tolerations = tolerations; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologySpreadConstraints") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List topologySpreadConstraints; + + public java.util.List getTopologySpreadConstraints() { + return topologySpreadConstraints; + } + + public void setTopologySpreadConstraints(java.util.List topologySpreadConstraints) { + this.topologySpreadConstraints = topologySpreadConstraints; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumes") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumes; + + public java.util.List getVolumes() { + return volumes; + } + + public void setVolumes(java.util.List volumes) { + this.volumes = volumes; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/metadata/ManagedFields.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/metadata/ManagedFields.java new file mode 100644 index 00000000..f3f5f8de --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/metadata/ManagedFields.java @@ -0,0 +1,93 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.metadata; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldsType","fieldsV1","manager","operation","subresource","time"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ManagedFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldsType; + + public String getFieldsType() { + return fieldsType; + } + + public void setFieldsType(String fieldsType) { + this.fieldsType = fieldsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldsV1") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.metadata.managedfields.FieldsV1 fieldsV1; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.metadata.managedfields.FieldsV1 getFieldsV1() { + return fieldsV1; + } + + public void setFieldsV1(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.metadata.managedfields.FieldsV1 fieldsV1) { + this.fieldsV1 = fieldsV1; + } + + @com.fasterxml.jackson.annotation.JsonProperty("manager") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String manager; + + public String getManager() { + return manager; + } + + public void setManager(String manager) { + this.manager = manager; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operation; + + public String getOperation() { + return operation; + } + + public void setOperation(String operation) { + this.operation = operation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subresource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subresource; + + public String getSubresource() { + return subresource; + } + + public void setSubresource(String subresource) { + this.subresource = subresource; + } + + @com.fasterxml.jackson.annotation.JsonProperty("time") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String time; + + public String getTime() { + return time; + } + + public void setTime(String time) { + this.time = time; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/metadata/OwnerReferences.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/metadata/OwnerReferences.java new file mode 100644 index 00000000..c1e507ed --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/metadata/OwnerReferences.java @@ -0,0 +1,81 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.metadata; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","blockOwnerDeletion","controller","kind","name","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class OwnerReferences implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("blockOwnerDeletion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean blockOwnerDeletion; + + public Boolean getBlockOwnerDeletion() { + return blockOwnerDeletion; + } + + public void setBlockOwnerDeletion(Boolean blockOwnerDeletion) { + this.blockOwnerDeletion = blockOwnerDeletion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("controller") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean controller; + + public Boolean getController() { + return controller; + } + + public void setController(Boolean controller) { + this.controller = controller; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/metadata/managedfields/FieldsV1.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/metadata/managedfields/FieldsV1.java new file mode 100644 index 00000000..012f6260 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/metadata/managedfields/FieldsV1.java @@ -0,0 +1,9 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.metadata.managedfields; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldsV1 implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Affinity.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Affinity.java new file mode 100644 index 00000000..ac774e1b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Affinity.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"nodeAffinity","podAffinity","podAntiAffinity"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Affinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("nodeAffinity") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.NodeAffinity nodeAffinity; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.NodeAffinity getNodeAffinity() { + return nodeAffinity; + } + + public void setNodeAffinity(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.NodeAffinity nodeAffinity) { + this.nodeAffinity = nodeAffinity; + } + + @com.fasterxml.jackson.annotation.JsonProperty("podAffinity") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.PodAffinity podAffinity; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.PodAffinity getPodAffinity() { + return podAffinity; + } + + public void setPodAffinity(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.PodAffinity podAffinity) { + this.podAffinity = podAffinity; + } + + @com.fasterxml.jackson.annotation.JsonProperty("podAntiAffinity") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.PodAntiAffinity podAntiAffinity; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.PodAntiAffinity getPodAntiAffinity() { + return podAntiAffinity; + } + + public void setPodAntiAffinity(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.PodAntiAffinity podAntiAffinity) { + this.podAntiAffinity = podAntiAffinity; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Containers.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Containers.java new file mode 100644 index 00000000..95a4e96d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Containers.java @@ -0,0 +1,297 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"args","command","env","envFrom","image","imagePullPolicy","lifecycle","livenessProbe","name","ports","readinessProbe","resizePolicy","resources","restartPolicy","securityContext","startupProbe","stdin","stdinOnce","terminationMessagePath","terminationMessagePolicy","tty","volumeDevices","volumeMounts","workingDir"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Containers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("args") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List args; + + public java.util.List getArgs() { + return args; + } + + public void setArgs(java.util.List args) { + this.args = args; + } + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } + + @com.fasterxml.jackson.annotation.JsonProperty("env") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List env; + + public java.util.List getEnv() { + return env; + } + + public void setEnv(java.util.List env) { + this.env = env; + } + + @com.fasterxml.jackson.annotation.JsonProperty("envFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List envFrom; + + public java.util.List getEnvFrom() { + return envFrom; + } + + public void setEnvFrom(java.util.List envFrom) { + this.envFrom = envFrom; + } + + @com.fasterxml.jackson.annotation.JsonProperty("image") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String image; + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + @com.fasterxml.jackson.annotation.JsonProperty("imagePullPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String imagePullPolicy; + + public String getImagePullPolicy() { + return imagePullPolicy; + } + + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycle") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.Lifecycle lifecycle; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.Lifecycle getLifecycle() { + return lifecycle; + } + + public void setLifecycle(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.Lifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @com.fasterxml.jackson.annotation.JsonProperty("livenessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.LivenessProbe livenessProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.LivenessProbe getLivenessProbe() { + return livenessProbe; + } + + public void setLivenessProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.LivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ports") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ports; + + public java.util.List getPorts() { + return ports; + } + + public void setPorts(java.util.List ports) { + this.ports = ports; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readinessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.ReadinessProbe readinessProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.ReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + public void setReadinessProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.ReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resizePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List resizePolicy; + + public java.util.List getResizePolicy() { + return resizePolicy; + } + + public void setResizePolicy(java.util.List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.Resources resources; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityContext") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.SecurityContext securityContext; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.SecurityContext getSecurityContext() { + return securityContext; + } + + public void setSecurityContext(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("startupProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.StartupProbe startupProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.StartupProbe getStartupProbe() { + return startupProbe; + } + + public void setStartupProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.StartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdin") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdin; + + public Boolean getStdin() { + return stdin; + } + + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdinOnce") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdinOnce; + + public Boolean getStdinOnce() { + return stdinOnce; + } + + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePath; + + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePolicy; + + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tty") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean tty; + + public Boolean getTty() { + return tty; + } + + public void setTty(Boolean tty) { + this.tty = tty; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeDevices") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeDevices; + + public java.util.List getVolumeDevices() { + return volumeDevices; + } + + public void setVolumeDevices(java.util.List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeMounts") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeMounts; + + public java.util.List getVolumeMounts() { + return volumeMounts; + } + + public void setVolumeMounts(java.util.List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @com.fasterxml.jackson.annotation.JsonProperty("workingDir") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String workingDir; + + public String getWorkingDir() { + return workingDir; + } + + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/DnsConfig.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/DnsConfig.java new file mode 100644 index 00000000..16fb8427 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/DnsConfig.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"nameservers","options","searches"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DnsConfig implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("nameservers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List nameservers; + + public java.util.List getNameservers() { + return nameservers; + } + + public void setNameservers(java.util.List nameservers) { + this.nameservers = nameservers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("options") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List options; + + public java.util.List getOptions() { + return options; + } + + public void setOptions(java.util.List options) { + this.options = options; + } + + @com.fasterxml.jackson.annotation.JsonProperty("searches") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List searches; + + public java.util.List getSearches() { + return searches; + } + + public void setSearches(java.util.List searches) { + this.searches = searches; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/EphemeralContainers.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/EphemeralContainers.java new file mode 100644 index 00000000..15b6e556 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/EphemeralContainers.java @@ -0,0 +1,309 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"args","command","env","envFrom","image","imagePullPolicy","lifecycle","livenessProbe","name","ports","readinessProbe","resizePolicy","resources","restartPolicy","securityContext","startupProbe","stdin","stdinOnce","targetContainerName","terminationMessagePath","terminationMessagePolicy","tty","volumeDevices","volumeMounts","workingDir"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EphemeralContainers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("args") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List args; + + public java.util.List getArgs() { + return args; + } + + public void setArgs(java.util.List args) { + this.args = args; + } + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } + + @com.fasterxml.jackson.annotation.JsonProperty("env") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List env; + + public java.util.List getEnv() { + return env; + } + + public void setEnv(java.util.List env) { + this.env = env; + } + + @com.fasterxml.jackson.annotation.JsonProperty("envFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List envFrom; + + public java.util.List getEnvFrom() { + return envFrom; + } + + public void setEnvFrom(java.util.List envFrom) { + this.envFrom = envFrom; + } + + @com.fasterxml.jackson.annotation.JsonProperty("image") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String image; + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + @com.fasterxml.jackson.annotation.JsonProperty("imagePullPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String imagePullPolicy; + + public String getImagePullPolicy() { + return imagePullPolicy; + } + + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycle") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.Lifecycle lifecycle; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.Lifecycle getLifecycle() { + return lifecycle; + } + + public void setLifecycle(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.Lifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @com.fasterxml.jackson.annotation.JsonProperty("livenessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.LivenessProbe livenessProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.LivenessProbe getLivenessProbe() { + return livenessProbe; + } + + public void setLivenessProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.LivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ports") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ports; + + public java.util.List getPorts() { + return ports; + } + + public void setPorts(java.util.List ports) { + this.ports = ports; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readinessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.ReadinessProbe readinessProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.ReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + public void setReadinessProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.ReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resizePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List resizePolicy; + + public java.util.List getResizePolicy() { + return resizePolicy; + } + + public void setResizePolicy(java.util.List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.Resources resources; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityContext") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.SecurityContext securityContext; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.SecurityContext getSecurityContext() { + return securityContext; + } + + public void setSecurityContext(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("startupProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.StartupProbe startupProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.StartupProbe getStartupProbe() { + return startupProbe; + } + + public void setStartupProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.StartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdin") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdin; + + public Boolean getStdin() { + return stdin; + } + + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdinOnce") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdinOnce; + + public Boolean getStdinOnce() { + return stdinOnce; + } + + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @com.fasterxml.jackson.annotation.JsonProperty("targetContainerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String targetContainerName; + + public String getTargetContainerName() { + return targetContainerName; + } + + public void setTargetContainerName(String targetContainerName) { + this.targetContainerName = targetContainerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePath; + + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePolicy; + + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tty") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean tty; + + public Boolean getTty() { + return tty; + } + + public void setTty(Boolean tty) { + this.tty = tty; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeDevices") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeDevices; + + public java.util.List getVolumeDevices() { + return volumeDevices; + } + + public void setVolumeDevices(java.util.List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeMounts") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeMounts; + + public java.util.List getVolumeMounts() { + return volumeMounts; + } + + public void setVolumeMounts(java.util.List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @com.fasterxml.jackson.annotation.JsonProperty("workingDir") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String workingDir; + + public String getWorkingDir() { + return workingDir; + } + + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/HostAliases.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/HostAliases.java new file mode 100644 index 00000000..bea5b5be --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/HostAliases.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"hostnames","ip"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HostAliases implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("hostnames") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List hostnames; + + public java.util.List getHostnames() { + return hostnames; + } + + public void setHostnames(java.util.List hostnames) { + this.hostnames = hostnames; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ip") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String ip; + + public String getIp() { + return ip; + } + + public void setIp(String ip) { + this.ip = ip; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ImagePullSecrets.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ImagePullSecrets.java new file mode 100644 index 00000000..5ef34802 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ImagePullSecrets.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ImagePullSecrets implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/InitContainers.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/InitContainers.java new file mode 100644 index 00000000..f53e62a8 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/InitContainers.java @@ -0,0 +1,297 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"args","command","env","envFrom","image","imagePullPolicy","lifecycle","livenessProbe","name","ports","readinessProbe","resizePolicy","resources","restartPolicy","securityContext","startupProbe","stdin","stdinOnce","terminationMessagePath","terminationMessagePolicy","tty","volumeDevices","volumeMounts","workingDir"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class InitContainers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("args") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List args; + + public java.util.List getArgs() { + return args; + } + + public void setArgs(java.util.List args) { + this.args = args; + } + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } + + @com.fasterxml.jackson.annotation.JsonProperty("env") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List env; + + public java.util.List getEnv() { + return env; + } + + public void setEnv(java.util.List env) { + this.env = env; + } + + @com.fasterxml.jackson.annotation.JsonProperty("envFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List envFrom; + + public java.util.List getEnvFrom() { + return envFrom; + } + + public void setEnvFrom(java.util.List envFrom) { + this.envFrom = envFrom; + } + + @com.fasterxml.jackson.annotation.JsonProperty("image") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String image; + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + @com.fasterxml.jackson.annotation.JsonProperty("imagePullPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String imagePullPolicy; + + public String getImagePullPolicy() { + return imagePullPolicy; + } + + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycle") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.Lifecycle lifecycle; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.Lifecycle getLifecycle() { + return lifecycle; + } + + public void setLifecycle(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.Lifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @com.fasterxml.jackson.annotation.JsonProperty("livenessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.LivenessProbe livenessProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.LivenessProbe getLivenessProbe() { + return livenessProbe; + } + + public void setLivenessProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.LivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ports") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ports; + + public java.util.List getPorts() { + return ports; + } + + public void setPorts(java.util.List ports) { + this.ports = ports; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readinessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.ReadinessProbe readinessProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.ReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + public void setReadinessProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.ReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resizePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List resizePolicy; + + public java.util.List getResizePolicy() { + return resizePolicy; + } + + public void setResizePolicy(java.util.List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.Resources resources; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityContext") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.SecurityContext securityContext; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.SecurityContext getSecurityContext() { + return securityContext; + } + + public void setSecurityContext(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("startupProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.StartupProbe startupProbe; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.StartupProbe getStartupProbe() { + return startupProbe; + } + + public void setStartupProbe(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.StartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdin") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdin; + + public Boolean getStdin() { + return stdin; + } + + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdinOnce") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdinOnce; + + public Boolean getStdinOnce() { + return stdinOnce; + } + + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePath; + + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePolicy; + + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tty") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean tty; + + public Boolean getTty() { + return tty; + } + + public void setTty(Boolean tty) { + this.tty = tty; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeDevices") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeDevices; + + public java.util.List getVolumeDevices() { + return volumeDevices; + } + + public void setVolumeDevices(java.util.List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeMounts") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeMounts; + + public java.util.List getVolumeMounts() { + return volumeMounts; + } + + public void setVolumeMounts(java.util.List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @com.fasterxml.jackson.annotation.JsonProperty("workingDir") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String workingDir; + + public String getWorkingDir() { + return workingDir; + } + + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Os.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Os.java new file mode 100644 index 00000000..f7b07743 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Os.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Os implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ReadinessGates.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ReadinessGates.java new file mode 100644 index 00000000..4aa61485 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ReadinessGates.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"conditionType"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ReadinessGates implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("conditionType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String conditionType; + + public String getConditionType() { + return conditionType; + } + + public void setConditionType(String conditionType) { + this.conditionType = conditionType; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ResourceClaims.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ResourceClaims.java new file mode 100644 index 00000000..deea87ed --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ResourceClaims.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","source"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceClaims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("source") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.resourceclaims.Source source; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.resourceclaims.Source getSource() { + return source; + } + + public void setSource(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.resourceclaims.Source source) { + this.source = source; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/SchedulingGates.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/SchedulingGates.java new file mode 100644 index 00000000..c4e266d5 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/SchedulingGates.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SchedulingGates implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/SecurityContext.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/SecurityContext.java new file mode 100644 index 00000000..6f3263f7 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/SecurityContext.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsGroup","fsGroupChangePolicy","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","supplementalGroups","sysctls","windowsOptions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecurityContext implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long fsGroup; + + public Long getFsGroup() { + return fsGroup; + } + + public void setFsGroup(Long fsGroup) { + this.fsGroup = fsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsGroupChangePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsGroupChangePolicy; + + public String getFsGroupChangePolicy() { + return fsGroupChangePolicy; + } + + public void setFsGroupChangePolicy(String fsGroupChangePolicy) { + this.fsGroupChangePolicy = fsGroupChangePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsGroup; + + public Long getRunAsGroup() { + return runAsGroup; + } + + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsNonRoot") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean runAsNonRoot; + + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUser") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsUser; + + public Long getRunAsUser() { + return runAsUser; + } + + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.SeLinuxOptions seLinuxOptions; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.SeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + public void setSeLinuxOptions(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.SeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.SeccompProfile seccompProfile; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.SeccompProfile getSeccompProfile() { + return seccompProfile; + } + + public void setSeccompProfile(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.SeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("supplementalGroups") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List supplementalGroups; + + public java.util.List getSupplementalGroups() { + return supplementalGroups; + } + + public void setSupplementalGroups(java.util.List supplementalGroups) { + this.supplementalGroups = supplementalGroups; + } + + @com.fasterxml.jackson.annotation.JsonProperty("sysctls") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List sysctls; + + public java.util.List getSysctls() { + return sysctls; + } + + public void setSysctls(java.util.List sysctls) { + this.sysctls = sysctls; + } + + @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.WindowsOptions windowsOptions; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.WindowsOptions getWindowsOptions() { + return windowsOptions; + } + + public void setWindowsOptions(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.WindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Tolerations.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Tolerations.java new file mode 100644 index 00000000..b3838c0a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Tolerations.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"effect","key","operator","tolerationSeconds","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Tolerations implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("effect") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String effect; + + public String getEffect() { + return effect; + } + + public void setEffect(String effect) { + this.effect = effect; + } + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tolerationSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long tolerationSeconds; + + public Long getTolerationSeconds() { + return tolerationSeconds; + } + + public void setTolerationSeconds(Long tolerationSeconds) { + this.tolerationSeconds = tolerationSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/TopologySpreadConstraints.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/TopologySpreadConstraints.java new file mode 100644 index 00000000..fa9d89ce --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/TopologySpreadConstraints.java @@ -0,0 +1,105 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","matchLabelKeys","maxSkew","minDomains","nodeAffinityPolicy","nodeTaintsPolicy","topologyKey","whenUnsatisfiable"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TopologySpreadConstraints implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.topologyspreadconstraints.LabelSelector labelSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.topologyspreadconstraints.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.topologyspreadconstraints.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabelKeys") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchLabelKeys; + + public java.util.List getMatchLabelKeys() { + return matchLabelKeys; + } + + public void setMatchLabelKeys(java.util.List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @com.fasterxml.jackson.annotation.JsonProperty("maxSkew") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer maxSkew; + + public Integer getMaxSkew() { + return maxSkew; + } + + public void setMaxSkew(Integer maxSkew) { + this.maxSkew = maxSkew; + } + + @com.fasterxml.jackson.annotation.JsonProperty("minDomains") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer minDomains; + + public Integer getMinDomains() { + return minDomains; + } + + public void setMinDomains(Integer minDomains) { + this.minDomains = minDomains; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeAffinityPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String nodeAffinityPolicy; + + public String getNodeAffinityPolicy() { + return nodeAffinityPolicy; + } + + public void setNodeAffinityPolicy(String nodeAffinityPolicy) { + this.nodeAffinityPolicy = nodeAffinityPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeTaintsPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String nodeTaintsPolicy; + + public String getNodeTaintsPolicy() { + return nodeTaintsPolicy; + } + + public void setNodeTaintsPolicy(String nodeTaintsPolicy) { + this.nodeTaintsPolicy = nodeTaintsPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @com.fasterxml.jackson.annotation.JsonProperty("whenUnsatisfiable") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String whenUnsatisfiable; + + public String getWhenUnsatisfiable() { + return whenUnsatisfiable; + } + + public void setWhenUnsatisfiable(String whenUnsatisfiable) { + this.whenUnsatisfiable = whenUnsatisfiable; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Volumes.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Volumes.java new file mode 100644 index 00000000..0a2b0be9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/Volumes.java @@ -0,0 +1,369 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"awsElasticBlockStore","azureDisk","azureFile","cephfs","cinder","configMap","csi","downwardAPI","emptyDir","ephemeral","fc","flexVolume","flocker","gcePersistentDisk","gitRepo","glusterfs","hostPath","iscsi","name","nfs","persistentVolumeClaim","photonPersistentDisk","portworxVolume","projected","quobyte","rbd","scaleIO","secret","storageos","vsphereVolume"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Volumes implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("awsElasticBlockStore") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.AwsElasticBlockStore awsElasticBlockStore; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.AwsElasticBlockStore getAwsElasticBlockStore() { + return awsElasticBlockStore; + } + + public void setAwsElasticBlockStore(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.AwsElasticBlockStore awsElasticBlockStore) { + this.awsElasticBlockStore = awsElasticBlockStore; + } + + @com.fasterxml.jackson.annotation.JsonProperty("azureDisk") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.AzureDisk azureDisk; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.AzureDisk getAzureDisk() { + return azureDisk; + } + + public void setAzureDisk(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.AzureDisk azureDisk) { + this.azureDisk = azureDisk; + } + + @com.fasterxml.jackson.annotation.JsonProperty("azureFile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.AzureFile azureFile; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.AzureFile getAzureFile() { + return azureFile; + } + + public void setAzureFile(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.AzureFile azureFile) { + this.azureFile = azureFile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("cephfs") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Cephfs cephfs; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Cephfs getCephfs() { + return cephfs; + } + + public void setCephfs(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Cephfs cephfs) { + this.cephfs = cephfs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("cinder") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Cinder cinder; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Cinder getCinder() { + return cinder; + } + + public void setCinder(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Cinder cinder) { + this.cinder = cinder; + } + + @com.fasterxml.jackson.annotation.JsonProperty("configMap") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ConfigMap configMap; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ConfigMap getConfigMap() { + return configMap; + } + + public void setConfigMap(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ConfigMap configMap) { + this.configMap = configMap; + } + + @com.fasterxml.jackson.annotation.JsonProperty("csi") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Csi csi; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Csi getCsi() { + return csi; + } + + public void setCsi(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Csi csi) { + this.csi = csi; + } + + @com.fasterxml.jackson.annotation.JsonProperty("downwardAPI") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.DownwardAPI downwardAPI; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.DownwardAPI getDownwardAPI() { + return downwardAPI; + } + + public void setDownwardAPI(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.DownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @com.fasterxml.jackson.annotation.JsonProperty("emptyDir") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.EmptyDir emptyDir; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.EmptyDir getEmptyDir() { + return emptyDir; + } + + public void setEmptyDir(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.EmptyDir emptyDir) { + this.emptyDir = emptyDir; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ephemeral") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Ephemeral ephemeral; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Ephemeral getEphemeral() { + return ephemeral; + } + + public void setEphemeral(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Ephemeral ephemeral) { + this.ephemeral = ephemeral; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Fc fc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Fc getFc() { + return fc; + } + + public void setFc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Fc fc) { + this.fc = fc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("flexVolume") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.FlexVolume flexVolume; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.FlexVolume getFlexVolume() { + return flexVolume; + } + + public void setFlexVolume(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.FlexVolume flexVolume) { + this.flexVolume = flexVolume; + } + + @com.fasterxml.jackson.annotation.JsonProperty("flocker") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Flocker flocker; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Flocker getFlocker() { + return flocker; + } + + public void setFlocker(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Flocker flocker) { + this.flocker = flocker; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gcePersistentDisk") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.GcePersistentDisk gcePersistentDisk; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.GcePersistentDisk getGcePersistentDisk() { + return gcePersistentDisk; + } + + public void setGcePersistentDisk(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.GcePersistentDisk gcePersistentDisk) { + this.gcePersistentDisk = gcePersistentDisk; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gitRepo") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.GitRepo gitRepo; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.GitRepo getGitRepo() { + return gitRepo; + } + + public void setGitRepo(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.GitRepo gitRepo) { + this.gitRepo = gitRepo; + } + + @com.fasterxml.jackson.annotation.JsonProperty("glusterfs") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Glusterfs glusterfs; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Glusterfs getGlusterfs() { + return glusterfs; + } + + public void setGlusterfs(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Glusterfs glusterfs) { + this.glusterfs = glusterfs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.HostPath hostPath; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.HostPath getHostPath() { + return hostPath; + } + + public void setHostPath(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.HostPath hostPath) { + this.hostPath = hostPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("iscsi") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Iscsi iscsi; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Iscsi getIscsi() { + return iscsi; + } + + public void setIscsi(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Iscsi iscsi) { + this.iscsi = iscsi; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nfs") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Nfs nfs; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Nfs getNfs() { + return nfs; + } + + public void setNfs(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Nfs nfs) { + this.nfs = nfs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("persistentVolumeClaim") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.PersistentVolumeClaim persistentVolumeClaim; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.PersistentVolumeClaim getPersistentVolumeClaim() { + return persistentVolumeClaim; + } + + public void setPersistentVolumeClaim(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.PersistentVolumeClaim persistentVolumeClaim) { + this.persistentVolumeClaim = persistentVolumeClaim; + } + + @com.fasterxml.jackson.annotation.JsonProperty("photonPersistentDisk") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.PhotonPersistentDisk photonPersistentDisk; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.PhotonPersistentDisk getPhotonPersistentDisk() { + return photonPersistentDisk; + } + + public void setPhotonPersistentDisk(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.PhotonPersistentDisk photonPersistentDisk) { + this.photonPersistentDisk = photonPersistentDisk; + } + + @com.fasterxml.jackson.annotation.JsonProperty("portworxVolume") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.PortworxVolume portworxVolume; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.PortworxVolume getPortworxVolume() { + return portworxVolume; + } + + public void setPortworxVolume(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.PortworxVolume portworxVolume) { + this.portworxVolume = portworxVolume; + } + + @com.fasterxml.jackson.annotation.JsonProperty("projected") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Projected projected; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Projected getProjected() { + return projected; + } + + public void setProjected(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Projected projected) { + this.projected = projected; + } + + @com.fasterxml.jackson.annotation.JsonProperty("quobyte") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Quobyte quobyte; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Quobyte getQuobyte() { + return quobyte; + } + + public void setQuobyte(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Quobyte quobyte) { + this.quobyte = quobyte; + } + + @com.fasterxml.jackson.annotation.JsonProperty("rbd") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Rbd rbd; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Rbd getRbd() { + return rbd; + } + + public void setRbd(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Rbd rbd) { + this.rbd = rbd; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleIO") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ScaleIO scaleIO; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ScaleIO getScaleIO() { + return scaleIO; + } + + public void setScaleIO(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ScaleIO scaleIO) { + this.scaleIO = scaleIO; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secret") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Secret secret; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Secret getSecret() { + return secret; + } + + public void setSecret(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Secret secret) { + this.secret = secret; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storageos") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Storageos storageos; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Storageos getStorageos() { + return storageos; + } + + public void setStorageos(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.Storageos storageos) { + this.storageos = storageos; + } + + @com.fasterxml.jackson.annotation.JsonProperty("vsphereVolume") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.VsphereVolume vsphereVolume; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.VsphereVolume getVsphereVolume() { + return vsphereVolume; + } + + public void setVsphereVolume(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.VsphereVolume vsphereVolume) { + this.vsphereVolume = vsphereVolume; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/NodeAffinity.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/NodeAffinity.java new file mode 100644 index 00000000..cea78334 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/NodeAffinity.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodeAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/PodAffinity.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/PodAffinity.java new file mode 100644 index 00000000..53861542 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/PodAffinity.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List requiredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(java.util.List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/PodAntiAffinity.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/PodAntiAffinity.java new file mode 100644 index 00000000..c43f80d0 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/PodAntiAffinity.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAntiAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List requiredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(java.util.List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..2a132244 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preference","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("preference") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference preference; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference getPreference() { + return preference; + } + + public void setPreference(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference preference) { + this.preference = preference; + } + + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..befa0406 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"nodeSelectorTerms"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("nodeSelectorTerms") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List nodeSelectorTerms; + + public java.util.List getNodeSelectorTerms() { + return nodeSelectorTerms; + } + + public void setNodeSelectorTerms(java.util.List nodeSelectorTerms) { + this.nodeSelectorTerms = nodeSelectorTerms; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java new file mode 100644 index 00000000..3b741e9c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchFields"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Preference implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchFields") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchFields; + + public java.util.List getMatchFields() { + return matchFields; + } + + public void setMatchFields(java.util.List matchFields) { + this.matchFields = matchFields; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java new file mode 100644 index 00000000..4a58bbef --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.preference; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java new file mode 100644 index 00000000..b00d1598 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.preference; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java new file mode 100644 index 00000000..1c581fb0 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchFields"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodeSelectorTerms implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchFields") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchFields; + + public java.util.List getMatchFields() { + return matchFields; + } + + public void setMatchFields(java.util.List matchFields) { + this.matchFields = matchFields; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java new file mode 100644 index 00000000..bc4ec312 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution.nodeselectorterms; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java new file mode 100644 index 00000000..27ea8f7f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution.nodeselectorterms; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..5b72fa86 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"podAffinityTerm","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("podAffinityTerm") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + public void setPodAffinityTerm(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..d75e7c59 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java new file mode 100644 index 00000000..4d88d648 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinityTerm implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java new file mode 100644 index 00000000..3605004c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java new file mode 100644 index 00000000..bde7df54 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java new file mode 100644 index 00000000..a2185cc6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..077dbab6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java new file mode 100644 index 00000000..0316b25b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java new file mode 100644 index 00000000..178eb89c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java new file mode 100644 index 00000000..f7571fe3 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..58f72cc5 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..62c5b58c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"podAffinityTerm","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("podAffinityTerm") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + public void setPodAffinityTerm(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..58a29941 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java new file mode 100644 index 00000000..24d8a773 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinityTerm implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java new file mode 100644 index 00000000..ec716d71 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java new file mode 100644 index 00000000..a6eabd15 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java new file mode 100644 index 00000000..a651365d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..fa7e57b1 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java new file mode 100644 index 00000000..152c5b2f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java new file mode 100644 index 00000000..612a3827 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java new file mode 100644 index 00000000..cfc4f5bb --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..3c7720bc --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/Env.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/Env.java new file mode 100644 index 00000000..02c40461 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/Env.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value","valueFrom"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Env implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonProperty("valueFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.ValueFrom valueFrom; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.ValueFrom getValueFrom() { + return valueFrom; + } + + public void setValueFrom(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.ValueFrom valueFrom) { + this.valueFrom = valueFrom; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/EnvFrom.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/EnvFrom.java new file mode 100644 index 00000000..0e4e8a13 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/EnvFrom.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapRef","prefix","secretRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EnvFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.envfrom.ConfigMapRef configMapRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.envfrom.ConfigMapRef getConfigMapRef() { + return configMapRef; + } + + public void setConfigMapRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.envfrom.ConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("prefix") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String prefix; + + public String getPrefix() { + return prefix; + } + + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.envfrom.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.envfrom.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.envfrom.SecretRef secretRef) { + this.secretRef = secretRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/Lifecycle.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/Lifecycle.java new file mode 100644 index 00000000..dfd6049d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/Lifecycle.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"postStart","preStop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Lifecycle implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("postStart") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.PostStart postStart; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.PostStart getPostStart() { + return postStart; + } + + public void setPostStart(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.PostStart postStart) { + this.postStart = postStart; + } + + @com.fasterxml.jackson.annotation.JsonProperty("preStop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.PreStop preStop; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.PreStop getPreStop() { + return preStop; + } + + public void setPreStop(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.PreStop preStop) { + this.preStop = preStop; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/LivenessProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/LivenessProbe.java new file mode 100644 index 00000000..7c7a2300 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/LivenessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LivenessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/Ports.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/Ports.java new file mode 100644 index 00000000..aa508290 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/Ports.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerPort","hostIP","hostPort","name","protocol"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ports implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer containerPort; + + public Integer getContainerPort() { + return containerPort; + } + + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostIP") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostIP; + + public String getHostIP() { + return hostIP; + } + + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer hostPort; + + public Integer getHostPort() { + return hostPort; + } + + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protocol; + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/ReadinessProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/ReadinessProbe.java new file mode 100644 index 00000000..9947d5d9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/ReadinessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ReadinessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/ResizePolicy.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/ResizePolicy.java new file mode 100644 index 00000000..45cd25ff --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/ResizePolicy.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"resourceName","restartPolicy"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResizePolicy implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceName; + + public String getResourceName() { + return resourceName; + } + + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/Resources.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/Resources.java new file mode 100644 index 00000000..d6df18c5 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List claims; + + public java.util.List getClaims() { + return claims; + } + + public void setClaims(java.util.List claims) { + this.claims = claims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("limits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map limits; + + public java.util.Map getLimits() { + return limits; + } + + public void setLimits(java.util.Map limits) { + this.limits = limits; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requests") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map requests; + + public java.util.Map getRequests() { + return requests; + } + + public void setRequests(java.util.Map requests) { + this.requests = requests; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/SecurityContext.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/SecurityContext.java new file mode 100644 index 00000000..3155afac --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/SecurityContext.java @@ -0,0 +1,141 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"allowPrivilegeEscalation","capabilities","privileged","procMount","readOnlyRootFilesystem","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","windowsOptions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecurityContext implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("allowPrivilegeEscalation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean allowPrivilegeEscalation; + + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("capabilities") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.Capabilities capabilities; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.Capabilities getCapabilities() { + return capabilities; + } + + public void setCapabilities(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.Capabilities capabilities) { + this.capabilities = capabilities; + } + + @com.fasterxml.jackson.annotation.JsonProperty("privileged") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean privileged; + + public Boolean getPrivileged() { + return privileged; + } + + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @com.fasterxml.jackson.annotation.JsonProperty("procMount") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String procMount; + + public String getProcMount() { + return procMount; + } + + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnlyRootFilesystem") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnlyRootFilesystem; + + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsGroup; + + public Long getRunAsGroup() { + return runAsGroup; + } + + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsNonRoot") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean runAsNonRoot; + + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUser") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsUser; + + public Long getRunAsUser() { + return runAsUser; + } + + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.SeLinuxOptions seLinuxOptions; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.SeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + public void setSeLinuxOptions(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.SeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.SeccompProfile seccompProfile; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.SeccompProfile getSeccompProfile() { + return seccompProfile; + } + + public void setSeccompProfile(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.SeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.WindowsOptions windowsOptions; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.WindowsOptions getWindowsOptions() { + return windowsOptions; + } + + public void setWindowsOptions(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.WindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/StartupProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/StartupProbe.java new file mode 100644 index 00000000..daa0e33a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/StartupProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class StartupProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/VolumeDevices.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/VolumeDevices.java new file mode 100644 index 00000000..866c6873 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/VolumeDevices.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"devicePath","name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeDevices implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("devicePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String devicePath; + + public String getDevicePath() { + return devicePath; + } + + public void setDevicePath(String devicePath) { + this.devicePath = devicePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/VolumeMounts.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/VolumeMounts.java new file mode 100644 index 00000000..b54f9379 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/VolumeMounts.java @@ -0,0 +1,81 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"mountPath","mountPropagation","name","readOnly","subPath","subPathExpr"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeMounts implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("mountPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPath; + + public String getMountPath() { + return mountPath; + } + + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mountPropagation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPropagation; + + public String getMountPropagation() { + return mountPropagation; + } + + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPath; + + public String getSubPath() { + return subPath; + } + + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPathExpr") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPathExpr; + + public String getSubPathExpr() { + return subPathExpr; + } + + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/ValueFrom.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/ValueFrom.java new file mode 100644 index 00000000..270783a7 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/ValueFrom.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapKeyRef","fieldRef","resourceFieldRef","secretKeyRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ValueFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.ConfigMapKeyRef configMapKeyRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.ConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + public void setConfigMapKeyRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.ConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.FieldRef fieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.ResourceFieldRef resourceFieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.SecretKeyRef secretKeyRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.SecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + public void setSecretKeyRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.SecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/ConfigMapKeyRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/ConfigMapKeyRef.java new file mode 100644 index 00000000..8b30da37 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/ConfigMapKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/FieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/FieldRef.java new file mode 100644 index 00000000..805d5eda --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/ResourceFieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/ResourceFieldRef.java new file mode 100644 index 00000000..26b1d9dc --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/SecretKeyRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/SecretKeyRef.java new file mode 100644 index 00000000..c7e81ecc --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/SecretKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/envfrom/ConfigMapRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/envfrom/ConfigMapRef.java new file mode 100644 index 00000000..2c41ec33 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/envfrom/ConfigMapRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/envfrom/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/envfrom/SecretRef.java new file mode 100644 index 00000000..92ca6658 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/envfrom/SecretRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/PostStart.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/PostStart.java new file mode 100644 index 00000000..dd67d692 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/PostStart.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PostStart implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/PreStop.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/PreStop.java new file mode 100644 index 00000000..8df9e416 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/PreStop.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreStop implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/Exec.java new file mode 100644 index 00000000..298d21c3 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/HttpGet.java new file mode 100644 index 00000000..9c373e16 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/TcpSocket.java new file mode 100644 index 00000000..ac6b7c31 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/httpget/HttpHeaders.java new file mode 100644 index 00000000..97398601 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/Exec.java new file mode 100644 index 00000000..9fb0a05a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/HttpGet.java new file mode 100644 index 00000000..e9c5eff7 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/TcpSocket.java new file mode 100644 index 00000000..f99a1f97 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/httpget/HttpHeaders.java new file mode 100644 index 00000000..46c51518 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/Exec.java new file mode 100644 index 00000000..7d5bbbe5 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/Grpc.java new file mode 100644 index 00000000..d9bdda19 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/HttpGet.java new file mode 100644 index 00000000..0cecac5c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/TcpSocket.java new file mode 100644 index 00000000..218ed67a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..8be1b982 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/Exec.java new file mode 100644 index 00000000..1b26feae --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/Grpc.java new file mode 100644 index 00000000..05346b87 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/HttpGet.java new file mode 100644 index 00000000..71fc2dc7 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/TcpSocket.java new file mode 100644 index 00000000..3ddc423e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..ef1432eb --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/resources/Claims.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/resources/Claims.java new file mode 100644 index 00000000..75546a44 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/resources/Claims.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Claims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/Capabilities.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/Capabilities.java new file mode 100644 index 00000000..0ca2bf3c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/Capabilities.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"add","drop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Capabilities implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("add") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List add; + + public java.util.List getAdd() { + return add; + } + + public void setAdd(java.util.List add) { + this.add = add; + } + + @com.fasterxml.jackson.annotation.JsonProperty("drop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List drop; + + public java.util.List getDrop() { + return drop; + } + + public void setDrop(java.util.List drop) { + this.drop = drop; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/SeLinuxOptions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/SeLinuxOptions.java new file mode 100644 index 00000000..37f90bdf --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/SeLinuxOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeLinuxOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String level; + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + @com.fasterxml.jackson.annotation.JsonProperty("role") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String role; + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/SeccompProfile.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/SeccompProfile.java new file mode 100644 index 00000000..d4e1dd65 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/SeccompProfile.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeccompProfile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("localhostProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String localhostProfile; + + public String getLocalhostProfile() { + return localhostProfile; + } + + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/WindowsOptions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/WindowsOptions.java new file mode 100644 index 00000000..873eb23d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/WindowsOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WindowsOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpec; + + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpecName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpecName; + + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostProcess") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostProcess; + + public Boolean getHostProcess() { + return hostProcess; + } + + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUserName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runAsUserName; + + public String getRunAsUserName() { + return runAsUserName; + } + + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/Exec.java new file mode 100644 index 00000000..5a586f69 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/Grpc.java new file mode 100644 index 00000000..1e89d20b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/HttpGet.java new file mode 100644 index 00000000..41c40e6d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/TcpSocket.java new file mode 100644 index 00000000..6cd891d2 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..159352f9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/dnsconfig/Options.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/dnsconfig/Options.java new file mode 100644 index 00000000..151e3eba --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/dnsconfig/Options.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.dnsconfig; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Options implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Env.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Env.java new file mode 100644 index 00000000..3cf7c9dd --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Env.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value","valueFrom"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Env implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonProperty("valueFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.ValueFrom valueFrom; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.ValueFrom getValueFrom() { + return valueFrom; + } + + public void setValueFrom(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.ValueFrom valueFrom) { + this.valueFrom = valueFrom; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/EnvFrom.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/EnvFrom.java new file mode 100644 index 00000000..6e9343d9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/EnvFrom.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapRef","prefix","secretRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EnvFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.envfrom.ConfigMapRef configMapRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.envfrom.ConfigMapRef getConfigMapRef() { + return configMapRef; + } + + public void setConfigMapRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.envfrom.ConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("prefix") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String prefix; + + public String getPrefix() { + return prefix; + } + + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.envfrom.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.envfrom.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.envfrom.SecretRef secretRef) { + this.secretRef = secretRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Lifecycle.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Lifecycle.java new file mode 100644 index 00000000..27252c1a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Lifecycle.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"postStart","preStop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Lifecycle implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("postStart") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.PostStart postStart; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.PostStart getPostStart() { + return postStart; + } + + public void setPostStart(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.PostStart postStart) { + this.postStart = postStart; + } + + @com.fasterxml.jackson.annotation.JsonProperty("preStop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.PreStop preStop; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.PreStop getPreStop() { + return preStop; + } + + public void setPreStop(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.PreStop preStop) { + this.preStop = preStop; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/LivenessProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/LivenessProbe.java new file mode 100644 index 00000000..766b2e89 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/LivenessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LivenessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Ports.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Ports.java new file mode 100644 index 00000000..6adfc59f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Ports.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerPort","hostIP","hostPort","name","protocol"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ports implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer containerPort; + + public Integer getContainerPort() { + return containerPort; + } + + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostIP") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostIP; + + public String getHostIP() { + return hostIP; + } + + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer hostPort; + + public Integer getHostPort() { + return hostPort; + } + + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protocol; + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/ReadinessProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/ReadinessProbe.java new file mode 100644 index 00000000..0fcd0ff8 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/ReadinessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ReadinessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/ResizePolicy.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/ResizePolicy.java new file mode 100644 index 00000000..c7fd9bd6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/ResizePolicy.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"resourceName","restartPolicy"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResizePolicy implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceName; + + public String getResourceName() { + return resourceName; + } + + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Resources.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Resources.java new file mode 100644 index 00000000..72bafe6a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List claims; + + public java.util.List getClaims() { + return claims; + } + + public void setClaims(java.util.List claims) { + this.claims = claims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("limits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map limits; + + public java.util.Map getLimits() { + return limits; + } + + public void setLimits(java.util.Map limits) { + this.limits = limits; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requests") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map requests; + + public java.util.Map getRequests() { + return requests; + } + + public void setRequests(java.util.Map requests) { + this.requests = requests; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/SecurityContext.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/SecurityContext.java new file mode 100644 index 00000000..8a6dac89 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/SecurityContext.java @@ -0,0 +1,141 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"allowPrivilegeEscalation","capabilities","privileged","procMount","readOnlyRootFilesystem","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","windowsOptions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecurityContext implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("allowPrivilegeEscalation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean allowPrivilegeEscalation; + + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("capabilities") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.Capabilities capabilities; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.Capabilities getCapabilities() { + return capabilities; + } + + public void setCapabilities(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.Capabilities capabilities) { + this.capabilities = capabilities; + } + + @com.fasterxml.jackson.annotation.JsonProperty("privileged") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean privileged; + + public Boolean getPrivileged() { + return privileged; + } + + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @com.fasterxml.jackson.annotation.JsonProperty("procMount") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String procMount; + + public String getProcMount() { + return procMount; + } + + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnlyRootFilesystem") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnlyRootFilesystem; + + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsGroup; + + public Long getRunAsGroup() { + return runAsGroup; + } + + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsNonRoot") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean runAsNonRoot; + + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUser") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsUser; + + public Long getRunAsUser() { + return runAsUser; + } + + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.SeLinuxOptions seLinuxOptions; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.SeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + public void setSeLinuxOptions(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.SeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.SeccompProfile seccompProfile; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.SeccompProfile getSeccompProfile() { + return seccompProfile; + } + + public void setSeccompProfile(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.SeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.WindowsOptions windowsOptions; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.WindowsOptions getWindowsOptions() { + return windowsOptions; + } + + public void setWindowsOptions(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.WindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/StartupProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/StartupProbe.java new file mode 100644 index 00000000..61c83963 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/StartupProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class StartupProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/VolumeDevices.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/VolumeDevices.java new file mode 100644 index 00000000..165cb8ea --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/VolumeDevices.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"devicePath","name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeDevices implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("devicePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String devicePath; + + public String getDevicePath() { + return devicePath; + } + + public void setDevicePath(String devicePath) { + this.devicePath = devicePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/VolumeMounts.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/VolumeMounts.java new file mode 100644 index 00000000..fcf35ef8 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/VolumeMounts.java @@ -0,0 +1,81 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"mountPath","mountPropagation","name","readOnly","subPath","subPathExpr"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeMounts implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("mountPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPath; + + public String getMountPath() { + return mountPath; + } + + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mountPropagation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPropagation; + + public String getMountPropagation() { + return mountPropagation; + } + + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPath; + + public String getSubPath() { + return subPath; + } + + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPathExpr") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPathExpr; + + public String getSubPathExpr() { + return subPathExpr; + } + + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/ValueFrom.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/ValueFrom.java new file mode 100644 index 00000000..746c398c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/ValueFrom.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapKeyRef","fieldRef","resourceFieldRef","secretKeyRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ValueFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.ConfigMapKeyRef configMapKeyRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.ConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + public void setConfigMapKeyRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.ConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.FieldRef fieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.ResourceFieldRef resourceFieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.SecretKeyRef secretKeyRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.SecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + public void setSecretKeyRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.SecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/ConfigMapKeyRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/ConfigMapKeyRef.java new file mode 100644 index 00000000..292efc9f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/ConfigMapKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/FieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/FieldRef.java new file mode 100644 index 00000000..e6eca91e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/ResourceFieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/ResourceFieldRef.java new file mode 100644 index 00000000..cd1fba38 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/SecretKeyRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/SecretKeyRef.java new file mode 100644 index 00000000..35eaf3a4 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/SecretKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/envfrom/ConfigMapRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/envfrom/ConfigMapRef.java new file mode 100644 index 00000000..b2cbd64e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/envfrom/ConfigMapRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/envfrom/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/envfrom/SecretRef.java new file mode 100644 index 00000000..7d5ae916 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/envfrom/SecretRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/PostStart.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/PostStart.java new file mode 100644 index 00000000..10ba1fc8 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/PostStart.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PostStart implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/PreStop.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/PreStop.java new file mode 100644 index 00000000..fdb1ff46 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/PreStop.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreStop implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/Exec.java new file mode 100644 index 00000000..0b51ee88 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/HttpGet.java new file mode 100644 index 00000000..5c24a817 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/TcpSocket.java new file mode 100644 index 00000000..9e4fdc03 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/httpget/HttpHeaders.java new file mode 100644 index 00000000..c7eb5499 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/Exec.java new file mode 100644 index 00000000..a2bf76b0 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/HttpGet.java new file mode 100644 index 00000000..b5929995 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/TcpSocket.java new file mode 100644 index 00000000..82766889 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/httpget/HttpHeaders.java new file mode 100644 index 00000000..ffcad734 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/Exec.java new file mode 100644 index 00000000..f19a9022 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/Grpc.java new file mode 100644 index 00000000..6105610e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/HttpGet.java new file mode 100644 index 00000000..5e15611a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/TcpSocket.java new file mode 100644 index 00000000..19cf3b47 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..b78f9358 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/Exec.java new file mode 100644 index 00000000..e4f546fe --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/Grpc.java new file mode 100644 index 00000000..16fc4408 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/HttpGet.java new file mode 100644 index 00000000..30772019 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/TcpSocket.java new file mode 100644 index 00000000..944f54be --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..a18ad8af --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/resources/Claims.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/resources/Claims.java new file mode 100644 index 00000000..a7d56b29 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/resources/Claims.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Claims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/Capabilities.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/Capabilities.java new file mode 100644 index 00000000..c0415e67 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/Capabilities.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"add","drop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Capabilities implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("add") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List add; + + public java.util.List getAdd() { + return add; + } + + public void setAdd(java.util.List add) { + this.add = add; + } + + @com.fasterxml.jackson.annotation.JsonProperty("drop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List drop; + + public java.util.List getDrop() { + return drop; + } + + public void setDrop(java.util.List drop) { + this.drop = drop; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/SeLinuxOptions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/SeLinuxOptions.java new file mode 100644 index 00000000..9da1d3bc --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/SeLinuxOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeLinuxOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String level; + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + @com.fasterxml.jackson.annotation.JsonProperty("role") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String role; + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/SeccompProfile.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/SeccompProfile.java new file mode 100644 index 00000000..35cdea79 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/SeccompProfile.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeccompProfile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("localhostProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String localhostProfile; + + public String getLocalhostProfile() { + return localhostProfile; + } + + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/WindowsOptions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/WindowsOptions.java new file mode 100644 index 00000000..42c1f147 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/WindowsOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WindowsOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpec; + + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpecName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpecName; + + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostProcess") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostProcess; + + public Boolean getHostProcess() { + return hostProcess; + } + + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUserName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runAsUserName; + + public String getRunAsUserName() { + return runAsUserName; + } + + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/Exec.java new file mode 100644 index 00000000..e3a38cba --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/Grpc.java new file mode 100644 index 00000000..56630ce0 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/HttpGet.java new file mode 100644 index 00000000..871fe52e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/TcpSocket.java new file mode 100644 index 00000000..5a67448e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..9c6b4426 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Env.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Env.java new file mode 100644 index 00000000..94298550 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Env.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value","valueFrom"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Env implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonProperty("valueFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.ValueFrom valueFrom; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.ValueFrom getValueFrom() { + return valueFrom; + } + + public void setValueFrom(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.ValueFrom valueFrom) { + this.valueFrom = valueFrom; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/EnvFrom.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/EnvFrom.java new file mode 100644 index 00000000..7a34cd83 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/EnvFrom.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapRef","prefix","secretRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EnvFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.envfrom.ConfigMapRef configMapRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.envfrom.ConfigMapRef getConfigMapRef() { + return configMapRef; + } + + public void setConfigMapRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.envfrom.ConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("prefix") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String prefix; + + public String getPrefix() { + return prefix; + } + + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.envfrom.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.envfrom.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.envfrom.SecretRef secretRef) { + this.secretRef = secretRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Lifecycle.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Lifecycle.java new file mode 100644 index 00000000..1e9a18dc --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Lifecycle.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"postStart","preStop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Lifecycle implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("postStart") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.PostStart postStart; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.PostStart getPostStart() { + return postStart; + } + + public void setPostStart(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.PostStart postStart) { + this.postStart = postStart; + } + + @com.fasterxml.jackson.annotation.JsonProperty("preStop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.PreStop preStop; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.PreStop getPreStop() { + return preStop; + } + + public void setPreStop(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.PreStop preStop) { + this.preStop = preStop; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/LivenessProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/LivenessProbe.java new file mode 100644 index 00000000..1008bc8a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/LivenessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LivenessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Ports.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Ports.java new file mode 100644 index 00000000..6382d6d8 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Ports.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerPort","hostIP","hostPort","name","protocol"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ports implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer containerPort; + + public Integer getContainerPort() { + return containerPort; + } + + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostIP") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostIP; + + public String getHostIP() { + return hostIP; + } + + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer hostPort; + + public Integer getHostPort() { + return hostPort; + } + + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protocol; + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/ReadinessProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/ReadinessProbe.java new file mode 100644 index 00000000..77537469 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/ReadinessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ReadinessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/ResizePolicy.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/ResizePolicy.java new file mode 100644 index 00000000..5d894281 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/ResizePolicy.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"resourceName","restartPolicy"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResizePolicy implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceName; + + public String getResourceName() { + return resourceName; + } + + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Resources.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Resources.java new file mode 100644 index 00000000..dac187dd --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List claims; + + public java.util.List getClaims() { + return claims; + } + + public void setClaims(java.util.List claims) { + this.claims = claims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("limits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map limits; + + public java.util.Map getLimits() { + return limits; + } + + public void setLimits(java.util.Map limits) { + this.limits = limits; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requests") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map requests; + + public java.util.Map getRequests() { + return requests; + } + + public void setRequests(java.util.Map requests) { + this.requests = requests; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/SecurityContext.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/SecurityContext.java new file mode 100644 index 00000000..8e1deced --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/SecurityContext.java @@ -0,0 +1,141 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"allowPrivilegeEscalation","capabilities","privileged","procMount","readOnlyRootFilesystem","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","windowsOptions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecurityContext implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("allowPrivilegeEscalation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean allowPrivilegeEscalation; + + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("capabilities") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.Capabilities capabilities; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.Capabilities getCapabilities() { + return capabilities; + } + + public void setCapabilities(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.Capabilities capabilities) { + this.capabilities = capabilities; + } + + @com.fasterxml.jackson.annotation.JsonProperty("privileged") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean privileged; + + public Boolean getPrivileged() { + return privileged; + } + + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @com.fasterxml.jackson.annotation.JsonProperty("procMount") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String procMount; + + public String getProcMount() { + return procMount; + } + + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnlyRootFilesystem") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnlyRootFilesystem; + + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsGroup; + + public Long getRunAsGroup() { + return runAsGroup; + } + + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsNonRoot") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean runAsNonRoot; + + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUser") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsUser; + + public Long getRunAsUser() { + return runAsUser; + } + + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.SeLinuxOptions seLinuxOptions; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.SeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + public void setSeLinuxOptions(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.SeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.SeccompProfile seccompProfile; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.SeccompProfile getSeccompProfile() { + return seccompProfile; + } + + public void setSeccompProfile(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.SeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.WindowsOptions windowsOptions; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.WindowsOptions getWindowsOptions() { + return windowsOptions; + } + + public void setWindowsOptions(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.WindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/StartupProbe.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/StartupProbe.java new file mode 100644 index 00000000..c0216b4b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/StartupProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class StartupProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.Grpc grpc; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/VolumeDevices.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/VolumeDevices.java new file mode 100644 index 00000000..57bde600 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/VolumeDevices.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"devicePath","name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeDevices implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("devicePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String devicePath; + + public String getDevicePath() { + return devicePath; + } + + public void setDevicePath(String devicePath) { + this.devicePath = devicePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/VolumeMounts.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/VolumeMounts.java new file mode 100644 index 00000000..77c0d474 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/VolumeMounts.java @@ -0,0 +1,81 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"mountPath","mountPropagation","name","readOnly","subPath","subPathExpr"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeMounts implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("mountPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPath; + + public String getMountPath() { + return mountPath; + } + + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mountPropagation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPropagation; + + public String getMountPropagation() { + return mountPropagation; + } + + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPath; + + public String getSubPath() { + return subPath; + } + + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPathExpr") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPathExpr; + + public String getSubPathExpr() { + return subPathExpr; + } + + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/ValueFrom.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/ValueFrom.java new file mode 100644 index 00000000..dd65c045 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/ValueFrom.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapKeyRef","fieldRef","resourceFieldRef","secretKeyRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ValueFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.ConfigMapKeyRef configMapKeyRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.ConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + public void setConfigMapKeyRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.ConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.FieldRef fieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.ResourceFieldRef resourceFieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.SecretKeyRef secretKeyRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.SecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + public void setSecretKeyRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.SecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/ConfigMapKeyRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/ConfigMapKeyRef.java new file mode 100644 index 00000000..271cdd15 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/ConfigMapKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/FieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/FieldRef.java new file mode 100644 index 00000000..28933cf1 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/ResourceFieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/ResourceFieldRef.java new file mode 100644 index 00000000..3043a0f3 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/SecretKeyRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/SecretKeyRef.java new file mode 100644 index 00000000..52071821 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/SecretKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/envfrom/ConfigMapRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/envfrom/ConfigMapRef.java new file mode 100644 index 00000000..e79dce54 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/envfrom/ConfigMapRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/envfrom/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/envfrom/SecretRef.java new file mode 100644 index 00000000..624f88df --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/envfrom/SecretRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/PostStart.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/PostStart.java new file mode 100644 index 00000000..36014d8c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/PostStart.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PostStart implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/PreStop.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/PreStop.java new file mode 100644 index 00000000..79251da2 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/PreStop.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreStop implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.Exec exec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.HttpGet httpGet; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.TcpSocket tcpSocket; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/Exec.java new file mode 100644 index 00000000..d1443eb8 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/HttpGet.java new file mode 100644 index 00000000..61b19675 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/TcpSocket.java new file mode 100644 index 00000000..2314ae83 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/httpget/HttpHeaders.java new file mode 100644 index 00000000..e553955f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/Exec.java new file mode 100644 index 00000000..32fe56c4 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/HttpGet.java new file mode 100644 index 00000000..3f294cb8 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/TcpSocket.java new file mode 100644 index 00000000..ebaa7374 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/httpget/HttpHeaders.java new file mode 100644 index 00000000..e6faf191 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/Exec.java new file mode 100644 index 00000000..c07cce45 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/Grpc.java new file mode 100644 index 00000000..6c390be3 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/HttpGet.java new file mode 100644 index 00000000..d7ab346d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/TcpSocket.java new file mode 100644 index 00000000..7b9886ea --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..647d5f60 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/Exec.java new file mode 100644 index 00000000..d9654027 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/Grpc.java new file mode 100644 index 00000000..8e37fcc1 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/HttpGet.java new file mode 100644 index 00000000..f4b379f9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/TcpSocket.java new file mode 100644 index 00000000..7a222098 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..8d9363e6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/resources/Claims.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/resources/Claims.java new file mode 100644 index 00000000..56a76073 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/resources/Claims.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Claims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/Capabilities.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/Capabilities.java new file mode 100644 index 00000000..08f163f2 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/Capabilities.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"add","drop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Capabilities implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("add") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List add; + + public java.util.List getAdd() { + return add; + } + + public void setAdd(java.util.List add) { + this.add = add; + } + + @com.fasterxml.jackson.annotation.JsonProperty("drop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List drop; + + public java.util.List getDrop() { + return drop; + } + + public void setDrop(java.util.List drop) { + this.drop = drop; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/SeLinuxOptions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/SeLinuxOptions.java new file mode 100644 index 00000000..6059a47b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/SeLinuxOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeLinuxOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String level; + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + @com.fasterxml.jackson.annotation.JsonProperty("role") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String role; + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/SeccompProfile.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/SeccompProfile.java new file mode 100644 index 00000000..81a40e77 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/SeccompProfile.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeccompProfile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("localhostProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String localhostProfile; + + public String getLocalhostProfile() { + return localhostProfile; + } + + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/WindowsOptions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/WindowsOptions.java new file mode 100644 index 00000000..b675b363 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/WindowsOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WindowsOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpec; + + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpecName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpecName; + + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostProcess") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostProcess; + + public Boolean getHostProcess() { + return hostProcess; + } + + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUserName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runAsUserName; + + public String getRunAsUserName() { + return runAsUserName; + } + + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/Exec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/Exec.java new file mode 100644 index 00000000..4e03ce53 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/Grpc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/Grpc.java new file mode 100644 index 00000000..a1312f82 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/HttpGet.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/HttpGet.java new file mode 100644 index 00000000..04c169d6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/TcpSocket.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/TcpSocket.java new file mode 100644 index 00000000..24064396 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..e1a52f57 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/resourceclaims/Source.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/resourceclaims/Source.java new file mode 100644 index 00000000..25a4e030 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/resourceclaims/Source.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.resourceclaims; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"resourceClaimName","resourceClaimTemplateName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Source implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceClaimName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceClaimName; + + public String getResourceClaimName() { + return resourceClaimName; + } + + public void setResourceClaimName(String resourceClaimName) { + this.resourceClaimName = resourceClaimName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceClaimTemplateName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceClaimTemplateName; + + public String getResourceClaimTemplateName() { + return resourceClaimTemplateName; + } + + public void setResourceClaimTemplateName(String resourceClaimTemplateName) { + this.resourceClaimTemplateName = resourceClaimTemplateName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/SeLinuxOptions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/SeLinuxOptions.java new file mode 100644 index 00000000..faf078b9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/SeLinuxOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeLinuxOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String level; + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + @com.fasterxml.jackson.annotation.JsonProperty("role") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String role; + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/SeccompProfile.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/SeccompProfile.java new file mode 100644 index 00000000..7bf36e2e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/SeccompProfile.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeccompProfile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("localhostProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String localhostProfile; + + public String getLocalhostProfile() { + return localhostProfile; + } + + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/Sysctls.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/Sysctls.java new file mode 100644 index 00000000..d0129b3a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/Sysctls.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Sysctls implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/WindowsOptions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/WindowsOptions.java new file mode 100644 index 00000000..b215a34d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/WindowsOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WindowsOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpec; + + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpecName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpecName; + + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostProcess") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostProcess; + + public Boolean getHostProcess() { + return hostProcess; + } + + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUserName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runAsUserName; + + public String getRunAsUserName() { + return runAsUserName; + } + + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/topologyspreadconstraints/LabelSelector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/topologyspreadconstraints/LabelSelector.java new file mode 100644 index 00000000..e9063e47 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/topologyspreadconstraints/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.topologyspreadconstraints; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/topologyspreadconstraints/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/topologyspreadconstraints/labelselector/MatchExpressions.java new file mode 100644 index 00000000..4c9c0525 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/topologyspreadconstraints/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.topologyspreadconstraints.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/AwsElasticBlockStore.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/AwsElasticBlockStore.java new file mode 100644 index 00000000..5e1d7e35 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/AwsElasticBlockStore.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","partition","readOnly","volumeID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class AwsElasticBlockStore implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("partition") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer partition; + + public Integer getPartition() { + return partition; + } + + public void setPartition(Integer partition) { + this.partition = partition; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeID; + + public String getVolumeID() { + return volumeID; + } + + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/AzureDisk.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/AzureDisk.java new file mode 100644 index 00000000..c22a5539 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/AzureDisk.java @@ -0,0 +1,81 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cachingMode","diskName","diskURI","fsType","kind","readOnly"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class AzureDisk implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("cachingMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String cachingMode; + + public String getCachingMode() { + return cachingMode; + } + + public void setCachingMode(String cachingMode) { + this.cachingMode = cachingMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("diskName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String diskName; + + public String getDiskName() { + return diskName; + } + + public void setDiskName(String diskName) { + this.diskName = diskName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("diskURI") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String diskURI; + + public String getDiskURI() { + return diskURI; + } + + public void setDiskURI(String diskURI) { + this.diskURI = diskURI; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/AzureFile.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/AzureFile.java new file mode 100644 index 00000000..363babc9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/AzureFile.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"readOnly","secretName","shareName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class AzureFile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretName; + + public String getSecretName() { + return secretName; + } + + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("shareName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String shareName; + + public String getShareName() { + return shareName; + } + + public void setShareName(String shareName) { + this.shareName = shareName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Cephfs.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Cephfs.java new file mode 100644 index 00000000..bb040ccd --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Cephfs.java @@ -0,0 +1,81 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"monitors","path","readOnly","secretFile","secretRef","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Cephfs implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("monitors") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List monitors; + + public java.util.List getMonitors() { + return monitors; + } + + public void setMonitors(java.util.List monitors) { + this.monitors = monitors; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretFile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretFile; + + public String getSecretFile() { + return secretFile; + } + + public void setSecretFile(String secretFile) { + this.secretFile = secretFile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.cephfs.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.cephfs.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.cephfs.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Cinder.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Cinder.java new file mode 100644 index 00000000..64233f51 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Cinder.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","readOnly","secretRef","volumeID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Cinder implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.cinder.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.cinder.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.cinder.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeID; + + public String getVolumeID() { + return volumeID; + } + + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ConfigMap.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ConfigMap.java new file mode 100644 index 00000000..753dffa9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ConfigMap.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"defaultMode","items","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMap implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("defaultMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer defaultMode; + + public Integer getDefaultMode() { + return defaultMode; + } + + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Csi.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Csi.java new file mode 100644 index 00000000..f838f77a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Csi.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"driver","fsType","nodePublishSecretRef","readOnly","volumeAttributes"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Csi implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("driver") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String driver; + + public String getDriver() { + return driver; + } + + public void setDriver(String driver) { + this.driver = driver; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodePublishSecretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.csi.NodePublishSecretRef nodePublishSecretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.csi.NodePublishSecretRef getNodePublishSecretRef() { + return nodePublishSecretRef; + } + + public void setNodePublishSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.csi.NodePublishSecretRef nodePublishSecretRef) { + this.nodePublishSecretRef = nodePublishSecretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeAttributes") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map volumeAttributes; + + public java.util.Map getVolumeAttributes() { + return volumeAttributes; + } + + public void setVolumeAttributes(java.util.Map volumeAttributes) { + this.volumeAttributes = volumeAttributes; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/DownwardAPI.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/DownwardAPI.java new file mode 100644 index 00000000..fd68b748 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/DownwardAPI.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"defaultMode","items"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DownwardAPI implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("defaultMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer defaultMode; + + public Integer getDefaultMode() { + return defaultMode; + } + + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/EmptyDir.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/EmptyDir.java new file mode 100644 index 00000000..d82c9123 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/EmptyDir.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"medium","sizeLimit"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EmptyDir implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("medium") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String medium; + + public String getMedium() { + return medium; + } + + public void setMedium(String medium) { + this.medium = medium; + } + + @com.fasterxml.jackson.annotation.JsonProperty("sizeLimit") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String sizeLimit; + + public String getSizeLimit() { + return sizeLimit; + } + + public void setSizeLimit(String sizeLimit) { + this.sizeLimit = sizeLimit; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Ephemeral.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Ephemeral.java new file mode 100644 index 00000000..435fff4e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Ephemeral.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"volumeClaimTemplate"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ephemeral implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("volumeClaimTemplate") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.VolumeClaimTemplate volumeClaimTemplate; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.VolumeClaimTemplate getVolumeClaimTemplate() { + return volumeClaimTemplate; + } + + public void setVolumeClaimTemplate(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.VolumeClaimTemplate volumeClaimTemplate) { + this.volumeClaimTemplate = volumeClaimTemplate; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Fc.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Fc.java new file mode 100644 index 00000000..4bec05ec --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Fc.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","lun","readOnly","targetWWNs","wwids"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Fc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lun") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer lun; + + public Integer getLun() { + return lun; + } + + public void setLun(Integer lun) { + this.lun = lun; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("targetWWNs") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List targetWWNs; + + public java.util.List getTargetWWNs() { + return targetWWNs; + } + + public void setTargetWWNs(java.util.List targetWWNs) { + this.targetWWNs = targetWWNs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("wwids") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List wwids; + + public java.util.List getWwids() { + return wwids; + } + + public void setWwids(java.util.List wwids) { + this.wwids = wwids; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/FlexVolume.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/FlexVolume.java new file mode 100644 index 00000000..6f133018 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/FlexVolume.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"driver","fsType","options","readOnly","secretRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FlexVolume implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("driver") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String driver; + + public String getDriver() { + return driver; + } + + public void setDriver(String driver) { + this.driver = driver; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("options") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map options; + + public java.util.Map getOptions() { + return options; + } + + public void setOptions(java.util.Map options) { + this.options = options; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.flexvolume.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.flexvolume.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.flexvolume.SecretRef secretRef) { + this.secretRef = secretRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Flocker.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Flocker.java new file mode 100644 index 00000000..19d55dd7 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Flocker.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"datasetName","datasetUUID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Flocker implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("datasetName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String datasetName; + + public String getDatasetName() { + return datasetName; + } + + public void setDatasetName(String datasetName) { + this.datasetName = datasetName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("datasetUUID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String datasetUUID; + + public String getDatasetUUID() { + return datasetUUID; + } + + public void setDatasetUUID(String datasetUUID) { + this.datasetUUID = datasetUUID; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/GcePersistentDisk.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/GcePersistentDisk.java new file mode 100644 index 00000000..45c1b85a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/GcePersistentDisk.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","partition","pdName","readOnly"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class GcePersistentDisk implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("partition") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer partition; + + public Integer getPartition() { + return partition; + } + + public void setPartition(Integer partition) { + this.partition = partition; + } + + @com.fasterxml.jackson.annotation.JsonProperty("pdName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String pdName; + + public String getPdName() { + return pdName; + } + + public void setPdName(String pdName) { + this.pdName = pdName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/GitRepo.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/GitRepo.java new file mode 100644 index 00000000..e9ac1455 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/GitRepo.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"directory","repository","revision"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class GitRepo implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("directory") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String directory; + + public String getDirectory() { + return directory; + } + + public void setDirectory(String directory) { + this.directory = directory; + } + + @com.fasterxml.jackson.annotation.JsonProperty("repository") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String repository; + + public String getRepository() { + return repository; + } + + public void setRepository(String repository) { + this.repository = repository; + } + + @com.fasterxml.jackson.annotation.JsonProperty("revision") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String revision; + + public String getRevision() { + return revision; + } + + public void setRevision(String revision) { + this.revision = revision; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Glusterfs.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Glusterfs.java new file mode 100644 index 00000000..0c40875f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Glusterfs.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"endpoints","path","readOnly"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Glusterfs implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("endpoints") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String endpoints; + + public String getEndpoints() { + return endpoints; + } + + public void setEndpoints(String endpoints) { + this.endpoints = endpoints; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/HostPath.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/HostPath.java new file mode 100644 index 00000000..d9bcd308 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/HostPath.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"path","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HostPath implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Iscsi.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Iscsi.java new file mode 100644 index 00000000..500d867c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Iscsi.java @@ -0,0 +1,141 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"chapAuthDiscovery","chapAuthSession","fsType","initiatorName","iqn","iscsiInterface","lun","portals","readOnly","secretRef","targetPortal"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Iscsi implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("chapAuthDiscovery") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean chapAuthDiscovery; + + public Boolean getChapAuthDiscovery() { + return chapAuthDiscovery; + } + + public void setChapAuthDiscovery(Boolean chapAuthDiscovery) { + this.chapAuthDiscovery = chapAuthDiscovery; + } + + @com.fasterxml.jackson.annotation.JsonProperty("chapAuthSession") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean chapAuthSession; + + public Boolean getChapAuthSession() { + return chapAuthSession; + } + + public void setChapAuthSession(Boolean chapAuthSession) { + this.chapAuthSession = chapAuthSession; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initiatorName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String initiatorName; + + public String getInitiatorName() { + return initiatorName; + } + + public void setInitiatorName(String initiatorName) { + this.initiatorName = initiatorName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("iqn") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String iqn; + + public String getIqn() { + return iqn; + } + + public void setIqn(String iqn) { + this.iqn = iqn; + } + + @com.fasterxml.jackson.annotation.JsonProperty("iscsiInterface") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String iscsiInterface; + + public String getIscsiInterface() { + return iscsiInterface; + } + + public void setIscsiInterface(String iscsiInterface) { + this.iscsiInterface = iscsiInterface; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lun") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer lun; + + public Integer getLun() { + return lun; + } + + public void setLun(Integer lun) { + this.lun = lun; + } + + @com.fasterxml.jackson.annotation.JsonProperty("portals") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List portals; + + public java.util.List getPortals() { + return portals; + } + + public void setPortals(java.util.List portals) { + this.portals = portals; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.iscsi.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.iscsi.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.iscsi.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("targetPortal") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String targetPortal; + + public String getTargetPortal() { + return targetPortal; + } + + public void setTargetPortal(String targetPortal) { + this.targetPortal = targetPortal; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Nfs.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Nfs.java new file mode 100644 index 00000000..70729765 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Nfs.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"path","readOnly","server"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Nfs implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("server") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String server; + + public String getServer() { + return server; + } + + public void setServer(String server) { + this.server = server; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/PersistentVolumeClaim.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/PersistentVolumeClaim.java new file mode 100644 index 00000000..dce434af --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/PersistentVolumeClaim.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claimName","readOnly"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PersistentVolumeClaim implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claimName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String claimName; + + public String getClaimName() { + return claimName; + } + + public void setClaimName(String claimName) { + this.claimName = claimName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/PhotonPersistentDisk.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/PhotonPersistentDisk.java new file mode 100644 index 00000000..bcff20b4 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/PhotonPersistentDisk.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","pdID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PhotonPersistentDisk implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("pdID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String pdID; + + public String getPdID() { + return pdID; + } + + public void setPdID(String pdID) { + this.pdID = pdID; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/PortworxVolume.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/PortworxVolume.java new file mode 100644 index 00000000..6f097775 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/PortworxVolume.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","readOnly","volumeID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PortworxVolume implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeID; + + public String getVolumeID() { + return volumeID; + } + + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Projected.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Projected.java new file mode 100644 index 00000000..20982c64 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Projected.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"defaultMode","sources"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Projected implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("defaultMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer defaultMode; + + public Integer getDefaultMode() { + return defaultMode; + } + + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("sources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List sources; + + public java.util.List getSources() { + return sources; + } + + public void setSources(java.util.List sources) { + this.sources = sources; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Quobyte.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Quobyte.java new file mode 100644 index 00000000..7730d2db --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Quobyte.java @@ -0,0 +1,81 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"group","readOnly","registry","tenant","user","volume"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Quobyte implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("group") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String group; + + public String getGroup() { + return group; + } + + public void setGroup(String group) { + this.group = group; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("registry") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String registry; + + public String getRegistry() { + return registry; + } + + public void setRegistry(String registry) { + this.registry = registry; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tenant") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String tenant; + + public String getTenant() { + return tenant; + } + + public void setTenant(String tenant) { + this.tenant = tenant; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volume") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volume; + + public String getVolume() { + return volume; + } + + public void setVolume(String volume) { + this.volume = volume; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Rbd.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Rbd.java new file mode 100644 index 00000000..63ae7a8e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Rbd.java @@ -0,0 +1,105 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","image","keyring","monitors","pool","readOnly","secretRef","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Rbd implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("image") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String image; + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + @com.fasterxml.jackson.annotation.JsonProperty("keyring") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String keyring; + + public String getKeyring() { + return keyring; + } + + public void setKeyring(String keyring) { + this.keyring = keyring; + } + + @com.fasterxml.jackson.annotation.JsonProperty("monitors") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List monitors; + + public java.util.List getMonitors() { + return monitors; + } + + public void setMonitors(java.util.List monitors) { + this.monitors = monitors; + } + + @com.fasterxml.jackson.annotation.JsonProperty("pool") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String pool; + + public String getPool() { + return pool; + } + + public void setPool(String pool) { + this.pool = pool; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.rbd.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.rbd.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.rbd.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ScaleIO.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ScaleIO.java new file mode 100644 index 00000000..d2c72ac6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ScaleIO.java @@ -0,0 +1,129 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","gateway","protectionDomain","readOnly","secretRef","sslEnabled","storageMode","storagePool","system","volumeName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ScaleIO implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gateway") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gateway; + + public String getGateway() { + return gateway; + } + + public void setGateway(String gateway) { + this.gateway = gateway; + } + + @com.fasterxml.jackson.annotation.JsonProperty("protectionDomain") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protectionDomain; + + public String getProtectionDomain() { + return protectionDomain; + } + + public void setProtectionDomain(String protectionDomain) { + this.protectionDomain = protectionDomain; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.scaleio.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.scaleio.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.scaleio.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("sslEnabled") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean sslEnabled; + + public Boolean getSslEnabled() { + return sslEnabled; + } + + public void setSslEnabled(Boolean sslEnabled) { + this.sslEnabled = sslEnabled; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storageMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storageMode; + + public String getStorageMode() { + return storageMode; + } + + public void setStorageMode(String storageMode) { + this.storageMode = storageMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storagePool") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storagePool; + + public String getStoragePool() { + return storagePool; + } + + public void setStoragePool(String storagePool) { + this.storagePool = storagePool; + } + + @com.fasterxml.jackson.annotation.JsonProperty("system") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String system; + + public String getSystem() { + return system; + } + + public void setSystem(String system) { + this.system = system; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeName; + + public String getVolumeName() { + return volumeName; + } + + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Secret.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Secret.java new file mode 100644 index 00000000..e043eb95 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Secret.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"defaultMode","items","optional","secretName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Secret implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("defaultMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer defaultMode; + + public Integer getDefaultMode() { + return defaultMode; + } + + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretName; + + public String getSecretName() { + return secretName; + } + + public void setSecretName(String secretName) { + this.secretName = secretName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Storageos.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Storageos.java new file mode 100644 index 00000000..4842e9c2 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/Storageos.java @@ -0,0 +1,69 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","readOnly","secretRef","volumeName","volumeNamespace"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Storageos implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.storageos.SecretRef secretRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.storageos.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.storageos.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeName; + + public String getVolumeName() { + return volumeName; + } + + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeNamespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeNamespace; + + public String getVolumeNamespace() { + return volumeNamespace; + } + + public void setVolumeNamespace(String volumeNamespace) { + this.volumeNamespace = volumeNamespace; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/VsphereVolume.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/VsphereVolume.java new file mode 100644 index 00000000..04f9cfcd --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/VsphereVolume.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","storagePolicyID","storagePolicyName","volumePath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VsphereVolume implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storagePolicyID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storagePolicyID; + + public String getStoragePolicyID() { + return storagePolicyID; + } + + public void setStoragePolicyID(String storagePolicyID) { + this.storagePolicyID = storagePolicyID; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storagePolicyName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storagePolicyName; + + public String getStoragePolicyName() { + return storagePolicyName; + } + + public void setStoragePolicyName(String storagePolicyName) { + this.storagePolicyName = storagePolicyName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumePath; + + public String getVolumePath() { + return volumePath; + } + + public void setVolumePath(String volumePath) { + this.volumePath = volumePath; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/cephfs/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/cephfs/SecretRef.java new file mode 100644 index 00000000..7d39839c --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/cephfs/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.cephfs; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/cinder/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/cinder/SecretRef.java new file mode 100644 index 00000000..d640fba4 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/cinder/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.cinder; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/configmap/Items.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/configmap/Items.java new file mode 100644 index 00000000..c60aa473 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/configmap/Items.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.configmap; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","mode","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/csi/NodePublishSecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/csi/NodePublishSecretRef.java new file mode 100644 index 00000000..09fc812d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/csi/NodePublishSecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.csi; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodePublishSecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/Items.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/Items.java new file mode 100644 index 00000000..edf70fef --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/Items.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fieldRef","mode","path","resourceFieldRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi.items.FieldRef fieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi.items.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi.items.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi.items.ResourceFieldRef resourceFieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi.items.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi.items.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/items/FieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/items/FieldRef.java new file mode 100644 index 00000000..c73256ae --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/items/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi.items; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/items/ResourceFieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/items/ResourceFieldRef.java new file mode 100644 index 00000000..a4000674 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/items/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi.items; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/VolumeClaimTemplate.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/VolumeClaimTemplate.java new file mode 100644 index 00000000..0ae4c4c7 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/VolumeClaimTemplate.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"metadata","spec"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeClaimTemplate implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Metadata metadata; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Metadata getMetadata() { + return metadata; + } + + public void setMetadata(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Metadata metadata) { + this.metadata = metadata; + } + + @com.fasterxml.jackson.annotation.JsonProperty("spec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Spec spec; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Spec getSpec() { + return spec; + } + + public void setSpec(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Spec spec) { + this.spec = spec; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Metadata.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Metadata.java new file mode 100644 index 00000000..368a17a4 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Metadata.java @@ -0,0 +1,189 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"annotations","creationTimestamp","deletionGracePeriodSeconds","deletionTimestamp","finalizers","generateName","generation","labels","managedFields","name","namespace","ownerReferences","resourceVersion","selfLink","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Metadata implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("annotations") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map annotations; + + public java.util.Map getAnnotations() { + return annotations; + } + + public void setAnnotations(java.util.Map annotations) { + this.annotations = annotations; + } + + @com.fasterxml.jackson.annotation.JsonProperty("creationTimestamp") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String creationTimestamp; + + public String getCreationTimestamp() { + return creationTimestamp; + } + + public void setCreationTimestamp(String creationTimestamp) { + this.creationTimestamp = creationTimestamp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("deletionGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long deletionGracePeriodSeconds; + + public Long getDeletionGracePeriodSeconds() { + return deletionGracePeriodSeconds; + } + + public void setDeletionGracePeriodSeconds(Long deletionGracePeriodSeconds) { + this.deletionGracePeriodSeconds = deletionGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("deletionTimestamp") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String deletionTimestamp; + + public String getDeletionTimestamp() { + return deletionTimestamp; + } + + public void setDeletionTimestamp(String deletionTimestamp) { + this.deletionTimestamp = deletionTimestamp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("finalizers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List finalizers; + + public java.util.List getFinalizers() { + return finalizers; + } + + public void setFinalizers(java.util.List finalizers) { + this.finalizers = finalizers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("generateName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String generateName; + + public String getGenerateName() { + return generateName; + } + + public void setGenerateName(String generateName) { + this.generateName = generateName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("generation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long generation; + + public Long getGeneration() { + return generation; + } + + public void setGeneration(Long generation) { + this.generation = generation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("labels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map labels; + + public java.util.Map getLabels() { + return labels; + } + + public void setLabels(java.util.Map labels) { + this.labels = labels; + } + + @com.fasterxml.jackson.annotation.JsonProperty("managedFields") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List managedFields; + + public java.util.List getManagedFields() { + return managedFields; + } + + public void setManagedFields(java.util.List managedFields) { + this.managedFields = managedFields; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ownerReferences") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ownerReferences; + + public java.util.List getOwnerReferences() { + return ownerReferences; + } + + public void setOwnerReferences(java.util.List ownerReferences) { + this.ownerReferences = ownerReferences; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceVersion; + + public String getResourceVersion() { + return resourceVersion; + } + + public void setResourceVersion(String resourceVersion) { + this.resourceVersion = resourceVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("selfLink") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String selfLink; + + public String getSelfLink() { + return selfLink; + } + + public void setSelfLink(String selfLink) { + this.selfLink = selfLink; + } + + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Spec.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Spec.java new file mode 100644 index 00000000..35846adc --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Spec.java @@ -0,0 +1,105 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"accessModes","dataSource","dataSourceRef","resources","selector","storageClassName","volumeMode","volumeName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Spec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("accessModes") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List accessModes; + + public java.util.List getAccessModes() { + return accessModes; + } + + public void setAccessModes(java.util.List accessModes) { + this.accessModes = accessModes; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dataSource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSource dataSource; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSource getDataSource() { + return dataSource; + } + + public void setDataSource(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSource dataSource) { + this.dataSource = dataSource; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dataSourceRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSourceRef dataSourceRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSourceRef getDataSourceRef() { + return dataSourceRef; + } + + public void setDataSourceRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSourceRef dataSourceRef) { + this.dataSourceRef = dataSourceRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Resources resources; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("selector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Selector selector; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Selector getSelector() { + return selector; + } + + public void setSelector(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Selector selector) { + this.selector = selector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storageClassName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storageClassName; + + public String getStorageClassName() { + return storageClassName; + } + + public void setStorageClassName(String storageClassName) { + this.storageClassName = storageClassName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeMode; + + public String getVolumeMode() { + return volumeMode; + } + + public void setVolumeMode(String volumeMode) { + this.volumeMode = volumeMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeName; + + public String getVolumeName() { + return volumeName; + } + + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/ManagedFields.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/ManagedFields.java new file mode 100644 index 00000000..cbd040ed --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/ManagedFields.java @@ -0,0 +1,93 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldsType","fieldsV1","manager","operation","subresource","time"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ManagedFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldsType; + + public String getFieldsType() { + return fieldsType; + } + + public void setFieldsType(String fieldsType) { + this.fieldsType = fieldsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldsV1") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata.managedfields.FieldsV1 fieldsV1; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata.managedfields.FieldsV1 getFieldsV1() { + return fieldsV1; + } + + public void setFieldsV1(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata.managedfields.FieldsV1 fieldsV1) { + this.fieldsV1 = fieldsV1; + } + + @com.fasterxml.jackson.annotation.JsonProperty("manager") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String manager; + + public String getManager() { + return manager; + } + + public void setManager(String manager) { + this.manager = manager; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operation; + + public String getOperation() { + return operation; + } + + public void setOperation(String operation) { + this.operation = operation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subresource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subresource; + + public String getSubresource() { + return subresource; + } + + public void setSubresource(String subresource) { + this.subresource = subresource; + } + + @com.fasterxml.jackson.annotation.JsonProperty("time") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String time; + + public String getTime() { + return time; + } + + public void setTime(String time) { + this.time = time; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/OwnerReferences.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/OwnerReferences.java new file mode 100644 index 00000000..0f8690a6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/OwnerReferences.java @@ -0,0 +1,81 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","blockOwnerDeletion","controller","kind","name","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class OwnerReferences implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("blockOwnerDeletion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean blockOwnerDeletion; + + public Boolean getBlockOwnerDeletion() { + return blockOwnerDeletion; + } + + public void setBlockOwnerDeletion(Boolean blockOwnerDeletion) { + this.blockOwnerDeletion = blockOwnerDeletion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("controller") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean controller; + + public Boolean getController() { + return controller; + } + + public void setController(Boolean controller) { + this.controller = controller; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/managedfields/FieldsV1.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/managedfields/FieldsV1.java new file mode 100644 index 00000000..f843e8ca --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/managedfields/FieldsV1.java @@ -0,0 +1,9 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata.managedfields; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldsV1 implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSource.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSource.java new file mode 100644 index 00000000..2b2a35b4 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSource.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiGroup","kind","name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DataSource implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiGroup; + + public String getApiGroup() { + return apiGroup; + } + + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSourceRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSourceRef.java new file mode 100644 index 00000000..db3fd9e1 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSourceRef.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiGroup","kind","name","namespace"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DataSourceRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiGroup; + + public String getApiGroup() { + return apiGroup; + } + + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Resources.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Resources.java new file mode 100644 index 00000000..ce86f5d3 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List claims; + + public java.util.List getClaims() { + return claims; + } + + public void setClaims(java.util.List claims) { + this.claims = claims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("limits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map limits; + + public java.util.Map getLimits() { + return limits; + } + + public void setLimits(java.util.Map limits) { + this.limits = limits; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requests") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map requests; + + public java.util.Map getRequests() { + return requests; + } + + public void setRequests(java.util.Map requests) { + this.requests = requests; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Selector.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Selector.java new file mode 100644 index 00000000..f72dcf48 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Selector.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Selector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/resources/Claims.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/resources/Claims.java new file mode 100644 index 00000000..380577c9 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/resources/Claims.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Claims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/selector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/selector/MatchExpressions.java new file mode 100644 index 00000000..2d3c8a4b --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/selector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.selector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/flexvolume/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/flexvolume/SecretRef.java new file mode 100644 index 00000000..51b6d5d6 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/flexvolume/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.flexvolume; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/iscsi/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/iscsi/SecretRef.java new file mode 100644 index 00000000..50af1ac3 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/iscsi/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.iscsi; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/Sources.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/Sources.java new file mode 100644 index 00000000..52b54e82 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/Sources.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMap","downwardAPI","secret","serviceAccountToken"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Sources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMap") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.ConfigMap configMap; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.ConfigMap getConfigMap() { + return configMap; + } + + public void setConfigMap(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.ConfigMap configMap) { + this.configMap = configMap; + } + + @com.fasterxml.jackson.annotation.JsonProperty("downwardAPI") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.DownwardAPI downwardAPI; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.DownwardAPI getDownwardAPI() { + return downwardAPI; + } + + public void setDownwardAPI(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.DownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secret") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.Secret secret; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.Secret getSecret() { + return secret; + } + + public void setSecret(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.Secret secret) { + this.secret = secret; + } + + @com.fasterxml.jackson.annotation.JsonProperty("serviceAccountToken") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.ServiceAccountToken serviceAccountToken; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.ServiceAccountToken getServiceAccountToken() { + return serviceAccountToken; + } + + public void setServiceAccountToken(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.ServiceAccountToken serviceAccountToken) { + this.serviceAccountToken = serviceAccountToken; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/ConfigMap.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/ConfigMap.java new file mode 100644 index 00000000..285dc293 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/ConfigMap.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"items","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMap implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/DownwardAPI.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/DownwardAPI.java new file mode 100644 index 00000000..49b9a243 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/DownwardAPI.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"items"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DownwardAPI implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/Secret.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/Secret.java new file mode 100644 index 00000000..fabd3c23 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/Secret.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"items","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Secret implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/ServiceAccountToken.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/ServiceAccountToken.java new file mode 100644 index 00000000..07d7828a --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/ServiceAccountToken.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"audience","expirationSeconds","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ServiceAccountToken implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("audience") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String audience; + + public String getAudience() { + return audience; + } + + public void setAudience(String audience) { + this.audience = audience; + } + + @com.fasterxml.jackson.annotation.JsonProperty("expirationSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long expirationSeconds; + + public Long getExpirationSeconds() { + return expirationSeconds; + } + + public void setExpirationSeconds(Long expirationSeconds) { + this.expirationSeconds = expirationSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/configmap/Items.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/configmap/Items.java new file mode 100644 index 00000000..0fecb7cb --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/configmap/Items.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.configmap; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","mode","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/Items.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/Items.java new file mode 100644 index 00000000..99ef8d9e --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/Items.java @@ -0,0 +1,57 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fieldRef","mode","path","resourceFieldRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi.items.FieldRef fieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi.items.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi.items.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi.items.ResourceFieldRef resourceFieldRef; + + public tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi.items.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi.items.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/items/FieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/items/FieldRef.java new file mode 100644 index 00000000..d2c19849 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/items/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi.items; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/items/ResourceFieldRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/items/ResourceFieldRef.java new file mode 100644 index 00000000..ac54ddb2 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/items/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi.items; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/secret/Items.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/secret/Items.java new file mode 100644 index 00000000..97e344f3 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/secret/Items.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.secret; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","mode","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/rbd/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/rbd/SecretRef.java new file mode 100644 index 00000000..39f3f242 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/rbd/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.rbd; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/scaleio/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/scaleio/SecretRef.java new file mode 100644 index 00000000..2fbed73d --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/scaleio/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.scaleio; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/secret/Items.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/secret/Items.java new file mode 100644 index 00000000..56ef9622 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/secret/Items.java @@ -0,0 +1,45 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.secret; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","mode","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/storageos/SecretRef.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/storageos/SecretRef.java new file mode 100644 index 00000000..eb8f4332 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/podoverrides/spec/volumes/storageos/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.podoverrides.spec.volumes.storageos; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/selector/MatchExpressions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/selector/MatchExpressions.java new file mode 100644 index 00000000..246df61f --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterspec/servers/rolegroups/selector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.opa.v1alpha1.opaclusterspec.servers.rolegroups.selector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/opa/v1alpha1/opaclusterstatus/Conditions.java b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterstatus/Conditions.java new file mode 100644 index 00000000..419e3898 --- /dev/null +++ b/src/main/java/tech/stackable/opa/v1alpha1/opaclusterstatus/Conditions.java @@ -0,0 +1,151 @@ +package tech.stackable.opa.v1alpha1.opaclusterstatus; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"lastTransitionTime","lastUpdateTime","message","reason","status","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Conditions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Last time the condition transitioned from one status to another. + */ + @com.fasterxml.jackson.annotation.JsonProperty("lastTransitionTime") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Last time the condition transitioned from one status to another.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String lastTransitionTime; + + public String getLastTransitionTime() { + return lastTransitionTime; + } + + public void setLastTransitionTime(String lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + } + + /** + * The last time this condition was updated. + */ + @com.fasterxml.jackson.annotation.JsonProperty("lastUpdateTime") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The last time this condition was updated.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String lastUpdateTime; + + public String getLastUpdateTime() { + return lastUpdateTime; + } + + public void setLastUpdateTime(String lastUpdateTime) { + this.lastUpdateTime = lastUpdateTime; + } + + /** + * A human readable message indicating details about the transition. + */ + @com.fasterxml.jackson.annotation.JsonProperty("message") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A human readable message indicating details about the transition.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String message; + + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + /** + * The reason for the condition's last transition. + */ + @com.fasterxml.jackson.annotation.JsonProperty("reason") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The reason for the condition's last transition.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String reason; + + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public enum Status { + + @com.fasterxml.jackson.annotation.JsonProperty("True") + TRUE("True"), @com.fasterxml.jackson.annotation.JsonProperty("False") + FALSE("False"), @com.fasterxml.jackson.annotation.JsonProperty("Unknown") + UNKNOWN("Unknown"); + + java.lang.String value; + + Status(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * Status of the condition, one of True, False, Unknown. + */ + @com.fasterxml.jackson.annotation.JsonProperty("status") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Status of the condition, one of True, False, Unknown.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Status status; + + public Status getStatus() { + return status; + } + + public void setStatus(Status status) { + this.status = status; + } + + public enum Type { + + @com.fasterxml.jackson.annotation.JsonProperty("Available") + AVAILABLE("Available"), @com.fasterxml.jackson.annotation.JsonProperty("Degraded") + DEGRADED("Degraded"), @com.fasterxml.jackson.annotation.JsonProperty("Progressing") + PROGRESSING("Progressing"), @com.fasterxml.jackson.annotation.JsonProperty("ReconciliationPaused") + RECONCILIATIONPAUSED("ReconciliationPaused"), @com.fasterxml.jackson.annotation.JsonProperty("Stopped") + STOPPED("Stopped"); + + java.lang.String value; + + Type(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * Type of deployment condition. + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Type of deployment condition.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Type type; + + public Type getType() { + return type; + } + + public void setType(Type type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/S3Bucket.java b/src/main/java/tech/stackable/s3/v1alpha1/S3Bucket.java new file mode 100644 index 00000000..e88190e0 --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/S3Bucket.java @@ -0,0 +1,10 @@ +package tech.stackable.s3.v1alpha1; + +@io.fabric8.kubernetes.model.annotation.Version(value = "v1alpha1" , storage = true , served = true) +@io.fabric8.kubernetes.model.annotation.Group("s3.stackable.tech") +@io.fabric8.kubernetes.model.annotation.Singular("s3bucket") +@io.fabric8.kubernetes.model.annotation.Plural("s3buckets") +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class S3Bucket extends io.fabric8.kubernetes.client.CustomResource implements io.fabric8.kubernetes.api.model.Namespaced { +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/S3BucketSpec.java b/src/main/java/tech/stackable/s3/v1alpha1/S3BucketSpec.java new file mode 100644 index 00000000..9921eb9f --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/S3BucketSpec.java @@ -0,0 +1,43 @@ +package tech.stackable.s3.v1alpha1; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"bucketName","connection"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class S3BucketSpec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The name of the S3 bucket. + */ + @com.fasterxml.jackson.annotation.JsonProperty("bucketName") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The name of the S3 bucket.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String bucketName; + + public String getBucketName() { + return bucketName; + } + + public void setBucketName(String bucketName) { + this.bucketName = bucketName; + } + + /** + * The definition of an S3 connection, either inline or as a reference. + */ + @com.fasterxml.jackson.annotation.JsonProperty("connection") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The definition of an S3 connection, either inline or as a reference.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.s3.v1alpha1.s3bucketspec.Connection connection; + + public tech.stackable.s3.v1alpha1.s3bucketspec.Connection getConnection() { + return connection; + } + + public void setConnection(tech.stackable.s3.v1alpha1.s3bucketspec.Connection connection) { + this.connection = connection; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/S3Connection.java b/src/main/java/tech/stackable/s3/v1alpha1/S3Connection.java new file mode 100644 index 00000000..8b5b95f8 --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/S3Connection.java @@ -0,0 +1,10 @@ +package tech.stackable.s3.v1alpha1; + +@io.fabric8.kubernetes.model.annotation.Version(value = "v1alpha1" , storage = true , served = true) +@io.fabric8.kubernetes.model.annotation.Group("s3.stackable.tech") +@io.fabric8.kubernetes.model.annotation.Singular("s3connection") +@io.fabric8.kubernetes.model.annotation.Plural("s3connections") +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class S3Connection extends io.fabric8.kubernetes.client.CustomResource implements io.fabric8.kubernetes.api.model.Namespaced { +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/S3ConnectionSpec.java b/src/main/java/tech/stackable/s3/v1alpha1/S3ConnectionSpec.java new file mode 100644 index 00000000..0130abee --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/S3ConnectionSpec.java @@ -0,0 +1,113 @@ +package tech.stackable.s3.v1alpha1; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"accessStyle","credentials","host","port","tls"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class S3ConnectionSpec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + public enum AccessStyle { + + @com.fasterxml.jackson.annotation.JsonProperty("Path") + PATH("Path"), @com.fasterxml.jackson.annotation.JsonProperty("VirtualHosted") + VIRTUALHOSTED("VirtualHosted"); + + java.lang.String value; + + AccessStyle(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * Which access style to use. Defaults to virtual hosted-style as most of the data products out there. Have a look at the [AWS documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html). + */ + @com.fasterxml.jackson.annotation.JsonProperty("accessStyle") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Which access style to use. Defaults to virtual hosted-style as most of the data products out there. Have a look at the [AWS documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private AccessStyle accessStyle; + + public AccessStyle getAccessStyle() { + return accessStyle; + } + + public void setAccessStyle(AccessStyle accessStyle) { + this.accessStyle = accessStyle; + } + + /** + * If the S3 uses authentication you have to specify you S3 credentials. In the most cases a [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) providing `accessKey` and `secretKey` is sufficient. + */ + @com.fasterxml.jackson.annotation.JsonProperty("credentials") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("If the S3 uses authentication you have to specify you S3 credentials. In the most cases a [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) providing `accessKey` and `secretKey` is sufficient.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.s3.v1alpha1.s3connectionspec.Credentials credentials; + + public tech.stackable.s3.v1alpha1.s3connectionspec.Credentials getCredentials() { + return credentials; + } + + public void setCredentials(tech.stackable.s3.v1alpha1.s3connectionspec.Credentials credentials) { + this.credentials = credentials; + } + + /** + * Hostname of the S3 server without any protocol or port. For example: `west1.my-cloud.com`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Hostname of the S3 server without any protocol or port. For example: `west1.my-cloud.com`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + /** + * Port the S3 server listens on. If not specified the product will determine the port to use. + */ + @com.fasterxml.jackson.annotation.JsonProperty("port") + @io.fabric8.generator.annotation.Min(0.0) + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Port the S3 server listens on. If not specified the product will determine the port to use.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Long port; + + public Long getPort() { + return port; + } + + public void setPort(Long port) { + this.port = port; + } + + /** + * If you want to use TLS when talking to S3 you can enable TLS encrypted communication with this setting. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tls") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("If you want to use TLS when talking to S3 you can enable TLS encrypted communication with this setting.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.s3.v1alpha1.s3connectionspec.Tls tls; + + public tech.stackable.s3.v1alpha1.s3connectionspec.Tls getTls() { + return tls; + } + + public void setTls(tech.stackable.s3.v1alpha1.s3connectionspec.Tls tls) { + this.tls = tls; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/Connection.java b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/Connection.java new file mode 100644 index 00000000..6dbe8049 --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/Connection.java @@ -0,0 +1,41 @@ +package tech.stackable.s3.v1alpha1.s3bucketspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"inline","reference"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Connection implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Inline definition of an S3 connection. + */ + @com.fasterxml.jackson.annotation.JsonProperty("inline") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Inline definition of an S3 connection.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.s3.v1alpha1.s3bucketspec.connection.Inline inline; + + public tech.stackable.s3.v1alpha1.s3bucketspec.connection.Inline getInline() { + return inline; + } + + public void setInline(tech.stackable.s3.v1alpha1.s3bucketspec.connection.Inline inline) { + this.inline = inline; + } + + /** + * A reference to an S3Connection resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("reference") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A reference to an S3Connection resource.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String reference; + + public String getReference() { + return reference; + } + + public void setReference(String reference) { + this.reference = reference; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/Inline.java b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/Inline.java new file mode 100644 index 00000000..6e120afc --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/Inline.java @@ -0,0 +1,113 @@ +package tech.stackable.s3.v1alpha1.s3bucketspec.connection; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"accessStyle","credentials","host","port","tls"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Inline implements io.fabric8.kubernetes.api.model.KubernetesResource { + + public enum AccessStyle { + + @com.fasterxml.jackson.annotation.JsonProperty("Path") + PATH("Path"), @com.fasterxml.jackson.annotation.JsonProperty("VirtualHosted") + VIRTUALHOSTED("VirtualHosted"); + + java.lang.String value; + + AccessStyle(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * Which access style to use. Defaults to virtual hosted-style as most of the data products out there. Have a look at the [AWS documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html). + */ + @com.fasterxml.jackson.annotation.JsonProperty("accessStyle") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Which access style to use. Defaults to virtual hosted-style as most of the data products out there. Have a look at the [AWS documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private AccessStyle accessStyle; + + public AccessStyle getAccessStyle() { + return accessStyle; + } + + public void setAccessStyle(AccessStyle accessStyle) { + this.accessStyle = accessStyle; + } + + /** + * If the S3 uses authentication you have to specify you S3 credentials. In the most cases a [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) providing `accessKey` and `secretKey` is sufficient. + */ + @com.fasterxml.jackson.annotation.JsonProperty("credentials") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("If the S3 uses authentication you have to specify you S3 credentials. In the most cases a [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) providing `accessKey` and `secretKey` is sufficient.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.Credentials credentials; + + public tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.Credentials getCredentials() { + return credentials; + } + + public void setCredentials(tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.Credentials credentials) { + this.credentials = credentials; + } + + /** + * Hostname of the S3 server without any protocol or port. For example: `west1.my-cloud.com`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Hostname of the S3 server without any protocol or port. For example: `west1.my-cloud.com`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + /** + * Port the S3 server listens on. If not specified the product will determine the port to use. + */ + @com.fasterxml.jackson.annotation.JsonProperty("port") + @io.fabric8.generator.annotation.Min(0.0) + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Port the S3 server listens on. If not specified the product will determine the port to use.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Long port; + + public Long getPort() { + return port; + } + + public void setPort(Long port) { + this.port = port; + } + + /** + * If you want to use TLS when talking to S3 you can enable TLS encrypted communication with this setting. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tls") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("If you want to use TLS when talking to S3 you can enable TLS encrypted communication with this setting.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.Tls tls; + + public tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.Tls getTls() { + return tls; + } + + public void setTls(tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.Tls tls) { + this.tls = tls; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/Credentials.java b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/Credentials.java new file mode 100644 index 00000000..4f82638c --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/Credentials.java @@ -0,0 +1,43 @@ +package tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"scope","secretClass"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Credentials implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * [Scope](https://docs.stackable.tech/home/nightly/secret-operator/scope) of the [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass). + */ + @com.fasterxml.jackson.annotation.JsonProperty("scope") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("[Scope](https://docs.stackable.tech/home/nightly/secret-operator/scope) of the [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.credentials.Scope scope; + + public tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.credentials.Scope getScope() { + return scope; + } + + public void setScope(tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.credentials.Scope scope) { + this.scope = scope; + } + + /** + * [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) containing the LDAP bind credentials. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretClass") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) containing the LDAP bind credentials.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretClass; + + public String getSecretClass() { + return secretClass; + } + + public void setSecretClass(String secretClass) { + this.secretClass = secretClass; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/Tls.java b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/Tls.java new file mode 100644 index 00000000..8fe595bb --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/Tls.java @@ -0,0 +1,26 @@ +package tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"verification"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Tls implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The verification method used to verify the certificates of the server and/or the client. + */ + @com.fasterxml.jackson.annotation.JsonProperty("verification") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The verification method used to verify the certificates of the server and/or the client.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.Verification verification; + + public tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.Verification getVerification() { + return verification; + } + + public void setVerification(tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.Verification verification) { + this.verification = verification; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/credentials/Scope.java b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/credentials/Scope.java new file mode 100644 index 00000000..72c5d271 --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/credentials/Scope.java @@ -0,0 +1,57 @@ +package tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.credentials; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"node","pod","services"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Scope implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The node scope is resolved to the name of the Kubernetes Node object that the Pod is running on. This will typically be the DNS name of the node. + */ + @com.fasterxml.jackson.annotation.JsonProperty("node") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The node scope is resolved to the name of the Kubernetes Node object that the Pod is running on. This will typically be the DNS name of the node.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean node = false; + + public Boolean getNode() { + return node; + } + + public void setNode(Boolean node) { + this.node = node; + } + + /** + * The pod scope is resolved to the name of the Kubernetes Pod. This allows the secret to differentiate between StatefulSet replicas. + */ + @com.fasterxml.jackson.annotation.JsonProperty("pod") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The pod scope is resolved to the name of the Kubernetes Pod. This allows the secret to differentiate between StatefulSet replicas.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean pod = false; + + public Boolean getPod() { + return pod; + } + + public void setPod(Boolean pod) { + this.pod = pod; + } + + /** + * The service scope allows Pod objects to specify custom scopes. This should typically correspond to Service objects that the Pod participates in. + */ + @com.fasterxml.jackson.annotation.JsonProperty("services") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The service scope allows Pod objects to specify custom scopes. This should typically correspond to Service objects that the Pod participates in.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List services = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("[]", java.util.List.class); + + public java.util.List getServices() { + return services; + } + + public void setServices(java.util.List services) { + this.services = services; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/Verification.java b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/Verification.java new file mode 100644 index 00000000..cd3357be --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/Verification.java @@ -0,0 +1,41 @@ +package tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"none","server"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Verification implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Use TLS but don't verify certificates. + */ + @com.fasterxml.jackson.annotation.JsonProperty("none") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Use TLS but don't verify certificates.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.verification.None none; + + public tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.verification.None getNone() { + return none; + } + + public void setNone(tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.verification.None none) { + this.none = none; + } + + /** + * Use TLS and a CA certificate to verify the server. + */ + @com.fasterxml.jackson.annotation.JsonProperty("server") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Use TLS and a CA certificate to verify the server.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.verification.Server server; + + public tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.verification.Server getServer() { + return server; + } + + public void setServer(tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.verification.Server server) { + this.server = server; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/verification/None.java b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/verification/None.java new file mode 100644 index 00000000..24d7fe63 --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/verification/None.java @@ -0,0 +1,9 @@ +package tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.verification; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class None implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/verification/Server.java b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/verification/Server.java new file mode 100644 index 00000000..abc0d6ce --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/verification/Server.java @@ -0,0 +1,26 @@ +package tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.verification; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"caCert"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Server implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * CA cert to verify the server. + */ + @com.fasterxml.jackson.annotation.JsonProperty("caCert") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("CA cert to verify the server.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.verification.server.CaCert caCert; + + public tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.verification.server.CaCert getCaCert() { + return caCert; + } + + public void setCaCert(tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.verification.server.CaCert caCert) { + this.caCert = caCert; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/verification/server/CaCert.java b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/verification/server/CaCert.java new file mode 100644 index 00000000..da71c0c7 --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/verification/server/CaCert.java @@ -0,0 +1,41 @@ +package tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.verification.server; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"secretClass","webPki"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class CaCert implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Name of the [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) which will provide the CA certificate. Note that a SecretClass does not need to have a key but can also work with just a CA certificate, so if you got provided with a CA cert but don't have access to the key you can still use this method. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretClass") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) which will provide the CA certificate. Note that a SecretClass does not need to have a key but can also work with just a CA certificate, so if you got provided with a CA cert but don't have access to the key you can still use this method.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretClass; + + public String getSecretClass() { + return secretClass; + } + + public void setSecretClass(String secretClass) { + this.secretClass = secretClass; + } + + /** + * Use TLS and the CA certificates trusted by the common web browsers to verify the server. This can be useful when you e.g. use public AWS S3 or other public available services. + */ + @com.fasterxml.jackson.annotation.JsonProperty("webPki") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Use TLS and the CA certificates trusted by the common web browsers to verify the server. This can be useful when you e.g. use public AWS S3 or other public available services.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.verification.server.cacert.WebPki webPki; + + public tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.verification.server.cacert.WebPki getWebPki() { + return webPki; + } + + public void setWebPki(tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.verification.server.cacert.WebPki webPki) { + this.webPki = webPki; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/verification/server/cacert/WebPki.java b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/verification/server/cacert/WebPki.java new file mode 100644 index 00000000..d8482806 --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3bucketspec/connection/inline/tls/verification/server/cacert/WebPki.java @@ -0,0 +1,9 @@ +package tech.stackable.s3.v1alpha1.s3bucketspec.connection.inline.tls.verification.server.cacert; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WebPki implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/Credentials.java b/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/Credentials.java new file mode 100644 index 00000000..d853aefb --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/Credentials.java @@ -0,0 +1,43 @@ +package tech.stackable.s3.v1alpha1.s3connectionspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"scope","secretClass"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Credentials implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * [Scope](https://docs.stackable.tech/home/nightly/secret-operator/scope) of the [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass). + */ + @com.fasterxml.jackson.annotation.JsonProperty("scope") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("[Scope](https://docs.stackable.tech/home/nightly/secret-operator/scope) of the [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.s3.v1alpha1.s3connectionspec.credentials.Scope scope; + + public tech.stackable.s3.v1alpha1.s3connectionspec.credentials.Scope getScope() { + return scope; + } + + public void setScope(tech.stackable.s3.v1alpha1.s3connectionspec.credentials.Scope scope) { + this.scope = scope; + } + + /** + * [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) containing the LDAP bind credentials. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretClass") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("[SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) containing the LDAP bind credentials.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretClass; + + public String getSecretClass() { + return secretClass; + } + + public void setSecretClass(String secretClass) { + this.secretClass = secretClass; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/Tls.java b/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/Tls.java new file mode 100644 index 00000000..f3a9ffa8 --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/Tls.java @@ -0,0 +1,26 @@ +package tech.stackable.s3.v1alpha1.s3connectionspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"verification"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Tls implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The verification method used to verify the certificates of the server and/or the client. + */ + @com.fasterxml.jackson.annotation.JsonProperty("verification") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The verification method used to verify the certificates of the server and/or the client.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.s3.v1alpha1.s3connectionspec.tls.Verification verification; + + public tech.stackable.s3.v1alpha1.s3connectionspec.tls.Verification getVerification() { + return verification; + } + + public void setVerification(tech.stackable.s3.v1alpha1.s3connectionspec.tls.Verification verification) { + this.verification = verification; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/credentials/Scope.java b/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/credentials/Scope.java new file mode 100644 index 00000000..d04ab001 --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/credentials/Scope.java @@ -0,0 +1,57 @@ +package tech.stackable.s3.v1alpha1.s3connectionspec.credentials; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"node","pod","services"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Scope implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The node scope is resolved to the name of the Kubernetes Node object that the Pod is running on. This will typically be the DNS name of the node. + */ + @com.fasterxml.jackson.annotation.JsonProperty("node") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The node scope is resolved to the name of the Kubernetes Node object that the Pod is running on. This will typically be the DNS name of the node.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean node = false; + + public Boolean getNode() { + return node; + } + + public void setNode(Boolean node) { + this.node = node; + } + + /** + * The pod scope is resolved to the name of the Kubernetes Pod. This allows the secret to differentiate between StatefulSet replicas. + */ + @com.fasterxml.jackson.annotation.JsonProperty("pod") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The pod scope is resolved to the name of the Kubernetes Pod. This allows the secret to differentiate between StatefulSet replicas.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean pod = false; + + public Boolean getPod() { + return pod; + } + + public void setPod(Boolean pod) { + this.pod = pod; + } + + /** + * The service scope allows Pod objects to specify custom scopes. This should typically correspond to Service objects that the Pod participates in. + */ + @com.fasterxml.jackson.annotation.JsonProperty("services") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The service scope allows Pod objects to specify custom scopes. This should typically correspond to Service objects that the Pod participates in.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List services = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("[]", java.util.List.class); + + public java.util.List getServices() { + return services; + } + + public void setServices(java.util.List services) { + this.services = services; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/Verification.java b/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/Verification.java new file mode 100644 index 00000000..778d88ec --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/Verification.java @@ -0,0 +1,41 @@ +package tech.stackable.s3.v1alpha1.s3connectionspec.tls; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"none","server"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Verification implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Use TLS but don't verify certificates. + */ + @com.fasterxml.jackson.annotation.JsonProperty("none") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Use TLS but don't verify certificates.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.s3.v1alpha1.s3connectionspec.tls.verification.None none; + + public tech.stackable.s3.v1alpha1.s3connectionspec.tls.verification.None getNone() { + return none; + } + + public void setNone(tech.stackable.s3.v1alpha1.s3connectionspec.tls.verification.None none) { + this.none = none; + } + + /** + * Use TLS and a CA certificate to verify the server. + */ + @com.fasterxml.jackson.annotation.JsonProperty("server") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Use TLS and a CA certificate to verify the server.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.s3.v1alpha1.s3connectionspec.tls.verification.Server server; + + public tech.stackable.s3.v1alpha1.s3connectionspec.tls.verification.Server getServer() { + return server; + } + + public void setServer(tech.stackable.s3.v1alpha1.s3connectionspec.tls.verification.Server server) { + this.server = server; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/verification/None.java b/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/verification/None.java new file mode 100644 index 00000000..7e7893d6 --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/verification/None.java @@ -0,0 +1,9 @@ +package tech.stackable.s3.v1alpha1.s3connectionspec.tls.verification; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class None implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/verification/Server.java b/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/verification/Server.java new file mode 100644 index 00000000..bb0eefbe --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/verification/Server.java @@ -0,0 +1,26 @@ +package tech.stackable.s3.v1alpha1.s3connectionspec.tls.verification; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"caCert"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Server implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * CA cert to verify the server. + */ + @com.fasterxml.jackson.annotation.JsonProperty("caCert") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("CA cert to verify the server.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.s3.v1alpha1.s3connectionspec.tls.verification.server.CaCert caCert; + + public tech.stackable.s3.v1alpha1.s3connectionspec.tls.verification.server.CaCert getCaCert() { + return caCert; + } + + public void setCaCert(tech.stackable.s3.v1alpha1.s3connectionspec.tls.verification.server.CaCert caCert) { + this.caCert = caCert; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/verification/server/CaCert.java b/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/verification/server/CaCert.java new file mode 100644 index 00000000..5431d242 --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/verification/server/CaCert.java @@ -0,0 +1,41 @@ +package tech.stackable.s3.v1alpha1.s3connectionspec.tls.verification.server; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"secretClass","webPki"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class CaCert implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Name of the [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) which will provide the CA certificate. Note that a SecretClass does not need to have a key but can also work with just a CA certificate, so if you got provided with a CA cert but don't have access to the key you can still use this method. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretClass") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) which will provide the CA certificate. Note that a SecretClass does not need to have a key but can also work with just a CA certificate, so if you got provided with a CA cert but don't have access to the key you can still use this method.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretClass; + + public String getSecretClass() { + return secretClass; + } + + public void setSecretClass(String secretClass) { + this.secretClass = secretClass; + } + + /** + * Use TLS and the CA certificates trusted by the common web browsers to verify the server. This can be useful when you e.g. use public AWS S3 or other public available services. + */ + @com.fasterxml.jackson.annotation.JsonProperty("webPki") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Use TLS and the CA certificates trusted by the common web browsers to verify the server. This can be useful when you e.g. use public AWS S3 or other public available services.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.s3.v1alpha1.s3connectionspec.tls.verification.server.cacert.WebPki webPki; + + public tech.stackable.s3.v1alpha1.s3connectionspec.tls.verification.server.cacert.WebPki getWebPki() { + return webPki; + } + + public void setWebPki(tech.stackable.s3.v1alpha1.s3connectionspec.tls.verification.server.cacert.WebPki webPki) { + this.webPki = webPki; + } +} + diff --git a/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/verification/server/cacert/WebPki.java b/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/verification/server/cacert/WebPki.java new file mode 100644 index 00000000..660fc4c2 --- /dev/null +++ b/src/main/java/tech/stackable/s3/v1alpha1/s3connectionspec/tls/verification/server/cacert/WebPki.java @@ -0,0 +1,9 @@ +package tech.stackable.s3.v1alpha1.s3connectionspec.tls.verification.server.cacert; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WebPki implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/secrets/v1alpha1/SecretClass.java b/src/main/java/tech/stackable/secrets/v1alpha1/SecretClass.java new file mode 100644 index 00000000..482ad81c --- /dev/null +++ b/src/main/java/tech/stackable/secrets/v1alpha1/SecretClass.java @@ -0,0 +1,10 @@ +package tech.stackable.secrets.v1alpha1; + +@io.fabric8.kubernetes.model.annotation.Version(value = "v1alpha1" , storage = true , served = true) +@io.fabric8.kubernetes.model.annotation.Group("secrets.stackable.tech") +@io.fabric8.kubernetes.model.annotation.Singular("secretclass") +@io.fabric8.kubernetes.model.annotation.Plural("secretclasses") +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretClass extends io.fabric8.kubernetes.client.CustomResource { +} + diff --git a/src/main/java/tech/stackable/secrets/v1alpha1/SecretClassSpec.java b/src/main/java/tech/stackable/secrets/v1alpha1/SecretClassSpec.java new file mode 100644 index 00000000..0e425ef3 --- /dev/null +++ b/src/main/java/tech/stackable/secrets/v1alpha1/SecretClassSpec.java @@ -0,0 +1,26 @@ +package tech.stackable.secrets.v1alpha1; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"backend"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretClassSpec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Each SecretClass is associated with a single [backend](https://docs.stackable.tech/home/nightly/secret-operator/secretclass#backend), which dictates the mechanism for issuing that kind of Secret. + */ + @com.fasterxml.jackson.annotation.JsonProperty("backend") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Each SecretClass is associated with a single [backend](https://docs.stackable.tech/home/nightly/secret-operator/secretclass#backend), which dictates the mechanism for issuing that kind of Secret.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.secrets.v1alpha1.secretclassspec.Backend backend; + + public tech.stackable.secrets.v1alpha1.secretclassspec.Backend getBackend() { + return backend; + } + + public void setBackend(tech.stackable.secrets.v1alpha1.secretclassspec.Backend backend) { + this.backend = backend; + } +} + diff --git a/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/Backend.java b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/Backend.java new file mode 100644 index 00000000..b43bc048 --- /dev/null +++ b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/Backend.java @@ -0,0 +1,59 @@ +package tech.stackable.secrets.v1alpha1.secretclassspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"autoTls","k8sSearch","kerberosKeytab"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Backend implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The [`autoTls` backend](https://docs.stackable.tech/home/nightly/secret-operator/secretclass#backend-autotls) issues a TLS certificate signed by the Secret Operator. The certificate authority can be provided by the administrator, or managed automatically by the Secret Operator. + * + * A new certificate and keypair will be generated and signed for each Pod, keys or certificates are never reused. + */ + @com.fasterxml.jackson.annotation.JsonProperty("autoTls") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The [`autoTls` backend](https://docs.stackable.tech/home/nightly/secret-operator/secretclass#backend-autotls) issues a TLS certificate signed by the Secret Operator. The certificate authority can be provided by the administrator, or managed automatically by the Secret Operator.\n\nA new certificate and keypair will be generated and signed for each Pod, keys or certificates are never reused.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.secrets.v1alpha1.secretclassspec.backend.AutoTls autoTls; + + public tech.stackable.secrets.v1alpha1.secretclassspec.backend.AutoTls getAutoTls() { + return autoTls; + } + + public void setAutoTls(tech.stackable.secrets.v1alpha1.secretclassspec.backend.AutoTls autoTls) { + this.autoTls = autoTls; + } + + /** + * The [`k8sSearch` backend](https://docs.stackable.tech/home/nightly/secret-operator/secretclass#backend-k8ssearch) can be used to mount Secrets across namespaces into Pods. + */ + @com.fasterxml.jackson.annotation.JsonProperty("k8sSearch") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The [`k8sSearch` backend](https://docs.stackable.tech/home/nightly/secret-operator/secretclass#backend-k8ssearch) can be used to mount Secrets across namespaces into Pods.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.secrets.v1alpha1.secretclassspec.backend.K8sSearch k8sSearch; + + public tech.stackable.secrets.v1alpha1.secretclassspec.backend.K8sSearch getK8sSearch() { + return k8sSearch; + } + + public void setK8sSearch(tech.stackable.secrets.v1alpha1.secretclassspec.backend.K8sSearch k8sSearch) { + this.k8sSearch = k8sSearch; + } + + /** + * The [`kerberosKeytab` backend](https://docs.stackable.tech/home/nightly/secret-operator/secretclass#backend-kerberoskeytab) creates a Kerberos keytab file for a selected realm. The Kerberos KDC and administrator credentials must be provided by the administrator. + */ + @com.fasterxml.jackson.annotation.JsonProperty("kerberosKeytab") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The [`kerberosKeytab` backend](https://docs.stackable.tech/home/nightly/secret-operator/secretclass#backend-kerberoskeytab) creates a Kerberos keytab file for a selected realm. The Kerberos KDC and administrator credentials must be provided by the administrator.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.secrets.v1alpha1.secretclassspec.backend.KerberosKeytab kerberosKeytab; + + public tech.stackable.secrets.v1alpha1.secretclassspec.backend.KerberosKeytab getKerberosKeytab() { + return kerberosKeytab; + } + + public void setKerberosKeytab(tech.stackable.secrets.v1alpha1.secretclassspec.backend.KerberosKeytab kerberosKeytab) { + this.kerberosKeytab = kerberosKeytab; + } +} + diff --git a/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/AutoTls.java b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/AutoTls.java new file mode 100644 index 00000000..c11fff1e --- /dev/null +++ b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/AutoTls.java @@ -0,0 +1,42 @@ +package tech.stackable.secrets.v1alpha1.secretclassspec.backend; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"ca","maxCertificateLifetime"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class AutoTls implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Configures the certificate authority used to issue Pod certificates. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ca") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Configures the certificate authority used to issue Pod certificates.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.secrets.v1alpha1.secretclassspec.backend.autotls.Ca ca; + + public tech.stackable.secrets.v1alpha1.secretclassspec.backend.autotls.Ca getCa() { + return ca; + } + + public void setCa(tech.stackable.secrets.v1alpha1.secretclassspec.backend.autotls.Ca ca) { + this.ca = ca; + } + + /** + * Maximum lifetime the created certificates are allowed to have. In case consumers request a longer lifetime than allowed by this setting, the lifetime will be the minimum of both, so this setting takes precedence. The default value is 15 days. + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxCertificateLifetime") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Maximum lifetime the created certificates are allowed to have. In case consumers request a longer lifetime than allowed by this setting, the lifetime will be the minimum of both, so this setting takes precedence. The default value is 15 days.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String maxCertificateLifetime = "15d"; + + public String getMaxCertificateLifetime() { + return maxCertificateLifetime; + } + + public void setMaxCertificateLifetime(String maxCertificateLifetime) { + this.maxCertificateLifetime = maxCertificateLifetime; + } +} + diff --git a/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/K8sSearch.java b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/K8sSearch.java new file mode 100644 index 00000000..fa397f0d --- /dev/null +++ b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/K8sSearch.java @@ -0,0 +1,26 @@ +package tech.stackable.secrets.v1alpha1.secretclassspec.backend; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"searchNamespace"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class K8sSearch implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Configures the namespace searched for Secret objects. + */ + @com.fasterxml.jackson.annotation.JsonProperty("searchNamespace") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Configures the namespace searched for Secret objects.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.secrets.v1alpha1.secretclassspec.backend.k8ssearch.SearchNamespace searchNamespace; + + public tech.stackable.secrets.v1alpha1.secretclassspec.backend.k8ssearch.SearchNamespace getSearchNamespace() { + return searchNamespace; + } + + public void setSearchNamespace(tech.stackable.secrets.v1alpha1.secretclassspec.backend.k8ssearch.SearchNamespace searchNamespace) { + this.searchNamespace = searchNamespace; + } +} + diff --git a/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/KerberosKeytab.java b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/KerberosKeytab.java new file mode 100644 index 00000000..360d9c8a --- /dev/null +++ b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/KerberosKeytab.java @@ -0,0 +1,94 @@ +package tech.stackable.secrets.v1alpha1.secretclassspec.backend; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"admin","adminKeytabSecret","adminPrincipal","kdc","realmName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class KerberosKeytab implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Kerberos admin configuration settings. + */ + @com.fasterxml.jackson.annotation.JsonProperty("admin") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Kerberos admin configuration settings.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.Admin admin; + + public tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.Admin getAdmin() { + return admin; + } + + public void setAdmin(tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.Admin admin) { + this.admin = admin; + } + + /** + * Reference (`name` and `namespace`) to a K8s Secret object where a keytab with administrative privileges is stored in the key `keytab`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("adminKeytabSecret") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Reference (`name` and `namespace`) to a K8s Secret object where a keytab with administrative privileges is stored in the key `keytab`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.AdminKeytabSecret adminKeytabSecret; + + public tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.AdminKeytabSecret getAdminKeytabSecret() { + return adminKeytabSecret; + } + + public void setAdminKeytabSecret(tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.AdminKeytabSecret adminKeytabSecret) { + this.adminKeytabSecret = adminKeytabSecret; + } + + /** + * The admin principal. + */ + @com.fasterxml.jackson.annotation.JsonProperty("adminPrincipal") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The admin principal.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String adminPrincipal; + + public String getAdminPrincipal() { + return adminPrincipal; + } + + public void setAdminPrincipal(String adminPrincipal) { + this.adminPrincipal = adminPrincipal; + } + + /** + * The hostname of the Kerberos Key Distribution Center (KDC). This should be provided by the Kerberos administrator. + */ + @com.fasterxml.jackson.annotation.JsonProperty("kdc") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The hostname of the Kerberos Key Distribution Center (KDC). This should be provided by the Kerberos administrator.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kdc; + + public String getKdc() { + return kdc; + } + + public void setKdc(String kdc) { + this.kdc = kdc; + } + + /** + * The name of the Kerberos realm. This should be provided by the Kerberos administrator. + */ + @com.fasterxml.jackson.annotation.JsonProperty("realmName") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The name of the Kerberos realm. This should be provided by the Kerberos administrator.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String realmName; + + public String getRealmName() { + return realmName; + } + + public void setRealmName(String realmName) { + this.realmName = realmName; + } +} + diff --git a/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/autotls/Ca.java b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/autotls/Ca.java new file mode 100644 index 00000000..a05312e9 --- /dev/null +++ b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/autotls/Ca.java @@ -0,0 +1,42 @@ +package tech.stackable.secrets.v1alpha1.secretclassspec.backend.autotls; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"autoGenerate","secret"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ca implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Whether a new certificate authority should be generated if it does not already exist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("autoGenerate") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Whether a new certificate authority should be generated if it does not already exist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean autoGenerate = false; + + public Boolean getAutoGenerate() { + return autoGenerate; + } + + public void setAutoGenerate(Boolean autoGenerate) { + this.autoGenerate = autoGenerate; + } + + /** + * Reference (name and namespace) to a Kubernetes Secret object where the CA certificate and key is stored in the keys `ca.crt` and `ca.key` respectively. + */ + @com.fasterxml.jackson.annotation.JsonProperty("secret") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Reference (name and namespace) to a Kubernetes Secret object where the CA certificate and key is stored in the keys `ca.crt` and `ca.key` respectively.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.secrets.v1alpha1.secretclassspec.backend.autotls.ca.Secret secret; + + public tech.stackable.secrets.v1alpha1.secretclassspec.backend.autotls.ca.Secret getSecret() { + return secret; + } + + public void setSecret(tech.stackable.secrets.v1alpha1.secretclassspec.backend.autotls.ca.Secret secret) { + this.secret = secret; + } +} + diff --git a/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/autotls/ca/Secret.java b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/autotls/ca/Secret.java new file mode 100644 index 00000000..5a9ac081 --- /dev/null +++ b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/autotls/ca/Secret.java @@ -0,0 +1,41 @@ +package tech.stackable.secrets.v1alpha1.secretclassspec.backend.autotls.ca; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","namespace"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Secret implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * name is unique within a namespace to reference a secret resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("name is unique within a namespace to reference a secret resource.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + /** + * namespace defines the space within which the secret name must be unique. + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("namespace defines the space within which the secret name must be unique.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } +} + diff --git a/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/k8ssearch/SearchNamespace.java b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/k8ssearch/SearchNamespace.java new file mode 100644 index 00000000..093c0a69 --- /dev/null +++ b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/k8ssearch/SearchNamespace.java @@ -0,0 +1,41 @@ +package tech.stackable.secrets.v1alpha1.secretclassspec.backend.k8ssearch; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","pod"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SearchNamespace implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The Secret objects are located in a single global namespace. Should be used for secrets that are provisioned by the cluster administrator. + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The Secret objects are located in a single global namespace. Should be used for secrets that are provisioned by the cluster administrator.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + /** + * The Secret objects are located in the same namespace as the Pod object. Should be used for Secrets that are provisioned by the application administrator. + */ + @com.fasterxml.jackson.annotation.JsonProperty("pod") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The Secret objects are located in the same namespace as the Pod object. Should be used for Secrets that are provisioned by the application administrator.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.secrets.v1alpha1.secretclassspec.backend.k8ssearch.searchnamespace.Pod pod; + + public tech.stackable.secrets.v1alpha1.secretclassspec.backend.k8ssearch.searchnamespace.Pod getPod() { + return pod; + } + + public void setPod(tech.stackable.secrets.v1alpha1.secretclassspec.backend.k8ssearch.searchnamespace.Pod pod) { + this.pod = pod; + } +} + diff --git a/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/k8ssearch/searchnamespace/Pod.java b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/k8ssearch/searchnamespace/Pod.java new file mode 100644 index 00000000..b058eea8 --- /dev/null +++ b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/k8ssearch/searchnamespace/Pod.java @@ -0,0 +1,9 @@ +package tech.stackable.secrets.v1alpha1.secretclassspec.backend.k8ssearch.searchnamespace; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Pod implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/Admin.java b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/Admin.java new file mode 100644 index 00000000..af842306 --- /dev/null +++ b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/Admin.java @@ -0,0 +1,41 @@ +package tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"activeDirectory","mit"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Admin implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Credentials should be provisioned in a Microsoft Active Directory domain. + */ + @com.fasterxml.jackson.annotation.JsonProperty("activeDirectory") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Credentials should be provisioned in a Microsoft Active Directory domain.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.admin.ActiveDirectory activeDirectory; + + public tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.admin.ActiveDirectory getActiveDirectory() { + return activeDirectory; + } + + public void setActiveDirectory(tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.admin.ActiveDirectory activeDirectory) { + this.activeDirectory = activeDirectory; + } + + /** + * Credentials should be provisioned in a MIT Kerberos Admin Server. + */ + @com.fasterxml.jackson.annotation.JsonProperty("mit") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Credentials should be provisioned in a MIT Kerberos Admin Server.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.admin.Mit mit; + + public tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.admin.Mit getMit() { + return mit; + } + + public void setMit(tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.admin.Mit mit) { + this.mit = mit; + } +} + diff --git a/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/AdminKeytabSecret.java b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/AdminKeytabSecret.java new file mode 100644 index 00000000..2a795bab --- /dev/null +++ b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/AdminKeytabSecret.java @@ -0,0 +1,41 @@ +package tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","namespace"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class AdminKeytabSecret implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * name is unique within a namespace to reference a secret resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("name is unique within a namespace to reference a secret resource.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + /** + * namespace defines the space within which the secret name must be unique. + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("namespace defines the space within which the secret name must be unique.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } +} + diff --git a/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/admin/ActiveDirectory.java b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/admin/ActiveDirectory.java new file mode 100644 index 00000000..018f61e6 --- /dev/null +++ b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/admin/ActiveDirectory.java @@ -0,0 +1,94 @@ +package tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.admin; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"ldapServer","ldapTlsCaSecret","passwordCacheSecret","schemaDistinguishedName","userDistinguishedName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ActiveDirectory implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * An AD LDAP server, such as the AD Domain Controller. This must match the server’s FQDN, or GSSAPI authentication will fail. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ldapServer") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("An AD LDAP server, such as the AD Domain Controller. This must match the server’s FQDN, or GSSAPI authentication will fail.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String ldapServer; + + public String getLdapServer() { + return ldapServer; + } + + public void setLdapServer(String ldapServer) { + this.ldapServer = ldapServer; + } + + /** + * Reference (name and namespace) to a Kubernetes Secret object containing the TLS CA (in `ca.crt`) that the LDAP server’s certificate should be authenticated against. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ldapTlsCaSecret") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Reference (name and namespace) to a Kubernetes Secret object containing the TLS CA (in `ca.crt`) that the LDAP server’s certificate should be authenticated against.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.admin.activedirectory.LdapTlsCaSecret ldapTlsCaSecret; + + public tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.admin.activedirectory.LdapTlsCaSecret getLdapTlsCaSecret() { + return ldapTlsCaSecret; + } + + public void setLdapTlsCaSecret(tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.admin.activedirectory.LdapTlsCaSecret ldapTlsCaSecret) { + this.ldapTlsCaSecret = ldapTlsCaSecret; + } + + /** + * Reference (name and namespace) to a Kubernetes Secret object where workload passwords will be stored. This must not be accessible to end users. + */ + @com.fasterxml.jackson.annotation.JsonProperty("passwordCacheSecret") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Reference (name and namespace) to a Kubernetes Secret object where workload passwords will be stored. This must not be accessible to end users.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.admin.activedirectory.PasswordCacheSecret passwordCacheSecret; + + public tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.admin.activedirectory.PasswordCacheSecret getPasswordCacheSecret() { + return passwordCacheSecret; + } + + public void setPasswordCacheSecret(tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.admin.activedirectory.PasswordCacheSecret passwordCacheSecret) { + this.passwordCacheSecret = passwordCacheSecret; + } + + /** + * The root Distinguished Name (DN) for AD-managed schemas, typically `CN=Schema,CN=Configuration,{domain_dn}`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemaDistinguishedName") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The root Distinguished Name (DN) for AD-managed schemas, typically `CN=Schema,CN=Configuration,{domain_dn}`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String schemaDistinguishedName; + + public String getSchemaDistinguishedName() { + return schemaDistinguishedName; + } + + public void setSchemaDistinguishedName(String schemaDistinguishedName) { + this.schemaDistinguishedName = schemaDistinguishedName; + } + + /** + * The root Distinguished Name (DN) where service accounts should be provisioned, typically `CN=Users,{domain_dn}`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("userDistinguishedName") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The root Distinguished Name (DN) where service accounts should be provisioned, typically `CN=Users,{domain_dn}`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String userDistinguishedName; + + public String getUserDistinguishedName() { + return userDistinguishedName; + } + + public void setUserDistinguishedName(String userDistinguishedName) { + this.userDistinguishedName = userDistinguishedName; + } +} + diff --git a/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/admin/Mit.java b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/admin/Mit.java new file mode 100644 index 00000000..b792dec9 --- /dev/null +++ b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/admin/Mit.java @@ -0,0 +1,26 @@ +package tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.admin; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"kadminServer"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Mit implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The hostname of the Kerberos Admin Server. This should be provided by the Kerberos administrator. + */ + @com.fasterxml.jackson.annotation.JsonProperty("kadminServer") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The hostname of the Kerberos Admin Server. This should be provided by the Kerberos administrator.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kadminServer; + + public String getKadminServer() { + return kadminServer; + } + + public void setKadminServer(String kadminServer) { + this.kadminServer = kadminServer; + } +} + diff --git a/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/admin/activedirectory/LdapTlsCaSecret.java b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/admin/activedirectory/LdapTlsCaSecret.java new file mode 100644 index 00000000..b3813ca5 --- /dev/null +++ b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/admin/activedirectory/LdapTlsCaSecret.java @@ -0,0 +1,41 @@ +package tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.admin.activedirectory; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","namespace"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LdapTlsCaSecret implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * name is unique within a namespace to reference a secret resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("name is unique within a namespace to reference a secret resource.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + /** + * namespace defines the space within which the secret name must be unique. + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("namespace defines the space within which the secret name must be unique.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } +} + diff --git a/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/admin/activedirectory/PasswordCacheSecret.java b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/admin/activedirectory/PasswordCacheSecret.java new file mode 100644 index 00000000..7155401d --- /dev/null +++ b/src/main/java/tech/stackable/secrets/v1alpha1/secretclassspec/backend/kerberoskeytab/admin/activedirectory/PasswordCacheSecret.java @@ -0,0 +1,41 @@ +package tech.stackable.secrets.v1alpha1.secretclassspec.backend.kerberoskeytab.admin.activedirectory; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","namespace"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PasswordCacheSecret implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * name is unique within a namespace to reference a secret resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("name is unique within a namespace to reference a secret resource.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + /** + * namespace defines the space within which the secret name must be unique. + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("namespace defines the space within which the secret name must be unique.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperCluster.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperCluster.java new file mode 100644 index 00000000..a55b2bf8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperCluster.java @@ -0,0 +1,10 @@ +package tech.stackable.zookeeper.v1alpha1; + +@io.fabric8.kubernetes.model.annotation.Version(value = "v1alpha1" , storage = true , served = true) +@io.fabric8.kubernetes.model.annotation.Group("zookeeper.stackable.tech") +@io.fabric8.kubernetes.model.annotation.Singular("zookeepercluster") +@io.fabric8.kubernetes.model.annotation.Plural("zookeeperclusters") +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ZookeeperCluster extends io.fabric8.kubernetes.client.CustomResource implements io.fabric8.kubernetes.api.model.Namespaced { +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperClusterSpec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperClusterSpec.java new file mode 100644 index 00000000..a22d0b97 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperClusterSpec.java @@ -0,0 +1,77 @@ +package tech.stackable.zookeeper.v1alpha1; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"clusterConfig","clusterOperation","image","servers"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ZookeeperClusterSpec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Settings that affect all roles and role groups. The settings in the `clusterConfig` are cluster wide settings that do not need to be configurable at role or role group level. + */ + @com.fasterxml.jackson.annotation.JsonProperty("clusterConfig") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Settings that affect all roles and role groups. The settings in the `clusterConfig` are cluster wide settings that do not need to be configurable at role or role group level.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.ClusterConfig clusterConfig = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"authentication\":[],\"tls\":{\"quorumSecretClass\":\"tls\",\"serverSecretClass\":\"tls\"},\"listenerClass\":\"cluster-internal\"}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.ClusterConfig.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.ClusterConfig getClusterConfig() { + return clusterConfig; + } + + public void setClusterConfig(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.ClusterConfig clusterConfig) { + this.clusterConfig = clusterConfig; + } + + /** + * [Cluster operations](https://docs.stackable.tech/home/nightly/concepts/operations/cluster_operations) properties, allow stopping the product instance as well as pausing reconciliation. + */ + @com.fasterxml.jackson.annotation.JsonProperty("clusterOperation") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("[Cluster operations](https://docs.stackable.tech/home/nightly/concepts/operations/cluster_operations) properties, allow stopping the product instance as well as pausing reconciliation.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.ClusterOperation clusterOperation = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"stopped\":false,\"reconciliationPaused\":false}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.ClusterOperation.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.ClusterOperation getClusterOperation() { + return clusterOperation; + } + + public void setClusterOperation(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.ClusterOperation clusterOperation) { + this.clusterOperation = clusterOperation; + } + + /** + * Specify which image to use, the easiest way is to only configure the `productVersion`. You can also configure a custom image registry to pull from, as well as completely custom images. + * + * Consult the [Product image selection documentation](https://docs.stackable.tech/home/nightly/concepts/product_image_selection) for details. + */ + @com.fasterxml.jackson.annotation.JsonProperty("image") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Specify which image to use, the easiest way is to only configure the `productVersion`. You can also configure a custom image registry to pull from, as well as completely custom images.\n\nConsult the [Product image selection documentation](https://docs.stackable.tech/home/nightly/concepts/product_image_selection) for details.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.Image image; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.Image getImage() { + return image; + } + + public void setImage(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.Image image) { + this.image = image; + } + + /** + * This struct represents a role - e.g. HDFS datanodes or Trino workers. It has a [`HashMap`] containing all the roleGroups that are part of this role. Additionally, there is a `config`, which is configurable at the role *and* roleGroup level. Everything at roleGroup level is merged on top of what is configured on role level using the [`Merge`] trait. There is also a second form of config, which can only be configured at role level, the `roleConfig`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("servers") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("This struct represents a role - e.g. HDFS datanodes or Trino workers. It has a [`HashMap`] containing all the roleGroups that are part of this role. Additionally, there is a `config`, which is configurable at the role *and* roleGroup level. Everything at roleGroup level is merged on top of what is configured on role level using the [`Merge`] trait. There is also a second form of config, which can only be configured at role level, the `roleConfig`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.Servers servers; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.Servers getServers() { + return servers; + } + + public void setServers(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.Servers servers) { + this.servers = servers; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperClusterStatus.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperClusterStatus.java new file mode 100644 index 00000000..ad131c32 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperClusterStatus.java @@ -0,0 +1,38 @@ +package tech.stackable.zookeeper.v1alpha1; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"conditions","discoveryHash"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ZookeeperClusterStatus implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("conditions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List conditions = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("[]", java.util.List.class); + + public java.util.List getConditions() { + return conditions; + } + + public void setConditions(java.util.List conditions) { + this.conditions = conditions; + } + + /** + * An opaque value that changes every time a discovery detail does + */ + @com.fasterxml.jackson.annotation.JsonProperty("discoveryHash") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("An opaque value that changes every time a discovery detail does") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String discoveryHash; + + public String getDiscoveryHash() { + return discoveryHash; + } + + public void setDiscoveryHash(String discoveryHash) { + this.discoveryHash = discoveryHash; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperZnode.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperZnode.java new file mode 100644 index 00000000..de23b6b1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperZnode.java @@ -0,0 +1,10 @@ +package tech.stackable.zookeeper.v1alpha1; + +@io.fabric8.kubernetes.model.annotation.Version(value = "v1alpha1" , storage = true , served = true) +@io.fabric8.kubernetes.model.annotation.Group("zookeeper.stackable.tech") +@io.fabric8.kubernetes.model.annotation.Singular("zookeeperznode") +@io.fabric8.kubernetes.model.annotation.Plural("zookeeperznodes") +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ZookeeperZnode extends io.fabric8.kubernetes.client.CustomResource implements io.fabric8.kubernetes.api.model.Namespaced { +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperZnodeSpec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperZnodeSpec.java new file mode 100644 index 00000000..9ebe594d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/ZookeeperZnodeSpec.java @@ -0,0 +1,25 @@ +package tech.stackable.zookeeper.v1alpha1; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"clusterRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ZookeeperZnodeSpec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The reference to the ZookeeperCluster that this ZNode belongs to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("clusterRef") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The reference to the ZookeeperCluster that this ZNode belongs to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperznodespec.ClusterRef clusterRef = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"name\":null,\"namespace\":null}", tech.stackable.zookeeper.v1alpha1.zookeeperznodespec.ClusterRef.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperznodespec.ClusterRef getClusterRef() { + return clusterRef; + } + + public void setClusterRef(tech.stackable.zookeeper.v1alpha1.zookeeperznodespec.ClusterRef clusterRef) { + this.clusterRef = clusterRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/ClusterConfig.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/ClusterConfig.java new file mode 100644 index 00000000..2c602151 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/ClusterConfig.java @@ -0,0 +1,99 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"authentication","listenerClass","tls","vectorAggregatorConfigMapName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ClusterConfig implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Authentication settings for ZooKeeper like mTLS authentication. Read more in the [authentication usage guide](https://docs.stackable.tech/home/nightly/zookeeper/usage_guide/authentication). + */ + @com.fasterxml.jackson.annotation.JsonProperty("authentication") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Authentication settings for ZooKeeper like mTLS authentication. Read more in the [authentication usage guide](https://docs.stackable.tech/home/nightly/zookeeper/usage_guide/authentication).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List authentication = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("[]", java.util.List.class); + + public java.util.List getAuthentication() { + return authentication; + } + + public void setAuthentication(java.util.List authentication) { + this.authentication = authentication; + } + + public enum ListenerClass { + + @com.fasterxml.jackson.annotation.JsonProperty("cluster-internal") + CLUSTERINTERNAL("cluster-internal"), @com.fasterxml.jackson.annotation.JsonProperty("external-unstable") + EXTERNALUNSTABLE("external-unstable"); + + java.lang.String value; + + ListenerClass(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * This field controls which type of Service the Operator creates for this ZookeeperCluster: + * + * cluster-internal: Use a ClusterIP service + * + * external-unstable: Use a NodePort service + * + * This is a temporary solution with the goal to keep yaml manifests forward compatible. In the future, this setting will control which [ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass.html) will be used to expose the service, and ListenerClass names will stay the same, allowing for a non-breaking change. + */ + @com.fasterxml.jackson.annotation.JsonProperty("listenerClass") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("This field controls which type of Service the Operator creates for this ZookeeperCluster:\n\n* cluster-internal: Use a ClusterIP service\n\n* external-unstable: Use a NodePort service\n\nThis is a temporary solution with the goal to keep yaml manifests forward compatible. In the future, this setting will control which [ListenerClass](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass.html) will be used to expose the service, and ListenerClass names will stay the same, allowing for a non-breaking change.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private ListenerClass listenerClass = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("\"cluster-internal\"", ListenerClass.class); + + public ListenerClass getListenerClass() { + return listenerClass; + } + + public void setListenerClass(ListenerClass listenerClass) { + this.listenerClass = listenerClass; + } + + /** + * TLS encryption settings for ZooKeeper (server, quorum). Read more in the [encryption usage guide](https://docs.stackable.tech/home/nightly/zookeeper/usage_guide/encryption). + */ + @com.fasterxml.jackson.annotation.JsonProperty("tls") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("TLS encryption settings for ZooKeeper (server, quorum). Read more in the [encryption usage guide](https://docs.stackable.tech/home/nightly/zookeeper/usage_guide/encryption).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.clusterconfig.Tls tls = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"quorumSecretClass\":\"tls\",\"serverSecretClass\":\"tls\"}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.clusterconfig.Tls.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.clusterconfig.Tls getTls() { + return tls; + } + + public void setTls(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.clusterconfig.Tls tls) { + this.tls = tls; + } + + /** + * Name of the Vector aggregator [discovery ConfigMap](https://docs.stackable.tech/home/nightly/concepts/service_discovery). It must contain the key `ADDRESS` with the address of the Vector aggregator. Follow the [logging tutorial](https://docs.stackable.tech/home/nightly/tutorials/logging-vector-aggregator) to learn how to configure log aggregation with Vector. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vectorAggregatorConfigMapName") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the Vector aggregator [discovery ConfigMap](https://docs.stackable.tech/home/nightly/concepts/service_discovery). It must contain the key `ADDRESS` with the address of the Vector aggregator. Follow the [logging tutorial](https://docs.stackable.tech/home/nightly/tutorials/logging-vector-aggregator) to learn how to configure log aggregation with Vector.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String vectorAggregatorConfigMapName; + + public String getVectorAggregatorConfigMapName() { + return vectorAggregatorConfigMapName; + } + + public void setVectorAggregatorConfigMapName(String vectorAggregatorConfigMapName) { + this.vectorAggregatorConfigMapName = vectorAggregatorConfigMapName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/ClusterOperation.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/ClusterOperation.java new file mode 100644 index 00000000..4065c51a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/ClusterOperation.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"reconciliationPaused","stopped"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ClusterOperation implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Flag to stop cluster reconciliation by the operator. This means that all changes in the custom resource spec are ignored until this flag is set to false or removed. The operator will however still watch the deployed resources at the time and update the custom resource status field. If applied at the same time with `stopped`, `reconciliationPaused` will take precedence over `stopped` and stop the reconciliation immediately. + */ + @com.fasterxml.jackson.annotation.JsonProperty("reconciliationPaused") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Flag to stop cluster reconciliation by the operator. This means that all changes in the custom resource spec are ignored until this flag is set to false or removed. The operator will however still watch the deployed resources at the time and update the custom resource status field. If applied at the same time with `stopped`, `reconciliationPaused` will take precedence over `stopped` and stop the reconciliation immediately.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean reconciliationPaused = false; + + public Boolean getReconciliationPaused() { + return reconciliationPaused; + } + + public void setReconciliationPaused(Boolean reconciliationPaused) { + this.reconciliationPaused = reconciliationPaused; + } + + /** + * Flag to stop the cluster. This means all deployed resources (e.g. Services, StatefulSets, ConfigMaps) are kept but all deployed Pods (e.g. replicas from a StatefulSet) are scaled to 0 and therefore stopped and removed. If applied at the same time with `reconciliationPaused`, the latter will pause reconciliation and `stopped` will take no effect until `reconciliationPaused` is set to false or removed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("stopped") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Flag to stop the cluster. This means all deployed resources (e.g. Services, StatefulSets, ConfigMaps) are kept but all deployed Pods (e.g. replicas from a StatefulSet) are scaled to 0 and therefore stopped and removed. If applied at the same time with `reconciliationPaused`, the latter will pause reconciliation and `stopped` will take no effect until `reconciliationPaused` is set to false or removed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stopped = false; + + public Boolean getStopped() { + return stopped; + } + + public void setStopped(Boolean stopped) { + this.stopped = stopped; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/Image.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/Image.java new file mode 100644 index 00000000..93072dfc --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/Image.java @@ -0,0 +1,127 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"custom","productVersion","pullPolicy","pullSecrets","repo","stackableVersion"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Image implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Overwrite the docker image. Specify the full docker image name, e.g. `docker.stackable.tech/stackable/superset:1.4.1-stackable2.1.0` + */ + @com.fasterxml.jackson.annotation.JsonProperty("custom") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Overwrite the docker image. Specify the full docker image name, e.g. `docker.stackable.tech/stackable/superset:1.4.1-stackable2.1.0`") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String custom; + + public String getCustom() { + return custom; + } + + public void setCustom(String custom) { + this.custom = custom; + } + + /** + * Version of the product, e.g. `1.4.1`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("productVersion") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Version of the product, e.g. `1.4.1`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String productVersion; + + public String getProductVersion() { + return productVersion; + } + + public void setProductVersion(String productVersion) { + this.productVersion = productVersion; + } + + public enum PullPolicy { + + @com.fasterxml.jackson.annotation.JsonProperty("IfNotPresent") + IFNOTPRESENT("IfNotPresent"), @com.fasterxml.jackson.annotation.JsonProperty("Always") + ALWAYS("Always"), @com.fasterxml.jackson.annotation.JsonProperty("Never") + NEVER("Never"); + + java.lang.String value; + + PullPolicy(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * [Pull policy](https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy) used when pulling the image. + */ + @com.fasterxml.jackson.annotation.JsonProperty("pullPolicy") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("[Pull policy](https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy) used when pulling the image.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private PullPolicy pullPolicy = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("\"Always\"", PullPolicy.class); + + public PullPolicy getPullPolicy() { + return pullPolicy; + } + + public void setPullPolicy(PullPolicy pullPolicy) { + this.pullPolicy = pullPolicy; + } + + /** + * [Image pull secrets](https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod) to pull images from a private registry. + */ + @com.fasterxml.jackson.annotation.JsonProperty("pullSecrets") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("[Image pull secrets](https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod) to pull images from a private registry.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private java.util.List pullSecrets; + + public java.util.List getPullSecrets() { + return pullSecrets; + } + + public void setPullSecrets(java.util.List pullSecrets) { + this.pullSecrets = pullSecrets; + } + + /** + * Name of the docker repo, e.g. `docker.stackable.tech/stackable` + */ + @com.fasterxml.jackson.annotation.JsonProperty("repo") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the docker repo, e.g. `docker.stackable.tech/stackable`") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String repo; + + public String getRepo() { + return repo; + } + + public void setRepo(String repo) { + this.repo = repo; + } + + /** + * Stackable version of the product, e.g. `23.4`, `23.4.1` or `0.0.0-dev`. If not specified, the operator will use its own version, e.g. `23.4.1`. When using a nightly operator or a pr version, it will use the nightly `0.0.0-dev` image. + */ + @com.fasterxml.jackson.annotation.JsonProperty("stackableVersion") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Stackable version of the product, e.g. `23.4`, `23.4.1` or `0.0.0-dev`. If not specified, the operator will use its own version, e.g. `23.4.1`. When using a nightly operator or a pr version, it will use the nightly `0.0.0-dev` image.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String stackableVersion; + + public String getStackableVersion() { + return stackableVersion; + } + + public void setStackableVersion(String stackableVersion) { + this.stackableVersion = stackableVersion; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/Servers.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/Servers.java new file mode 100644 index 00000000..08eb0fa4 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/Servers.java @@ -0,0 +1,110 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cliOverrides","config","configOverrides","envOverrides","podOverrides","roleConfig","roleGroups"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Servers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("cliOverrides") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map cliOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map getCliOverrides() { + return cliOverrides; + } + + public void setCliOverrides(java.util.Map cliOverrides) { + this.cliOverrides = cliOverrides; + } + + @com.fasterxml.jackson.annotation.JsonProperty("config") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.Config config = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.Config.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.Config getConfig() { + return config; + } + + public void setConfig(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.Config config) { + this.config = config; + } + + /** + * The `configOverrides` can be used to configure properties in product config files that are not exposed in the CRD. Read the [config overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#config-overrides) and consult the operator specific usage guide documentation for details on the available config files and settings for the specific product. + */ + @com.fasterxml.jackson.annotation.JsonProperty("configOverrides") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The `configOverrides` can be used to configure properties in product config files that are not exposed in the CRD. Read the [config overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#config-overrides) and consult the operator specific usage guide documentation for details on the available config files and settings for the specific product.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map> configOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map> getConfigOverrides() { + return configOverrides; + } + + public void setConfigOverrides(java.util.Map> configOverrides) { + this.configOverrides = configOverrides; + } + + /** + * `envOverrides` configure environment variables to be set in the Pods. It is a map from strings to strings - environment variables and the value to set. Read the [environment variable overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#env-overrides) for more information and consult the operator specific usage guide to find out about the product specific environment variables that are available. + */ + @com.fasterxml.jackson.annotation.JsonProperty("envOverrides") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("`envOverrides` configure environment variables to be set in the Pods. It is a map from strings to strings - environment variables and the value to set. Read the [environment variable overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#env-overrides) for more information and consult the operator specific usage guide to find out about the product specific environment variables that are available.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map envOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map getEnvOverrides() { + return envOverrides; + } + + public void setEnvOverrides(java.util.Map envOverrides) { + this.envOverrides = envOverrides; + } + + /** + * In the `podOverrides` property you can define a [PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core) to override any property that can be set on a Kubernetes Pod. Read the [Pod overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#pod-overrides) for more information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("podOverrides") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("In the `podOverrides` property you can define a [PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core) to override any property that can be set on a Kubernetes Pod. Read the [Pod overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#pod-overrides) for more information.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.PodOverrides podOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.PodOverrides.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.PodOverrides getPodOverrides() { + return podOverrides; + } + + public void setPodOverrides(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.PodOverrides podOverrides) { + this.podOverrides = podOverrides; + } + + /** + * This is a product-agnostic RoleConfig, which is sufficient for most of the products. + */ + @com.fasterxml.jackson.annotation.JsonProperty("roleConfig") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("This is a product-agnostic RoleConfig, which is sufficient for most of the products.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.RoleConfig roleConfig = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"podDisruptionBudget\":{\"enabled\":true,\"maxUnavailable\":null}}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.RoleConfig.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.RoleConfig getRoleConfig() { + return roleConfig; + } + + public void setRoleConfig(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.RoleConfig roleConfig) { + this.roleConfig = roleConfig; + } + + @com.fasterxml.jackson.annotation.JsonProperty("roleGroups") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map roleGroups; + + public java.util.Map getRoleGroups() { + return roleGroups; + } + + public void setRoleGroups(java.util.Map roleGroups) { + this.roleGroups = roleGroups; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/clusterconfig/Authentication.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/clusterconfig/Authentication.java new file mode 100644 index 00000000..9b3714b5 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/clusterconfig/Authentication.java @@ -0,0 +1,30 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.clusterconfig; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"authenticationClass"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Authentication implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The [AuthenticationClass](https://docs.stackable.tech/home/stable/concepts/authentication) to use. + * + * ## mTLS + * + * Only affects client connections. This setting controls: - If clients need to authenticate themselves against the server via TLS - Which ca.crt to use when validating the provided client certs This will override the server TLS settings (if set) in `spec.clusterConfig.tls.serverSecretClass`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("authenticationClass") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The [AuthenticationClass](https://docs.stackable.tech/home/stable/concepts/authentication) to use.\n\n## mTLS\n\nOnly affects client connections. This setting controls: - If clients need to authenticate themselves against the server via TLS - Which ca.crt to use when validating the provided client certs This will override the server TLS settings (if set) in `spec.clusterConfig.tls.serverSecretClass`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String authenticationClass; + + public String getAuthenticationClass() { + return authenticationClass; + } + + public void setAuthenticationClass(String authenticationClass) { + this.authenticationClass = authenticationClass; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/clusterconfig/Tls.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/clusterconfig/Tls.java new file mode 100644 index 00000000..c57af130 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/clusterconfig/Tls.java @@ -0,0 +1,42 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.clusterconfig; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"quorumSecretClass","serverSecretClass"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Tls implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) to use for internal quorum communication. Use mutual verification between Zookeeper Nodes (mandatory). This setting controls: - Which cert the servers should use to authenticate themselves against other servers - Which ca.crt to use when validating the other server Defaults to `tls` + */ + @com.fasterxml.jackson.annotation.JsonProperty("quorumSecretClass") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) to use for internal quorum communication. Use mutual verification between Zookeeper Nodes (mandatory). This setting controls: - Which cert the servers should use to authenticate themselves against other servers - Which ca.crt to use when validating the other server Defaults to `tls`") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String quorumSecretClass = "tls"; + + public String getQuorumSecretClass() { + return quorumSecretClass; + } + + public void setQuorumSecretClass(String quorumSecretClass) { + this.quorumSecretClass = quorumSecretClass; + } + + /** + * The [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) to use for client connections. This setting controls: - If TLS encryption is used at all - Which cert the servers should use to authenticate themselves against the client Defaults to `tls`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("serverSecretClass") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The [SecretClass](https://docs.stackable.tech/home/nightly/secret-operator/secretclass) to use for client connections. This setting controls: - If TLS encryption is used at all - Which cert the servers should use to authenticate themselves against the client Defaults to `tls`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String serverSecretClass = "tls"; + + public String getServerSecretClass() { + return serverSecretClass; + } + + public void setServerSecretClass(String serverSecretClass) { + this.serverSecretClass = serverSecretClass; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/image/PullSecrets.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/image/PullSecrets.java new file mode 100644 index 00000000..0223aa98 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/image/PullSecrets.java @@ -0,0 +1,25 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.image; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PullSecrets implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/Config.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/Config.java new file mode 100644 index 00000000..e5eed639 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/Config.java @@ -0,0 +1,130 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"affinity","gracefulShutdownTimeout","initLimit","logging","myidOffset","resources","syncLimit","tickTime"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Config implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * These configuration settings control [Pod placement](https://docs.stackable.tech/home/nightly/concepts/operations/pod_placement). + */ + @com.fasterxml.jackson.annotation.JsonProperty("affinity") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("These configuration settings control [Pod placement](https://docs.stackable.tech/home/nightly/concepts/operations/pod_placement).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.Affinity affinity = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"podAffinity\":null,\"podAntiAffinity\":null,\"nodeAffinity\":null,\"nodeSelector\":null}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.Affinity.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.Affinity getAffinity() { + return affinity; + } + + public void setAffinity(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.Affinity affinity) { + this.affinity = affinity; + } + + /** + * Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details. + */ + @com.fasterxml.jackson.annotation.JsonProperty("gracefulShutdownTimeout") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String gracefulShutdownTimeout; + + public String getGracefulShutdownTimeout() { + return gracefulShutdownTimeout; + } + + public void setGracefulShutdownTimeout(String gracefulShutdownTimeout) { + this.gracefulShutdownTimeout = gracefulShutdownTimeout; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initLimit") + @io.fabric8.generator.annotation.Min(0.0) + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Long initLimit; + + public Long getInitLimit() { + return initLimit; + } + + public void setInitLimit(Long initLimit) { + this.initLimit = initLimit; + } + + /** + * Logging configuration, learn more in the [logging concept documentation](https://docs.stackable.tech/home/nightly/concepts/logging). + */ + @com.fasterxml.jackson.annotation.JsonProperty("logging") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Logging configuration, learn more in the [logging concept documentation](https://docs.stackable.tech/home/nightly/concepts/logging).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.Logging logging = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"enableVectorAgent\":null,\"containers\":{}}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.Logging.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.Logging getLogging() { + return logging; + } + + public void setLogging(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.Logging logging) { + this.logging = logging; + } + + @com.fasterxml.jackson.annotation.JsonProperty("myidOffset") + @io.fabric8.generator.annotation.Min(0.0) + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Long myidOffset; + + public Long getMyidOffset() { + return myidOffset; + } + + public void setMyidOffset(Long myidOffset) { + this.myidOffset = myidOffset; + } + + /** + * Resource usage is configured here, this includes CPU usage, memory usage and disk storage usage, if this role needs any. + */ + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Resource usage is configured here, this includes CPU usage, memory usage and disk storage usage, if this role needs any.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.Resources resources = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"memory\":{\"limit\":null,\"runtimeLimits\":{}},\"cpu\":{\"min\":null,\"max\":null},\"storage\":{\"data\":{\"capacity\":null}}}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.Resources.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("syncLimit") + @io.fabric8.generator.annotation.Min(0.0) + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Long syncLimit; + + public Long getSyncLimit() { + return syncLimit; + } + + public void setSyncLimit(Long syncLimit) { + this.syncLimit = syncLimit; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tickTime") + @io.fabric8.generator.annotation.Min(0.0) + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Long tickTime; + + public Long getTickTime() { + return tickTime; + } + + public void setTickTime(Long tickTime) { + this.tickTime = tickTime; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/PodOverrides.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/PodOverrides.java new file mode 100644 index 00000000..923e1b66 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/PodOverrides.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"metadata","spec"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodOverrides implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.Metadata metadata; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.Metadata getMetadata() { + return metadata; + } + + public void setMetadata(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.Metadata metadata) { + this.metadata = metadata; + } + + @com.fasterxml.jackson.annotation.JsonProperty("spec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.Spec spec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.Spec getSpec() { + return spec; + } + + public void setSpec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.Spec spec) { + this.spec = spec; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/RoleConfig.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/RoleConfig.java new file mode 100644 index 00000000..68a7718d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/RoleConfig.java @@ -0,0 +1,29 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"podDisruptionBudget"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RoleConfig implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * This struct is used to configure: + * + * 1. If PodDisruptionBudgets are created by the operator 2. The allowed number of Pods to be unavailable (`maxUnavailable`) + * + * Learn more in the [allowed Pod disruptions documentation](https://docs.stackable.tech/home/nightly/concepts/operations/pod_disruptions). + */ + @com.fasterxml.jackson.annotation.JsonProperty("podDisruptionBudget") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("This struct is used to configure:\n\n1. If PodDisruptionBudgets are created by the operator 2. The allowed number of Pods to be unavailable (`maxUnavailable`)\n\nLearn more in the [allowed Pod disruptions documentation](https://docs.stackable.tech/home/nightly/concepts/operations/pod_disruptions).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.roleconfig.PodDisruptionBudget podDisruptionBudget = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"enabled\":true,\"maxUnavailable\":null}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.roleconfig.PodDisruptionBudget.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.roleconfig.PodDisruptionBudget getPodDisruptionBudget() { + return podDisruptionBudget; + } + + public void setPodDisruptionBudget(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.roleconfig.PodDisruptionBudget podDisruptionBudget) { + this.podDisruptionBudget = podDisruptionBudget; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/RoleGroups.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/RoleGroups.java new file mode 100644 index 00000000..5e93a448 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/RoleGroups.java @@ -0,0 +1,112 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cliOverrides","config","configOverrides","envOverrides","podOverrides","replicas","selector"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RoleGroups implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("cliOverrides") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map cliOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map getCliOverrides() { + return cliOverrides; + } + + public void setCliOverrides(java.util.Map cliOverrides) { + this.cliOverrides = cliOverrides; + } + + @com.fasterxml.jackson.annotation.JsonProperty("config") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.Config config = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.Config.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.Config getConfig() { + return config; + } + + public void setConfig(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.Config config) { + this.config = config; + } + + /** + * The `configOverrides` can be used to configure properties in product config files that are not exposed in the CRD. Read the [config overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#config-overrides) and consult the operator specific usage guide documentation for details on the available config files and settings for the specific product. + */ + @com.fasterxml.jackson.annotation.JsonProperty("configOverrides") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The `configOverrides` can be used to configure properties in product config files that are not exposed in the CRD. Read the [config overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#config-overrides) and consult the operator specific usage guide documentation for details on the available config files and settings for the specific product.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map> configOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map> getConfigOverrides() { + return configOverrides; + } + + public void setConfigOverrides(java.util.Map> configOverrides) { + this.configOverrides = configOverrides; + } + + /** + * `envOverrides` configure environment variables to be set in the Pods. It is a map from strings to strings - environment variables and the value to set. Read the [environment variable overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#env-overrides) for more information and consult the operator specific usage guide to find out about the product specific environment variables that are available. + */ + @com.fasterxml.jackson.annotation.JsonProperty("envOverrides") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("`envOverrides` configure environment variables to be set in the Pods. It is a map from strings to strings - environment variables and the value to set. Read the [environment variable overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#env-overrides) for more information and consult the operator specific usage guide to find out about the product specific environment variables that are available.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map envOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map getEnvOverrides() { + return envOverrides; + } + + public void setEnvOverrides(java.util.Map envOverrides) { + this.envOverrides = envOverrides; + } + + /** + * In the `podOverrides` property you can define a [PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core) to override any property that can be set on a Kubernetes Pod. Read the [Pod overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#pod-overrides) for more information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("podOverrides") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("In the `podOverrides` property you can define a [PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core) to override any property that can be set on a Kubernetes Pod. Read the [Pod overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#pod-overrides) for more information.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.PodOverrides podOverrides = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.PodOverrides.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.PodOverrides getPodOverrides() { + return podOverrides; + } + + public void setPodOverrides(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.PodOverrides podOverrides) { + this.podOverrides = podOverrides; + } + + @com.fasterxml.jackson.annotation.JsonProperty("replicas") + @io.fabric8.generator.annotation.Min(0.0) + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Long replicas; + + public Long getReplicas() { + return replicas; + } + + public void setReplicas(Long replicas) { + this.replicas = replicas; + } + + /** + * A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. + */ + @com.fasterxml.jackson.annotation.JsonProperty("selector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.Selector selector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.Selector getSelector() { + return selector; + } + + public void setSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.Selector selector) { + this.selector = selector; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/Affinity.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/Affinity.java new file mode 100644 index 00000000..e3f3cc07 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/Affinity.java @@ -0,0 +1,73 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"nodeAffinity","nodeSelector","podAffinity","podAntiAffinity"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Affinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Node affinity is a group of node affinity scheduling rules. + */ + @com.fasterxml.jackson.annotation.JsonProperty("nodeAffinity") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Node affinity is a group of node affinity scheduling rules.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.NodeAffinity nodeAffinity; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.NodeAffinity getNodeAffinity() { + return nodeAffinity; + } + + public void setNodeAffinity(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.NodeAffinity nodeAffinity) { + this.nodeAffinity = nodeAffinity; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.NodeSelector nodeSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.NodeSelector getNodeSelector() { + return nodeSelector; + } + + public void setNodeSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.NodeSelector nodeSelector) { + this.nodeSelector = nodeSelector; + } + + /** + * Pod affinity is a group of inter pod affinity scheduling rules. + */ + @com.fasterxml.jackson.annotation.JsonProperty("podAffinity") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Pod affinity is a group of inter pod affinity scheduling rules.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.PodAffinity podAffinity; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.PodAffinity getPodAffinity() { + return podAffinity; + } + + public void setPodAffinity(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.PodAffinity podAffinity) { + this.podAffinity = podAffinity; + } + + /** + * Pod anti affinity is a group of inter pod anti affinity scheduling rules. + */ + @com.fasterxml.jackson.annotation.JsonProperty("podAntiAffinity") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Pod anti affinity is a group of inter pod anti affinity scheduling rules.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.PodAntiAffinity podAntiAffinity; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.PodAntiAffinity getPodAntiAffinity() { + return podAntiAffinity; + } + + public void setPodAntiAffinity(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.PodAntiAffinity podAntiAffinity) { + this.podAntiAffinity = podAntiAffinity; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/Logging.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/Logging.java new file mode 100644 index 00000000..3598ebd1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/Logging.java @@ -0,0 +1,42 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containers","enableVectorAgent"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Logging implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Log configuration per container. + */ + @com.fasterxml.jackson.annotation.JsonProperty("containers") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Log configuration per container.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map containers; + + public java.util.Map getContainers() { + return containers; + } + + public void setContainers(java.util.Map containers) { + this.containers = containers; + } + + /** + * Wether or not to deploy a container with the Vector log agent. + */ + @com.fasterxml.jackson.annotation.JsonProperty("enableVectorAgent") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Wether or not to deploy a container with the Vector log agent.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Boolean enableVectorAgent; + + public Boolean getEnableVectorAgent() { + return enableVectorAgent; + } + + public void setEnableVectorAgent(Boolean enableVectorAgent) { + this.enableVectorAgent = enableVectorAgent; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/Resources.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/Resources.java new file mode 100644 index 00000000..f3509127 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cpu","memory","storage"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("cpu") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.Cpu cpu = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"min\":null,\"max\":null}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.Cpu.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.Cpu getCpu() { + return cpu; + } + + public void setCpu(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.Cpu cpu) { + this.cpu = cpu; + } + + @com.fasterxml.jackson.annotation.JsonProperty("memory") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.Memory memory; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.Memory getMemory() { + return memory; + } + + public void setMemory(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.Memory memory) { + this.memory = memory; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storage") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.Storage storage; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.Storage getStorage() { + return storage; + } + + public void setStorage(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.Storage storage) { + this.storage = storage; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/NodeAffinity.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/NodeAffinity.java new file mode 100644 index 00000000..6c0d7b7a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/NodeAffinity.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodeAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. + */ + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + /** + * If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. + */ + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/NodeSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/NodeSelector.java new file mode 100644 index 00000000..de20d304 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/NodeSelector.java @@ -0,0 +1,9 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodeSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/PodAffinity.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/PodAffinity.java new file mode 100644 index 00000000..d9d9b4c0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/PodAffinity.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. + */ + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + /** + * If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. + */ + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List requiredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(java.util.List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/PodAntiAffinity.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/PodAntiAffinity.java new file mode 100644 index 00000000..44ed961a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/PodAntiAffinity.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAntiAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. + */ + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + /** + * If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. + */ + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List requiredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(java.util.List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..f6f595dd --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,43 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.nodeaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preference","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * A node selector term, associated with the corresponding weight. + */ + @com.fasterxml.jackson.annotation.JsonProperty("preference") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A node selector term, associated with the corresponding weight.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference preference; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference getPreference() { + return preference; + } + + public void setPreference(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference preference) { + this.preference = preference; + } + + /** + * Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. + */ + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..0ce2bd37 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,26 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.nodeaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"nodeSelectorTerms"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Required. A list of node selector terms. The terms are ORed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("nodeSelectorTerms") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Required. A list of node selector terms. The terms are ORed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List nodeSelectorTerms; + + public java.util.List getNodeSelectorTerms() { + return nodeSelectorTerms; + } + + public void setNodeSelectorTerms(java.util.List nodeSelectorTerms) { + this.nodeSelectorTerms = nodeSelectorTerms; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java new file mode 100644 index 00000000..544588cf --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchFields"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Preference implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * A list of node selector requirements by node's labels. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A list of node selector requirements by node's labels.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * A list of node selector requirements by node's fields. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchFields") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A list of node selector requirements by node's fields.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchFields; + + public java.util.List getMatchFields() { + return matchFields; + } + + public void setMatchFields(java.util.List matchFields) { + this.matchFields = matchFields; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java new file mode 100644 index 00000000..892568ac --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.preference; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java new file mode 100644 index 00000000..92e50c7f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.preference; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java new file mode 100644 index 00000000..2b630b69 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchFields"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodeSelectorTerms implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * A list of node selector requirements by node's labels. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A list of node selector requirements by node's labels.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * A list of node selector requirements by node's fields. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchFields") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A list of node selector requirements by node's fields.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchFields; + + public java.util.List getMatchFields() { + return matchFields; + } + + public void setMatchFields(java.util.List matchFields) { + this.matchFields = matchFields; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java new file mode 100644 index 00000000..5fdef3da --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution.nodeselectorterms; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java new file mode 100644 index 00000000..36652b7b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution.nodeselectorterms; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..19cd706a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,43 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"podAffinityTerm","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Required. A pod affinity term, associated with the corresponding weight. + */ + @com.fasterxml.jackson.annotation.JsonProperty("podAffinityTerm") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Required. A pod affinity term, associated with the corresponding weight.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + public void setPodAffinityTerm(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + /** + * weight associated with matching the corresponding podAffinityTerm, in the range 1-100. + */ + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("weight associated with matching the corresponding podAffinityTerm, in the range 1-100.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..be92e093 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,74 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * A label query over a set of resources, in this case pods. + */ + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label query over a set of resources, in this case pods.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + /** + * A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + /** + * namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + /** + * This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java new file mode 100644 index 00000000..08bd852f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java @@ -0,0 +1,74 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinityTerm implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * A label query over a set of resources, in this case pods. + */ + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label query over a set of resources, in this case pods.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + /** + * A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + /** + * namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + /** + * This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java new file mode 100644 index 00000000..320f7b2a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java new file mode 100644 index 00000000..76e85fa7 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java new file mode 100644 index 00000000..0da9176d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..37489887 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java new file mode 100644 index 00000000..df93ad7e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java new file mode 100644 index 00000000..64314a41 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java new file mode 100644 index 00000000..b4cd401a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..e41e36e1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..856b2769 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,43 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"podAffinityTerm","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Required. A pod affinity term, associated with the corresponding weight. + */ + @com.fasterxml.jackson.annotation.JsonProperty("podAffinityTerm") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Required. A pod affinity term, associated with the corresponding weight.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + public void setPodAffinityTerm(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + /** + * weight associated with matching the corresponding podAffinityTerm, in the range 1-100. + */ + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("weight associated with matching the corresponding podAffinityTerm, in the range 1-100.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..077e0ee9 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,74 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * A label query over a set of resources, in this case pods. + */ + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label query over a set of resources, in this case pods.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + /** + * A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + /** + * namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + /** + * This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java new file mode 100644 index 00000000..da914c9a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java @@ -0,0 +1,74 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinityTerm implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * A label query over a set of resources, in this case pods. + */ + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label query over a set of resources, in this case pods.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + /** + * A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + /** + * namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + /** + * This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java new file mode 100644 index 00000000..a16bf387 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java new file mode 100644 index 00000000..33f8109a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java new file mode 100644 index 00000000..2100587e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..3176767d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java new file mode 100644 index 00000000..f30c73bd --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java new file mode 100644 index 00000000..f371c4b0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java new file mode 100644 index 00000000..2634ca0d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..173925f5 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/Containers.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/Containers.java new file mode 100644 index 00000000..739ee466 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/Containers.java @@ -0,0 +1,75 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.logging; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"console","custom","file","loggers"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Containers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Configuration for the console appender + */ + @com.fasterxml.jackson.annotation.JsonProperty("console") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Configuration for the console appender") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.logging.containers.Console console; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.logging.containers.Console getConsole() { + return console; + } + + public void setConsole(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.logging.containers.Console console) { + this.console = console; + } + + /** + * Custom log configuration provided in a ConfigMap + */ + @com.fasterxml.jackson.annotation.JsonProperty("custom") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Custom log configuration provided in a ConfigMap") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.logging.containers.Custom custom; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.logging.containers.Custom getCustom() { + return custom; + } + + public void setCustom(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.logging.containers.Custom custom) { + this.custom = custom; + } + + /** + * Configuration for the file appender + */ + @com.fasterxml.jackson.annotation.JsonProperty("file") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Configuration for the file appender") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.logging.containers.File file; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.logging.containers.File getFile() { + return file; + } + + public void setFile(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.logging.containers.File file) { + this.file = file; + } + + /** + * Configuration per logger + */ + @com.fasterxml.jackson.annotation.JsonProperty("loggers") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Configuration per logger") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map loggers = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map getLoggers() { + return loggers; + } + + public void setLoggers(java.util.Map loggers) { + this.loggers = loggers; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/containers/Console.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/containers/Console.java new file mode 100644 index 00000000..dbeb6053 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/containers/Console.java @@ -0,0 +1,55 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.logging.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Console implements io.fabric8.kubernetes.api.model.KubernetesResource { + + public enum Level { + + @com.fasterxml.jackson.annotation.JsonProperty("TRACE") + TRACE("TRACE"), + @com.fasterxml.jackson.annotation.JsonProperty("DEBUG") + DEBUG("DEBUG"), + @com.fasterxml.jackson.annotation.JsonProperty("INFO") + INFO("INFO"), + @com.fasterxml.jackson.annotation.JsonProperty("WARN") + WARN("WARN"), + @com.fasterxml.jackson.annotation.JsonProperty("ERROR") + ERROR("ERROR"), + @com.fasterxml.jackson.annotation.JsonProperty("FATAL") + FATAL("FATAL"), + @com.fasterxml.jackson.annotation.JsonProperty("NONE") + NONE("NONE"); + + java.lang.String value; + + Level(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * The log level threshold. Log events with a lower log level are discarded. + */ + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The log level threshold. Log events with a lower log level are discarded.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Level level; + + public Level getLevel() { + return level; + } + + public void setLevel(Level level) { + this.level = level; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/containers/Custom.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/containers/Custom.java new file mode 100644 index 00000000..f86bab82 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/containers/Custom.java @@ -0,0 +1,26 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.logging.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMap"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Custom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * ConfigMap containing the log configuration files + */ + @com.fasterxml.jackson.annotation.JsonProperty("configMap") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("ConfigMap containing the log configuration files") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String configMap; + + public String getConfigMap() { + return configMap; + } + + public void setConfigMap(String configMap) { + this.configMap = configMap; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/containers/File.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/containers/File.java new file mode 100644 index 00000000..10f59c4b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/containers/File.java @@ -0,0 +1,55 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.logging.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class File implements io.fabric8.kubernetes.api.model.KubernetesResource { + + public enum Level { + + @com.fasterxml.jackson.annotation.JsonProperty("TRACE") + TRACE("TRACE"), + @com.fasterxml.jackson.annotation.JsonProperty("DEBUG") + DEBUG("DEBUG"), + @com.fasterxml.jackson.annotation.JsonProperty("INFO") + INFO("INFO"), + @com.fasterxml.jackson.annotation.JsonProperty("WARN") + WARN("WARN"), + @com.fasterxml.jackson.annotation.JsonProperty("ERROR") + ERROR("ERROR"), + @com.fasterxml.jackson.annotation.JsonProperty("FATAL") + FATAL("FATAL"), + @com.fasterxml.jackson.annotation.JsonProperty("NONE") + NONE("NONE"); + + java.lang.String value; + + Level(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * The log level threshold. Log events with a lower log level are discarded. + */ + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The log level threshold. Log events with a lower log level are discarded.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Level level; + + public Level getLevel() { + return level; + } + + public void setLevel(Level level) { + this.level = level; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/containers/Loggers.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/containers/Loggers.java new file mode 100644 index 00000000..878ed246 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/logging/containers/Loggers.java @@ -0,0 +1,55 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.logging.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Loggers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + public enum Level { + + @com.fasterxml.jackson.annotation.JsonProperty("TRACE") + TRACE("TRACE"), + @com.fasterxml.jackson.annotation.JsonProperty("DEBUG") + DEBUG("DEBUG"), + @com.fasterxml.jackson.annotation.JsonProperty("INFO") + INFO("INFO"), + @com.fasterxml.jackson.annotation.JsonProperty("WARN") + WARN("WARN"), + @com.fasterxml.jackson.annotation.JsonProperty("ERROR") + ERROR("ERROR"), + @com.fasterxml.jackson.annotation.JsonProperty("FATAL") + FATAL("FATAL"), + @com.fasterxml.jackson.annotation.JsonProperty("NONE") + NONE("NONE"); + + java.lang.String value; + + Level(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * The log level threshold. Log events with a lower log level are discarded. + */ + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The log level threshold. Log events with a lower log level are discarded.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Level level; + + public Level getLevel() { + return level; + } + + public void setLevel(Level level) { + this.level = level; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/Cpu.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/Cpu.java new file mode 100644 index 00000000..ba24226f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/Cpu.java @@ -0,0 +1,43 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"max","min"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Cpu implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The maximum amount of CPU cores that can be requested by Pods. Equivalent to the `limit` for Pod resource configuration. Cores are specified either as a decimal point number or as milli units. For example:`1.5` will be 1.5 cores, also written as `1500m`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("max") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The maximum amount of CPU cores that can be requested by Pods. Equivalent to the `limit` for Pod resource configuration. Cores are specified either as a decimal point number or as milli units. For example:`1.5` will be 1.5 cores, also written as `1500m`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String max; + + public String getMax() { + return max; + } + + public void setMax(String max) { + this.max = max; + } + + /** + * The minimal amount of CPU cores that Pods need to run. Equivalent to the `request` for Pod resource configuration. Cores are specified either as a decimal point number or as milli units. For example:`1.5` will be 1.5 cores, also written as `1500m`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("min") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The minimal amount of CPU cores that Pods need to run. Equivalent to the `request` for Pod resource configuration. Cores are specified either as a decimal point number or as milli units. For example:`1.5` will be 1.5 cores, also written as `1500m`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String min; + + public String getMin() { + return min; + } + + public void setMin(String min) { + this.min = min; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/Memory.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/Memory.java new file mode 100644 index 00000000..92867ec8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/Memory.java @@ -0,0 +1,42 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"limit","runtimeLimits"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Memory implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The maximum amount of memory that should be available to the Pod. Specified as a byte [Quantity](https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/), which means these suffixes are supported: E, P, T, G, M, k. You can also use the power-of-two equivalents: Ei, Pi, Ti, Gi, Mi, Ki. For example, the following represent roughly the same value: `128974848, 129e6, 129M, 128974848000m, 123Mi` + */ + @com.fasterxml.jackson.annotation.JsonProperty("limit") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The maximum amount of memory that should be available to the Pod. Specified as a byte [Quantity](https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/), which means these suffixes are supported: E, P, T, G, M, k. You can also use the power-of-two equivalents: Ei, Pi, Ti, Gi, Mi, Ki. For example, the following represent roughly the same value: `128974848, 129e6, 129M, 128974848000m, 123Mi`") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String limit; + + public String getLimit() { + return limit; + } + + public void setLimit(String limit) { + this.limit = limit; + } + + /** + * Additional options that can be specified. + */ + @com.fasterxml.jackson.annotation.JsonProperty("runtimeLimits") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Additional options that can be specified.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.memory.RuntimeLimits runtimeLimits; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.memory.RuntimeLimits getRuntimeLimits() { + return runtimeLimits; + } + + public void setRuntimeLimits(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.memory.RuntimeLimits runtimeLimits) { + this.runtimeLimits = runtimeLimits; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/Storage.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/Storage.java new file mode 100644 index 00000000..f09e858d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/Storage.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"data"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Storage implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("data") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.storage.Data data = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"capacity\":null}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.storage.Data.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.storage.Data getData() { + return data; + } + + public void setData(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.storage.Data data) { + this.data = data; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/memory/RuntimeLimits.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/memory/RuntimeLimits.java new file mode 100644 index 00000000..21650463 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/memory/RuntimeLimits.java @@ -0,0 +1,9 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.memory; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RuntimeLimits implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/storage/Data.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/storage/Data.java new file mode 100644 index 00000000..469d5d41 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/storage/Data.java @@ -0,0 +1,92 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.storage; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"capacity","selectors","storageClass"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Data implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. + * + * The serialization format is: + * + * ``` ::= + * + * (Note that may be empty, from the "" case in .) + * + * ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= "+" | "-" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei + * + * (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) + * + * ::= m | "" | k | M | G | T | P | E + * + * (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) + * + * ::= "e" | "E" ``` + * + * No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. + * + * When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. + * + * Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: + * + * - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. + * + * The sign will be omitted unless the number is negative. + * + * Examples: + * + * - 1.5 will be serialized as "1500m" - 1.5Gi will be serialized as "1536Mi" + * + * Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. + * + * Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) + * + * This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + */ + @com.fasterxml.jackson.annotation.JsonProperty("capacity") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String capacity; + + public String getCapacity() { + return capacity; + } + + public void setCapacity(String capacity) { + this.capacity = capacity; + } + + /** + * A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. + */ + @com.fasterxml.jackson.annotation.JsonProperty("selectors") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.storage.data.Selectors selectors; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.storage.data.Selectors getSelectors() { + return selectors; + } + + public void setSelectors(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.storage.data.Selectors selectors) { + this.selectors = selectors; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storageClass") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String storageClass; + + public String getStorageClass() { + return storageClass; + } + + public void setStorageClass(String storageClass) { + this.storageClass = storageClass; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/storage/data/Selectors.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/storage/data/Selectors.java new file mode 100644 index 00000000..7ff8fded --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/storage/data/Selectors.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.storage.data; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Selectors implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/storage/data/selectors/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/storage/data/selectors/MatchExpressions.java new file mode 100644 index 00000000..e74f03a2 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/config/resources/storage/data/selectors/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.config.resources.storage.data.selectors; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/Metadata.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/Metadata.java new file mode 100644 index 00000000..991fb821 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/Metadata.java @@ -0,0 +1,189 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"annotations","creationTimestamp","deletionGracePeriodSeconds","deletionTimestamp","finalizers","generateName","generation","labels","managedFields","name","namespace","ownerReferences","resourceVersion","selfLink","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Metadata implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("annotations") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map annotations; + + public java.util.Map getAnnotations() { + return annotations; + } + + public void setAnnotations(java.util.Map annotations) { + this.annotations = annotations; + } + + @com.fasterxml.jackson.annotation.JsonProperty("creationTimestamp") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String creationTimestamp; + + public String getCreationTimestamp() { + return creationTimestamp; + } + + public void setCreationTimestamp(String creationTimestamp) { + this.creationTimestamp = creationTimestamp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("deletionGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long deletionGracePeriodSeconds; + + public Long getDeletionGracePeriodSeconds() { + return deletionGracePeriodSeconds; + } + + public void setDeletionGracePeriodSeconds(Long deletionGracePeriodSeconds) { + this.deletionGracePeriodSeconds = deletionGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("deletionTimestamp") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String deletionTimestamp; + + public String getDeletionTimestamp() { + return deletionTimestamp; + } + + public void setDeletionTimestamp(String deletionTimestamp) { + this.deletionTimestamp = deletionTimestamp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("finalizers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List finalizers; + + public java.util.List getFinalizers() { + return finalizers; + } + + public void setFinalizers(java.util.List finalizers) { + this.finalizers = finalizers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("generateName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String generateName; + + public String getGenerateName() { + return generateName; + } + + public void setGenerateName(String generateName) { + this.generateName = generateName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("generation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long generation; + + public Long getGeneration() { + return generation; + } + + public void setGeneration(Long generation) { + this.generation = generation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("labels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map labels; + + public java.util.Map getLabels() { + return labels; + } + + public void setLabels(java.util.Map labels) { + this.labels = labels; + } + + @com.fasterxml.jackson.annotation.JsonProperty("managedFields") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List managedFields; + + public java.util.List getManagedFields() { + return managedFields; + } + + public void setManagedFields(java.util.List managedFields) { + this.managedFields = managedFields; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ownerReferences") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ownerReferences; + + public java.util.List getOwnerReferences() { + return ownerReferences; + } + + public void setOwnerReferences(java.util.List ownerReferences) { + this.ownerReferences = ownerReferences; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceVersion; + + public String getResourceVersion() { + return resourceVersion; + } + + public void setResourceVersion(String resourceVersion) { + this.resourceVersion = resourceVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("selfLink") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String selfLink; + + public String getSelfLink() { + return selfLink; + } + + public void setSelfLink(String selfLink) { + this.selfLink = selfLink; + } + + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/Spec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/Spec.java new file mode 100644 index 00000000..a31ba443 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/Spec.java @@ -0,0 +1,477 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"activeDeadlineSeconds","affinity","automountServiceAccountToken","containers","dnsConfig","dnsPolicy","enableServiceLinks","ephemeralContainers","hostAliases","hostIPC","hostNetwork","hostPID","hostUsers","hostname","imagePullSecrets","initContainers","nodeName","nodeSelector","os","overhead","preemptionPolicy","priority","priorityClassName","readinessGates","resourceClaims","restartPolicy","runtimeClassName","schedulerName","schedulingGates","securityContext","serviceAccount","serviceAccountName","setHostnameAsFQDN","shareProcessNamespace","subdomain","terminationGracePeriodSeconds","tolerations","topologySpreadConstraints","volumes"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Spec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("activeDeadlineSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long activeDeadlineSeconds; + + public Long getActiveDeadlineSeconds() { + return activeDeadlineSeconds; + } + + public void setActiveDeadlineSeconds(Long activeDeadlineSeconds) { + this.activeDeadlineSeconds = activeDeadlineSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("affinity") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.Affinity affinity; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.Affinity getAffinity() { + return affinity; + } + + public void setAffinity(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.Affinity affinity) { + this.affinity = affinity; + } + + @com.fasterxml.jackson.annotation.JsonProperty("automountServiceAccountToken") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean automountServiceAccountToken; + + public Boolean getAutomountServiceAccountToken() { + return automountServiceAccountToken; + } + + public void setAutomountServiceAccountToken(Boolean automountServiceAccountToken) { + this.automountServiceAccountToken = automountServiceAccountToken; + } + + @com.fasterxml.jackson.annotation.JsonProperty("containers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List containers; + + public java.util.List getContainers() { + return containers; + } + + public void setContainers(java.util.List containers) { + this.containers = containers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dnsConfig") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.DnsConfig dnsConfig; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.DnsConfig getDnsConfig() { + return dnsConfig; + } + + public void setDnsConfig(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.DnsConfig dnsConfig) { + this.dnsConfig = dnsConfig; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dnsPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String dnsPolicy; + + public String getDnsPolicy() { + return dnsPolicy; + } + + public void setDnsPolicy(String dnsPolicy) { + this.dnsPolicy = dnsPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("enableServiceLinks") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean enableServiceLinks; + + public Boolean getEnableServiceLinks() { + return enableServiceLinks; + } + + public void setEnableServiceLinks(Boolean enableServiceLinks) { + this.enableServiceLinks = enableServiceLinks; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ephemeralContainers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ephemeralContainers; + + public java.util.List getEphemeralContainers() { + return ephemeralContainers; + } + + public void setEphemeralContainers(java.util.List ephemeralContainers) { + this.ephemeralContainers = ephemeralContainers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostAliases") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List hostAliases; + + public java.util.List getHostAliases() { + return hostAliases; + } + + public void setHostAliases(java.util.List hostAliases) { + this.hostAliases = hostAliases; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostIPC") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostIPC; + + public Boolean getHostIPC() { + return hostIPC; + } + + public void setHostIPC(Boolean hostIPC) { + this.hostIPC = hostIPC; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostNetwork") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostNetwork; + + public Boolean getHostNetwork() { + return hostNetwork; + } + + public void setHostNetwork(Boolean hostNetwork) { + this.hostNetwork = hostNetwork; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostPID; + + public Boolean getHostPID() { + return hostPID; + } + + public void setHostPID(Boolean hostPID) { + this.hostPID = hostPID; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostUsers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostUsers; + + public Boolean getHostUsers() { + return hostUsers; + } + + public void setHostUsers(Boolean hostUsers) { + this.hostUsers = hostUsers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostname") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostname; + + public String getHostname() { + return hostname; + } + + public void setHostname(String hostname) { + this.hostname = hostname; + } + + @com.fasterxml.jackson.annotation.JsonProperty("imagePullSecrets") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List imagePullSecrets; + + public java.util.List getImagePullSecrets() { + return imagePullSecrets; + } + + public void setImagePullSecrets(java.util.List imagePullSecrets) { + this.imagePullSecrets = imagePullSecrets; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initContainers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List initContainers; + + public java.util.List getInitContainers() { + return initContainers; + } + + public void setInitContainers(java.util.List initContainers) { + this.initContainers = initContainers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String nodeName; + + public String getNodeName() { + return nodeName; + } + + public void setNodeName(String nodeName) { + this.nodeName = nodeName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map nodeSelector; + + public java.util.Map getNodeSelector() { + return nodeSelector; + } + + public void setNodeSelector(java.util.Map nodeSelector) { + this.nodeSelector = nodeSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("os") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.Os os; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.Os getOs() { + return os; + } + + public void setOs(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.Os os) { + this.os = os; + } + + @com.fasterxml.jackson.annotation.JsonProperty("overhead") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map overhead; + + public java.util.Map getOverhead() { + return overhead; + } + + public void setOverhead(java.util.Map overhead) { + this.overhead = overhead; + } + + @com.fasterxml.jackson.annotation.JsonProperty("preemptionPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String preemptionPolicy; + + public String getPreemptionPolicy() { + return preemptionPolicy; + } + + public void setPreemptionPolicy(String preemptionPolicy) { + this.preemptionPolicy = preemptionPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("priority") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer priority; + + public Integer getPriority() { + return priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } + + @com.fasterxml.jackson.annotation.JsonProperty("priorityClassName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String priorityClassName; + + public String getPriorityClassName() { + return priorityClassName; + } + + public void setPriorityClassName(String priorityClassName) { + this.priorityClassName = priorityClassName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readinessGates") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List readinessGates; + + public java.util.List getReadinessGates() { + return readinessGates; + } + + public void setReadinessGates(java.util.List readinessGates) { + this.readinessGates = readinessGates; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceClaims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List resourceClaims; + + public java.util.List getResourceClaims() { + return resourceClaims; + } + + public void setResourceClaims(java.util.List resourceClaims) { + this.resourceClaims = resourceClaims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runtimeClassName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runtimeClassName; + + public String getRuntimeClassName() { + return runtimeClassName; + } + + public void setRuntimeClassName(String runtimeClassName) { + this.runtimeClassName = runtimeClassName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("schedulerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String schedulerName; + + public String getSchedulerName() { + return schedulerName; + } + + public void setSchedulerName(String schedulerName) { + this.schedulerName = schedulerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("schedulingGates") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List schedulingGates; + + public java.util.List getSchedulingGates() { + return schedulingGates; + } + + public void setSchedulingGates(java.util.List schedulingGates) { + this.schedulingGates = schedulingGates; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityContext") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.SecurityContext securityContext; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.SecurityContext getSecurityContext() { + return securityContext; + } + + public void setSecurityContext(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("serviceAccount") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String serviceAccount; + + public String getServiceAccount() { + return serviceAccount; + } + + public void setServiceAccount(String serviceAccount) { + this.serviceAccount = serviceAccount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("serviceAccountName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String serviceAccountName; + + public String getServiceAccountName() { + return serviceAccountName; + } + + public void setServiceAccountName(String serviceAccountName) { + this.serviceAccountName = serviceAccountName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("setHostnameAsFQDN") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean setHostnameAsFQDN; + + public Boolean getSetHostnameAsFQDN() { + return setHostnameAsFQDN; + } + + public void setSetHostnameAsFQDN(Boolean setHostnameAsFQDN) { + this.setHostnameAsFQDN = setHostnameAsFQDN; + } + + @com.fasterxml.jackson.annotation.JsonProperty("shareProcessNamespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean shareProcessNamespace; + + public Boolean getShareProcessNamespace() { + return shareProcessNamespace; + } + + public void setShareProcessNamespace(Boolean shareProcessNamespace) { + this.shareProcessNamespace = shareProcessNamespace; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subdomain") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subdomain; + + public String getSubdomain() { + return subdomain; + } + + public void setSubdomain(String subdomain) { + this.subdomain = subdomain; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tolerations") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List tolerations; + + public java.util.List getTolerations() { + return tolerations; + } + + public void setTolerations(java.util.List tolerations) { + this.tolerations = tolerations; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologySpreadConstraints") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List topologySpreadConstraints; + + public java.util.List getTopologySpreadConstraints() { + return topologySpreadConstraints; + } + + public void setTopologySpreadConstraints(java.util.List topologySpreadConstraints) { + this.topologySpreadConstraints = topologySpreadConstraints; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumes") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumes; + + public java.util.List getVolumes() { + return volumes; + } + + public void setVolumes(java.util.List volumes) { + this.volumes = volumes; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/metadata/ManagedFields.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/metadata/ManagedFields.java new file mode 100644 index 00000000..486bc3d8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/metadata/ManagedFields.java @@ -0,0 +1,93 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.metadata; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldsType","fieldsV1","manager","operation","subresource","time"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ManagedFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldsType; + + public String getFieldsType() { + return fieldsType; + } + + public void setFieldsType(String fieldsType) { + this.fieldsType = fieldsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldsV1") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.metadata.managedfields.FieldsV1 fieldsV1; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.metadata.managedfields.FieldsV1 getFieldsV1() { + return fieldsV1; + } + + public void setFieldsV1(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.metadata.managedfields.FieldsV1 fieldsV1) { + this.fieldsV1 = fieldsV1; + } + + @com.fasterxml.jackson.annotation.JsonProperty("manager") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String manager; + + public String getManager() { + return manager; + } + + public void setManager(String manager) { + this.manager = manager; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operation; + + public String getOperation() { + return operation; + } + + public void setOperation(String operation) { + this.operation = operation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subresource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subresource; + + public String getSubresource() { + return subresource; + } + + public void setSubresource(String subresource) { + this.subresource = subresource; + } + + @com.fasterxml.jackson.annotation.JsonProperty("time") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String time; + + public String getTime() { + return time; + } + + public void setTime(String time) { + this.time = time; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/metadata/OwnerReferences.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/metadata/OwnerReferences.java new file mode 100644 index 00000000..3075a159 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/metadata/OwnerReferences.java @@ -0,0 +1,81 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.metadata; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","blockOwnerDeletion","controller","kind","name","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class OwnerReferences implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("blockOwnerDeletion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean blockOwnerDeletion; + + public Boolean getBlockOwnerDeletion() { + return blockOwnerDeletion; + } + + public void setBlockOwnerDeletion(Boolean blockOwnerDeletion) { + this.blockOwnerDeletion = blockOwnerDeletion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("controller") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean controller; + + public Boolean getController() { + return controller; + } + + public void setController(Boolean controller) { + this.controller = controller; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/metadata/managedfields/FieldsV1.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/metadata/managedfields/FieldsV1.java new file mode 100644 index 00000000..bfa8ad5c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/metadata/managedfields/FieldsV1.java @@ -0,0 +1,9 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.metadata.managedfields; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldsV1 implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Affinity.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Affinity.java new file mode 100644 index 00000000..71d1ce2e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Affinity.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"nodeAffinity","podAffinity","podAntiAffinity"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Affinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("nodeAffinity") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.NodeAffinity nodeAffinity; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.NodeAffinity getNodeAffinity() { + return nodeAffinity; + } + + public void setNodeAffinity(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.NodeAffinity nodeAffinity) { + this.nodeAffinity = nodeAffinity; + } + + @com.fasterxml.jackson.annotation.JsonProperty("podAffinity") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.PodAffinity podAffinity; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.PodAffinity getPodAffinity() { + return podAffinity; + } + + public void setPodAffinity(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.PodAffinity podAffinity) { + this.podAffinity = podAffinity; + } + + @com.fasterxml.jackson.annotation.JsonProperty("podAntiAffinity") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.PodAntiAffinity podAntiAffinity; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.PodAntiAffinity getPodAntiAffinity() { + return podAntiAffinity; + } + + public void setPodAntiAffinity(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.PodAntiAffinity podAntiAffinity) { + this.podAntiAffinity = podAntiAffinity; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Containers.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Containers.java new file mode 100644 index 00000000..a89b94e7 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Containers.java @@ -0,0 +1,297 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"args","command","env","envFrom","image","imagePullPolicy","lifecycle","livenessProbe","name","ports","readinessProbe","resizePolicy","resources","restartPolicy","securityContext","startupProbe","stdin","stdinOnce","terminationMessagePath","terminationMessagePolicy","tty","volumeDevices","volumeMounts","workingDir"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Containers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("args") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List args; + + public java.util.List getArgs() { + return args; + } + + public void setArgs(java.util.List args) { + this.args = args; + } + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } + + @com.fasterxml.jackson.annotation.JsonProperty("env") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List env; + + public java.util.List getEnv() { + return env; + } + + public void setEnv(java.util.List env) { + this.env = env; + } + + @com.fasterxml.jackson.annotation.JsonProperty("envFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List envFrom; + + public java.util.List getEnvFrom() { + return envFrom; + } + + public void setEnvFrom(java.util.List envFrom) { + this.envFrom = envFrom; + } + + @com.fasterxml.jackson.annotation.JsonProperty("image") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String image; + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + @com.fasterxml.jackson.annotation.JsonProperty("imagePullPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String imagePullPolicy; + + public String getImagePullPolicy() { + return imagePullPolicy; + } + + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycle") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.Lifecycle lifecycle; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.Lifecycle getLifecycle() { + return lifecycle; + } + + public void setLifecycle(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.Lifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @com.fasterxml.jackson.annotation.JsonProperty("livenessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.LivenessProbe livenessProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.LivenessProbe getLivenessProbe() { + return livenessProbe; + } + + public void setLivenessProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.LivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ports") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ports; + + public java.util.List getPorts() { + return ports; + } + + public void setPorts(java.util.List ports) { + this.ports = ports; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readinessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.ReadinessProbe readinessProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.ReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + public void setReadinessProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.ReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resizePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List resizePolicy; + + public java.util.List getResizePolicy() { + return resizePolicy; + } + + public void setResizePolicy(java.util.List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.Resources resources; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityContext") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.SecurityContext securityContext; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.SecurityContext getSecurityContext() { + return securityContext; + } + + public void setSecurityContext(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("startupProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.StartupProbe startupProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.StartupProbe getStartupProbe() { + return startupProbe; + } + + public void setStartupProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.StartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdin") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdin; + + public Boolean getStdin() { + return stdin; + } + + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdinOnce") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdinOnce; + + public Boolean getStdinOnce() { + return stdinOnce; + } + + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePath; + + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePolicy; + + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tty") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean tty; + + public Boolean getTty() { + return tty; + } + + public void setTty(Boolean tty) { + this.tty = tty; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeDevices") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeDevices; + + public java.util.List getVolumeDevices() { + return volumeDevices; + } + + public void setVolumeDevices(java.util.List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeMounts") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeMounts; + + public java.util.List getVolumeMounts() { + return volumeMounts; + } + + public void setVolumeMounts(java.util.List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @com.fasterxml.jackson.annotation.JsonProperty("workingDir") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String workingDir; + + public String getWorkingDir() { + return workingDir; + } + + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/DnsConfig.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/DnsConfig.java new file mode 100644 index 00000000..60a2a476 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/DnsConfig.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"nameservers","options","searches"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DnsConfig implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("nameservers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List nameservers; + + public java.util.List getNameservers() { + return nameservers; + } + + public void setNameservers(java.util.List nameservers) { + this.nameservers = nameservers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("options") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List options; + + public java.util.List getOptions() { + return options; + } + + public void setOptions(java.util.List options) { + this.options = options; + } + + @com.fasterxml.jackson.annotation.JsonProperty("searches") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List searches; + + public java.util.List getSearches() { + return searches; + } + + public void setSearches(java.util.List searches) { + this.searches = searches; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/EphemeralContainers.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/EphemeralContainers.java new file mode 100644 index 00000000..37bef3ad --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/EphemeralContainers.java @@ -0,0 +1,309 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"args","command","env","envFrom","image","imagePullPolicy","lifecycle","livenessProbe","name","ports","readinessProbe","resizePolicy","resources","restartPolicy","securityContext","startupProbe","stdin","stdinOnce","targetContainerName","terminationMessagePath","terminationMessagePolicy","tty","volumeDevices","volumeMounts","workingDir"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EphemeralContainers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("args") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List args; + + public java.util.List getArgs() { + return args; + } + + public void setArgs(java.util.List args) { + this.args = args; + } + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } + + @com.fasterxml.jackson.annotation.JsonProperty("env") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List env; + + public java.util.List getEnv() { + return env; + } + + public void setEnv(java.util.List env) { + this.env = env; + } + + @com.fasterxml.jackson.annotation.JsonProperty("envFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List envFrom; + + public java.util.List getEnvFrom() { + return envFrom; + } + + public void setEnvFrom(java.util.List envFrom) { + this.envFrom = envFrom; + } + + @com.fasterxml.jackson.annotation.JsonProperty("image") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String image; + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + @com.fasterxml.jackson.annotation.JsonProperty("imagePullPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String imagePullPolicy; + + public String getImagePullPolicy() { + return imagePullPolicy; + } + + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycle") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.Lifecycle lifecycle; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.Lifecycle getLifecycle() { + return lifecycle; + } + + public void setLifecycle(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.Lifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @com.fasterxml.jackson.annotation.JsonProperty("livenessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.LivenessProbe livenessProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.LivenessProbe getLivenessProbe() { + return livenessProbe; + } + + public void setLivenessProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.LivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ports") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ports; + + public java.util.List getPorts() { + return ports; + } + + public void setPorts(java.util.List ports) { + this.ports = ports; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readinessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.ReadinessProbe readinessProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.ReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + public void setReadinessProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.ReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resizePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List resizePolicy; + + public java.util.List getResizePolicy() { + return resizePolicy; + } + + public void setResizePolicy(java.util.List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.Resources resources; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityContext") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.SecurityContext securityContext; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.SecurityContext getSecurityContext() { + return securityContext; + } + + public void setSecurityContext(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("startupProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.StartupProbe startupProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.StartupProbe getStartupProbe() { + return startupProbe; + } + + public void setStartupProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.StartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdin") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdin; + + public Boolean getStdin() { + return stdin; + } + + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdinOnce") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdinOnce; + + public Boolean getStdinOnce() { + return stdinOnce; + } + + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @com.fasterxml.jackson.annotation.JsonProperty("targetContainerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String targetContainerName; + + public String getTargetContainerName() { + return targetContainerName; + } + + public void setTargetContainerName(String targetContainerName) { + this.targetContainerName = targetContainerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePath; + + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePolicy; + + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tty") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean tty; + + public Boolean getTty() { + return tty; + } + + public void setTty(Boolean tty) { + this.tty = tty; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeDevices") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeDevices; + + public java.util.List getVolumeDevices() { + return volumeDevices; + } + + public void setVolumeDevices(java.util.List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeMounts") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeMounts; + + public java.util.List getVolumeMounts() { + return volumeMounts; + } + + public void setVolumeMounts(java.util.List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @com.fasterxml.jackson.annotation.JsonProperty("workingDir") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String workingDir; + + public String getWorkingDir() { + return workingDir; + } + + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/HostAliases.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/HostAliases.java new file mode 100644 index 00000000..2f8d6c10 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/HostAliases.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"hostnames","ip"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HostAliases implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("hostnames") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List hostnames; + + public java.util.List getHostnames() { + return hostnames; + } + + public void setHostnames(java.util.List hostnames) { + this.hostnames = hostnames; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ip") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String ip; + + public String getIp() { + return ip; + } + + public void setIp(String ip) { + this.ip = ip; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ImagePullSecrets.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ImagePullSecrets.java new file mode 100644 index 00000000..8890903f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ImagePullSecrets.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ImagePullSecrets implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/InitContainers.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/InitContainers.java new file mode 100644 index 00000000..aa27c49e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/InitContainers.java @@ -0,0 +1,297 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"args","command","env","envFrom","image","imagePullPolicy","lifecycle","livenessProbe","name","ports","readinessProbe","resizePolicy","resources","restartPolicy","securityContext","startupProbe","stdin","stdinOnce","terminationMessagePath","terminationMessagePolicy","tty","volumeDevices","volumeMounts","workingDir"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class InitContainers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("args") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List args; + + public java.util.List getArgs() { + return args; + } + + public void setArgs(java.util.List args) { + this.args = args; + } + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } + + @com.fasterxml.jackson.annotation.JsonProperty("env") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List env; + + public java.util.List getEnv() { + return env; + } + + public void setEnv(java.util.List env) { + this.env = env; + } + + @com.fasterxml.jackson.annotation.JsonProperty("envFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List envFrom; + + public java.util.List getEnvFrom() { + return envFrom; + } + + public void setEnvFrom(java.util.List envFrom) { + this.envFrom = envFrom; + } + + @com.fasterxml.jackson.annotation.JsonProperty("image") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String image; + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + @com.fasterxml.jackson.annotation.JsonProperty("imagePullPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String imagePullPolicy; + + public String getImagePullPolicy() { + return imagePullPolicy; + } + + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycle") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.Lifecycle lifecycle; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.Lifecycle getLifecycle() { + return lifecycle; + } + + public void setLifecycle(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.Lifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @com.fasterxml.jackson.annotation.JsonProperty("livenessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.LivenessProbe livenessProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.LivenessProbe getLivenessProbe() { + return livenessProbe; + } + + public void setLivenessProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.LivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ports") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ports; + + public java.util.List getPorts() { + return ports; + } + + public void setPorts(java.util.List ports) { + this.ports = ports; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readinessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.ReadinessProbe readinessProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.ReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + public void setReadinessProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.ReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resizePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List resizePolicy; + + public java.util.List getResizePolicy() { + return resizePolicy; + } + + public void setResizePolicy(java.util.List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.Resources resources; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityContext") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.SecurityContext securityContext; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.SecurityContext getSecurityContext() { + return securityContext; + } + + public void setSecurityContext(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("startupProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.StartupProbe startupProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.StartupProbe getStartupProbe() { + return startupProbe; + } + + public void setStartupProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.StartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdin") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdin; + + public Boolean getStdin() { + return stdin; + } + + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdinOnce") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdinOnce; + + public Boolean getStdinOnce() { + return stdinOnce; + } + + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePath; + + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePolicy; + + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tty") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean tty; + + public Boolean getTty() { + return tty; + } + + public void setTty(Boolean tty) { + this.tty = tty; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeDevices") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeDevices; + + public java.util.List getVolumeDevices() { + return volumeDevices; + } + + public void setVolumeDevices(java.util.List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeMounts") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeMounts; + + public java.util.List getVolumeMounts() { + return volumeMounts; + } + + public void setVolumeMounts(java.util.List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @com.fasterxml.jackson.annotation.JsonProperty("workingDir") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String workingDir; + + public String getWorkingDir() { + return workingDir; + } + + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Os.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Os.java new file mode 100644 index 00000000..579eb71c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Os.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Os implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ReadinessGates.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ReadinessGates.java new file mode 100644 index 00000000..d34528c1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ReadinessGates.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"conditionType"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ReadinessGates implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("conditionType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String conditionType; + + public String getConditionType() { + return conditionType; + } + + public void setConditionType(String conditionType) { + this.conditionType = conditionType; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ResourceClaims.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ResourceClaims.java new file mode 100644 index 00000000..0de902b6 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ResourceClaims.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","source"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceClaims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("source") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.resourceclaims.Source source; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.resourceclaims.Source getSource() { + return source; + } + + public void setSource(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.resourceclaims.Source source) { + this.source = source; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/SchedulingGates.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/SchedulingGates.java new file mode 100644 index 00000000..f847c4b9 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/SchedulingGates.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SchedulingGates implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/SecurityContext.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/SecurityContext.java new file mode 100644 index 00000000..a25ba014 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/SecurityContext.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsGroup","fsGroupChangePolicy","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","supplementalGroups","sysctls","windowsOptions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecurityContext implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long fsGroup; + + public Long getFsGroup() { + return fsGroup; + } + + public void setFsGroup(Long fsGroup) { + this.fsGroup = fsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsGroupChangePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsGroupChangePolicy; + + public String getFsGroupChangePolicy() { + return fsGroupChangePolicy; + } + + public void setFsGroupChangePolicy(String fsGroupChangePolicy) { + this.fsGroupChangePolicy = fsGroupChangePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsGroup; + + public Long getRunAsGroup() { + return runAsGroup; + } + + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsNonRoot") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean runAsNonRoot; + + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUser") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsUser; + + public Long getRunAsUser() { + return runAsUser; + } + + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.securitycontext.SeLinuxOptions seLinuxOptions; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.securitycontext.SeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + public void setSeLinuxOptions(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.securitycontext.SeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.securitycontext.SeccompProfile seccompProfile; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.securitycontext.SeccompProfile getSeccompProfile() { + return seccompProfile; + } + + public void setSeccompProfile(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.securitycontext.SeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("supplementalGroups") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List supplementalGroups; + + public java.util.List getSupplementalGroups() { + return supplementalGroups; + } + + public void setSupplementalGroups(java.util.List supplementalGroups) { + this.supplementalGroups = supplementalGroups; + } + + @com.fasterxml.jackson.annotation.JsonProperty("sysctls") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List sysctls; + + public java.util.List getSysctls() { + return sysctls; + } + + public void setSysctls(java.util.List sysctls) { + this.sysctls = sysctls; + } + + @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.securitycontext.WindowsOptions windowsOptions; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.securitycontext.WindowsOptions getWindowsOptions() { + return windowsOptions; + } + + public void setWindowsOptions(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.securitycontext.WindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Tolerations.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Tolerations.java new file mode 100644 index 00000000..abf5962e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Tolerations.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"effect","key","operator","tolerationSeconds","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Tolerations implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("effect") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String effect; + + public String getEffect() { + return effect; + } + + public void setEffect(String effect) { + this.effect = effect; + } + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tolerationSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long tolerationSeconds; + + public Long getTolerationSeconds() { + return tolerationSeconds; + } + + public void setTolerationSeconds(Long tolerationSeconds) { + this.tolerationSeconds = tolerationSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/TopologySpreadConstraints.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/TopologySpreadConstraints.java new file mode 100644 index 00000000..b982b6e2 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/TopologySpreadConstraints.java @@ -0,0 +1,105 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","matchLabelKeys","maxSkew","minDomains","nodeAffinityPolicy","nodeTaintsPolicy","topologyKey","whenUnsatisfiable"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TopologySpreadConstraints implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.topologyspreadconstraints.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.topologyspreadconstraints.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.topologyspreadconstraints.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabelKeys") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchLabelKeys; + + public java.util.List getMatchLabelKeys() { + return matchLabelKeys; + } + + public void setMatchLabelKeys(java.util.List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @com.fasterxml.jackson.annotation.JsonProperty("maxSkew") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer maxSkew; + + public Integer getMaxSkew() { + return maxSkew; + } + + public void setMaxSkew(Integer maxSkew) { + this.maxSkew = maxSkew; + } + + @com.fasterxml.jackson.annotation.JsonProperty("minDomains") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer minDomains; + + public Integer getMinDomains() { + return minDomains; + } + + public void setMinDomains(Integer minDomains) { + this.minDomains = minDomains; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeAffinityPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String nodeAffinityPolicy; + + public String getNodeAffinityPolicy() { + return nodeAffinityPolicy; + } + + public void setNodeAffinityPolicy(String nodeAffinityPolicy) { + this.nodeAffinityPolicy = nodeAffinityPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeTaintsPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String nodeTaintsPolicy; + + public String getNodeTaintsPolicy() { + return nodeTaintsPolicy; + } + + public void setNodeTaintsPolicy(String nodeTaintsPolicy) { + this.nodeTaintsPolicy = nodeTaintsPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @com.fasterxml.jackson.annotation.JsonProperty("whenUnsatisfiable") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String whenUnsatisfiable; + + public String getWhenUnsatisfiable() { + return whenUnsatisfiable; + } + + public void setWhenUnsatisfiable(String whenUnsatisfiable) { + this.whenUnsatisfiable = whenUnsatisfiable; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Volumes.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Volumes.java new file mode 100644 index 00000000..c15b8c0e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/Volumes.java @@ -0,0 +1,369 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"awsElasticBlockStore","azureDisk","azureFile","cephfs","cinder","configMap","csi","downwardAPI","emptyDir","ephemeral","fc","flexVolume","flocker","gcePersistentDisk","gitRepo","glusterfs","hostPath","iscsi","name","nfs","persistentVolumeClaim","photonPersistentDisk","portworxVolume","projected","quobyte","rbd","scaleIO","secret","storageos","vsphereVolume"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Volumes implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("awsElasticBlockStore") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.AwsElasticBlockStore awsElasticBlockStore; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.AwsElasticBlockStore getAwsElasticBlockStore() { + return awsElasticBlockStore; + } + + public void setAwsElasticBlockStore(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.AwsElasticBlockStore awsElasticBlockStore) { + this.awsElasticBlockStore = awsElasticBlockStore; + } + + @com.fasterxml.jackson.annotation.JsonProperty("azureDisk") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.AzureDisk azureDisk; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.AzureDisk getAzureDisk() { + return azureDisk; + } + + public void setAzureDisk(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.AzureDisk azureDisk) { + this.azureDisk = azureDisk; + } + + @com.fasterxml.jackson.annotation.JsonProperty("azureFile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.AzureFile azureFile; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.AzureFile getAzureFile() { + return azureFile; + } + + public void setAzureFile(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.AzureFile azureFile) { + this.azureFile = azureFile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("cephfs") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Cephfs cephfs; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Cephfs getCephfs() { + return cephfs; + } + + public void setCephfs(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Cephfs cephfs) { + this.cephfs = cephfs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("cinder") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Cinder cinder; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Cinder getCinder() { + return cinder; + } + + public void setCinder(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Cinder cinder) { + this.cinder = cinder; + } + + @com.fasterxml.jackson.annotation.JsonProperty("configMap") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ConfigMap configMap; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ConfigMap getConfigMap() { + return configMap; + } + + public void setConfigMap(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ConfigMap configMap) { + this.configMap = configMap; + } + + @com.fasterxml.jackson.annotation.JsonProperty("csi") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Csi csi; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Csi getCsi() { + return csi; + } + + public void setCsi(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Csi csi) { + this.csi = csi; + } + + @com.fasterxml.jackson.annotation.JsonProperty("downwardAPI") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.DownwardAPI downwardAPI; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.DownwardAPI getDownwardAPI() { + return downwardAPI; + } + + public void setDownwardAPI(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.DownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @com.fasterxml.jackson.annotation.JsonProperty("emptyDir") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.EmptyDir emptyDir; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.EmptyDir getEmptyDir() { + return emptyDir; + } + + public void setEmptyDir(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.EmptyDir emptyDir) { + this.emptyDir = emptyDir; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ephemeral") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Ephemeral ephemeral; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Ephemeral getEphemeral() { + return ephemeral; + } + + public void setEphemeral(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Ephemeral ephemeral) { + this.ephemeral = ephemeral; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Fc fc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Fc getFc() { + return fc; + } + + public void setFc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Fc fc) { + this.fc = fc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("flexVolume") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.FlexVolume flexVolume; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.FlexVolume getFlexVolume() { + return flexVolume; + } + + public void setFlexVolume(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.FlexVolume flexVolume) { + this.flexVolume = flexVolume; + } + + @com.fasterxml.jackson.annotation.JsonProperty("flocker") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Flocker flocker; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Flocker getFlocker() { + return flocker; + } + + public void setFlocker(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Flocker flocker) { + this.flocker = flocker; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gcePersistentDisk") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.GcePersistentDisk gcePersistentDisk; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.GcePersistentDisk getGcePersistentDisk() { + return gcePersistentDisk; + } + + public void setGcePersistentDisk(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.GcePersistentDisk gcePersistentDisk) { + this.gcePersistentDisk = gcePersistentDisk; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gitRepo") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.GitRepo gitRepo; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.GitRepo getGitRepo() { + return gitRepo; + } + + public void setGitRepo(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.GitRepo gitRepo) { + this.gitRepo = gitRepo; + } + + @com.fasterxml.jackson.annotation.JsonProperty("glusterfs") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Glusterfs glusterfs; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Glusterfs getGlusterfs() { + return glusterfs; + } + + public void setGlusterfs(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Glusterfs glusterfs) { + this.glusterfs = glusterfs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.HostPath hostPath; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.HostPath getHostPath() { + return hostPath; + } + + public void setHostPath(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.HostPath hostPath) { + this.hostPath = hostPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("iscsi") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Iscsi iscsi; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Iscsi getIscsi() { + return iscsi; + } + + public void setIscsi(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Iscsi iscsi) { + this.iscsi = iscsi; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nfs") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Nfs nfs; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Nfs getNfs() { + return nfs; + } + + public void setNfs(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Nfs nfs) { + this.nfs = nfs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("persistentVolumeClaim") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.PersistentVolumeClaim persistentVolumeClaim; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.PersistentVolumeClaim getPersistentVolumeClaim() { + return persistentVolumeClaim; + } + + public void setPersistentVolumeClaim(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.PersistentVolumeClaim persistentVolumeClaim) { + this.persistentVolumeClaim = persistentVolumeClaim; + } + + @com.fasterxml.jackson.annotation.JsonProperty("photonPersistentDisk") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.PhotonPersistentDisk photonPersistentDisk; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.PhotonPersistentDisk getPhotonPersistentDisk() { + return photonPersistentDisk; + } + + public void setPhotonPersistentDisk(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.PhotonPersistentDisk photonPersistentDisk) { + this.photonPersistentDisk = photonPersistentDisk; + } + + @com.fasterxml.jackson.annotation.JsonProperty("portworxVolume") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.PortworxVolume portworxVolume; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.PortworxVolume getPortworxVolume() { + return portworxVolume; + } + + public void setPortworxVolume(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.PortworxVolume portworxVolume) { + this.portworxVolume = portworxVolume; + } + + @com.fasterxml.jackson.annotation.JsonProperty("projected") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Projected projected; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Projected getProjected() { + return projected; + } + + public void setProjected(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Projected projected) { + this.projected = projected; + } + + @com.fasterxml.jackson.annotation.JsonProperty("quobyte") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Quobyte quobyte; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Quobyte getQuobyte() { + return quobyte; + } + + public void setQuobyte(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Quobyte quobyte) { + this.quobyte = quobyte; + } + + @com.fasterxml.jackson.annotation.JsonProperty("rbd") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Rbd rbd; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Rbd getRbd() { + return rbd; + } + + public void setRbd(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Rbd rbd) { + this.rbd = rbd; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleIO") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ScaleIO scaleIO; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ScaleIO getScaleIO() { + return scaleIO; + } + + public void setScaleIO(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ScaleIO scaleIO) { + this.scaleIO = scaleIO; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secret") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Secret secret; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Secret getSecret() { + return secret; + } + + public void setSecret(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Secret secret) { + this.secret = secret; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storageos") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Storageos storageos; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Storageos getStorageos() { + return storageos; + } + + public void setStorageos(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.Storageos storageos) { + this.storageos = storageos; + } + + @com.fasterxml.jackson.annotation.JsonProperty("vsphereVolume") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.VsphereVolume vsphereVolume; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.VsphereVolume getVsphereVolume() { + return vsphereVolume; + } + + public void setVsphereVolume(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.VsphereVolume vsphereVolume) { + this.vsphereVolume = vsphereVolume; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/NodeAffinity.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/NodeAffinity.java new file mode 100644 index 00000000..bb038ff4 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/NodeAffinity.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodeAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/PodAffinity.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/PodAffinity.java new file mode 100644 index 00000000..decbfeef --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/PodAffinity.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List requiredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(java.util.List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/PodAntiAffinity.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/PodAntiAffinity.java new file mode 100644 index 00000000..acfc4c39 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/PodAntiAffinity.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAntiAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List requiredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(java.util.List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..6e9100b6 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.nodeaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preference","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("preference") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference preference; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference getPreference() { + return preference; + } + + public void setPreference(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference preference) { + this.preference = preference; + } + + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..dde4573b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.nodeaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"nodeSelectorTerms"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("nodeSelectorTerms") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List nodeSelectorTerms; + + public java.util.List getNodeSelectorTerms() { + return nodeSelectorTerms; + } + + public void setNodeSelectorTerms(java.util.List nodeSelectorTerms) { + this.nodeSelectorTerms = nodeSelectorTerms; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java new file mode 100644 index 00000000..a8ba3147 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchFields"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Preference implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchFields") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchFields; + + public java.util.List getMatchFields() { + return matchFields; + } + + public void setMatchFields(java.util.List matchFields) { + this.matchFields = matchFields; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java new file mode 100644 index 00000000..7bf90648 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.preference; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java new file mode 100644 index 00000000..b005f7f2 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.preference; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java new file mode 100644 index 00000000..976e7285 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchFields"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodeSelectorTerms implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchFields") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchFields; + + public java.util.List getMatchFields() { + return matchFields; + } + + public void setMatchFields(java.util.List matchFields) { + this.matchFields = matchFields; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java new file mode 100644 index 00000000..815727ac --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution.nodeselectorterms; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java new file mode 100644 index 00000000..bb099c91 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution.nodeselectorterms; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..9bfec389 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"podAffinityTerm","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("podAffinityTerm") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + public void setPodAffinityTerm(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..d2b70166 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java new file mode 100644 index 00000000..314e97f8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinityTerm implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java new file mode 100644 index 00000000..945ea806 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java new file mode 100644 index 00000000..ee9990d1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java new file mode 100644 index 00000000..5f62a72b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..769e6537 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java new file mode 100644 index 00000000..e1d08d62 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java new file mode 100644 index 00000000..b7b3cc58 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java new file mode 100644 index 00000000..3c7b6f12 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..cbaf3157 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..3884a8f2 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"podAffinityTerm","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("podAffinityTerm") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + public void setPodAffinityTerm(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..4d0a2d8f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java new file mode 100644 index 00000000..ba6be961 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinityTerm implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java new file mode 100644 index 00000000..604c2998 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java new file mode 100644 index 00000000..63ff6620 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java new file mode 100644 index 00000000..26f5c3e6 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..30944d45 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java new file mode 100644 index 00000000..49cdf8cf --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java new file mode 100644 index 00000000..fade818d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java new file mode 100644 index 00000000..5cdcc66f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..416b6beb --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/Env.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/Env.java new file mode 100644 index 00000000..fec3621c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/Env.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value","valueFrom"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Env implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonProperty("valueFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.ValueFrom valueFrom; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.ValueFrom getValueFrom() { + return valueFrom; + } + + public void setValueFrom(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.ValueFrom valueFrom) { + this.valueFrom = valueFrom; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/EnvFrom.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/EnvFrom.java new file mode 100644 index 00000000..e8bf0a51 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/EnvFrom.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapRef","prefix","secretRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EnvFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.envfrom.ConfigMapRef configMapRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.envfrom.ConfigMapRef getConfigMapRef() { + return configMapRef; + } + + public void setConfigMapRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.envfrom.ConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("prefix") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String prefix; + + public String getPrefix() { + return prefix; + } + + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.envfrom.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.envfrom.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.envfrom.SecretRef secretRef) { + this.secretRef = secretRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/Lifecycle.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/Lifecycle.java new file mode 100644 index 00000000..16593029 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/Lifecycle.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"postStart","preStop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Lifecycle implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("postStart") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.PostStart postStart; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.PostStart getPostStart() { + return postStart; + } + + public void setPostStart(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.PostStart postStart) { + this.postStart = postStart; + } + + @com.fasterxml.jackson.annotation.JsonProperty("preStop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.PreStop preStop; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.PreStop getPreStop() { + return preStop; + } + + public void setPreStop(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.PreStop preStop) { + this.preStop = preStop; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/LivenessProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/LivenessProbe.java new file mode 100644 index 00000000..d23a0d86 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/LivenessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LivenessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/Ports.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/Ports.java new file mode 100644 index 00000000..8cc67cc1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/Ports.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerPort","hostIP","hostPort","name","protocol"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ports implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer containerPort; + + public Integer getContainerPort() { + return containerPort; + } + + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostIP") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostIP; + + public String getHostIP() { + return hostIP; + } + + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer hostPort; + + public Integer getHostPort() { + return hostPort; + } + + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protocol; + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/ReadinessProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/ReadinessProbe.java new file mode 100644 index 00000000..04400012 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/ReadinessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ReadinessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/ResizePolicy.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/ResizePolicy.java new file mode 100644 index 00000000..0964b4c9 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/ResizePolicy.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"resourceName","restartPolicy"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResizePolicy implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceName; + + public String getResourceName() { + return resourceName; + } + + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/Resources.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/Resources.java new file mode 100644 index 00000000..00889007 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List claims; + + public java.util.List getClaims() { + return claims; + } + + public void setClaims(java.util.List claims) { + this.claims = claims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("limits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map limits; + + public java.util.Map getLimits() { + return limits; + } + + public void setLimits(java.util.Map limits) { + this.limits = limits; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requests") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map requests; + + public java.util.Map getRequests() { + return requests; + } + + public void setRequests(java.util.Map requests) { + this.requests = requests; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/SecurityContext.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/SecurityContext.java new file mode 100644 index 00000000..79a43201 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/SecurityContext.java @@ -0,0 +1,141 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"allowPrivilegeEscalation","capabilities","privileged","procMount","readOnlyRootFilesystem","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","windowsOptions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecurityContext implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("allowPrivilegeEscalation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean allowPrivilegeEscalation; + + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("capabilities") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.securitycontext.Capabilities capabilities; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.securitycontext.Capabilities getCapabilities() { + return capabilities; + } + + public void setCapabilities(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.securitycontext.Capabilities capabilities) { + this.capabilities = capabilities; + } + + @com.fasterxml.jackson.annotation.JsonProperty("privileged") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean privileged; + + public Boolean getPrivileged() { + return privileged; + } + + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @com.fasterxml.jackson.annotation.JsonProperty("procMount") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String procMount; + + public String getProcMount() { + return procMount; + } + + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnlyRootFilesystem") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnlyRootFilesystem; + + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsGroup; + + public Long getRunAsGroup() { + return runAsGroup; + } + + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsNonRoot") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean runAsNonRoot; + + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUser") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsUser; + + public Long getRunAsUser() { + return runAsUser; + } + + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.securitycontext.SeLinuxOptions seLinuxOptions; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.securitycontext.SeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + public void setSeLinuxOptions(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.securitycontext.SeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.securitycontext.SeccompProfile seccompProfile; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.securitycontext.SeccompProfile getSeccompProfile() { + return seccompProfile; + } + + public void setSeccompProfile(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.securitycontext.SeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.securitycontext.WindowsOptions windowsOptions; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.securitycontext.WindowsOptions getWindowsOptions() { + return windowsOptions; + } + + public void setWindowsOptions(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.securitycontext.WindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/StartupProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/StartupProbe.java new file mode 100644 index 00000000..f710c07a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/StartupProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class StartupProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/VolumeDevices.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/VolumeDevices.java new file mode 100644 index 00000000..2d3052ad --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/VolumeDevices.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"devicePath","name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeDevices implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("devicePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String devicePath; + + public String getDevicePath() { + return devicePath; + } + + public void setDevicePath(String devicePath) { + this.devicePath = devicePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/VolumeMounts.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/VolumeMounts.java new file mode 100644 index 00000000..6db3d94e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/VolumeMounts.java @@ -0,0 +1,81 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"mountPath","mountPropagation","name","readOnly","subPath","subPathExpr"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeMounts implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("mountPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPath; + + public String getMountPath() { + return mountPath; + } + + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mountPropagation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPropagation; + + public String getMountPropagation() { + return mountPropagation; + } + + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPath; + + public String getSubPath() { + return subPath; + } + + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPathExpr") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPathExpr; + + public String getSubPathExpr() { + return subPathExpr; + } + + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/ValueFrom.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/ValueFrom.java new file mode 100644 index 00000000..83f09076 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/ValueFrom.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapKeyRef","fieldRef","resourceFieldRef","secretKeyRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ValueFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.valuefrom.ConfigMapKeyRef configMapKeyRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.valuefrom.ConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + public void setConfigMapKeyRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.valuefrom.ConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.valuefrom.FieldRef fieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.valuefrom.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.valuefrom.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.valuefrom.ResourceFieldRef resourceFieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.valuefrom.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.valuefrom.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.valuefrom.SecretKeyRef secretKeyRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.valuefrom.SecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + public void setSecretKeyRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.valuefrom.SecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/valuefrom/ConfigMapKeyRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/valuefrom/ConfigMapKeyRef.java new file mode 100644 index 00000000..d1b78072 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/valuefrom/ConfigMapKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/valuefrom/FieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/valuefrom/FieldRef.java new file mode 100644 index 00000000..9196c2f8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/valuefrom/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/valuefrom/ResourceFieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/valuefrom/ResourceFieldRef.java new file mode 100644 index 00000000..ac2b8c59 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/valuefrom/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/valuefrom/SecretKeyRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/valuefrom/SecretKeyRef.java new file mode 100644 index 00000000..c92d661a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/env/valuefrom/SecretKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/envfrom/ConfigMapRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/envfrom/ConfigMapRef.java new file mode 100644 index 00000000..a1b43076 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/envfrom/ConfigMapRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/envfrom/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/envfrom/SecretRef.java new file mode 100644 index 00000000..db264e17 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/envfrom/SecretRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/PostStart.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/PostStart.java new file mode 100644 index 00000000..aa72530a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/PostStart.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PostStart implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/PreStop.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/PreStop.java new file mode 100644 index 00000000..0c018cae --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/PreStop.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreStop implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/Exec.java new file mode 100644 index 00000000..dcac6d0a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/HttpGet.java new file mode 100644 index 00000000..02084908 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/TcpSocket.java new file mode 100644 index 00000000..cea8fc3d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/httpget/HttpHeaders.java new file mode 100644 index 00000000..12a06e73 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/poststart/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.poststart.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/Exec.java new file mode 100644 index 00000000..84a2f3c3 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/HttpGet.java new file mode 100644 index 00000000..847036c4 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/TcpSocket.java new file mode 100644 index 00000000..f4e21ffe --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/httpget/HttpHeaders.java new file mode 100644 index 00000000..847f528f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/lifecycle/prestop/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.lifecycle.prestop.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/Exec.java new file mode 100644 index 00000000..91312164 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/Grpc.java new file mode 100644 index 00000000..60aaaf57 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/HttpGet.java new file mode 100644 index 00000000..7984fe47 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/TcpSocket.java new file mode 100644 index 00000000..8daaba63 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..9e4dec65 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/livenessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.livenessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/Exec.java new file mode 100644 index 00000000..77520d70 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/Grpc.java new file mode 100644 index 00000000..0e4ee862 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/HttpGet.java new file mode 100644 index 00000000..6514246a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/TcpSocket.java new file mode 100644 index 00000000..7e3f24b4 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..0f4089ae --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/readinessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.readinessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/resources/Claims.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/resources/Claims.java new file mode 100644 index 00000000..506b3c3c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/resources/Claims.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Claims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/securitycontext/Capabilities.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/securitycontext/Capabilities.java new file mode 100644 index 00000000..76d38628 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/securitycontext/Capabilities.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"add","drop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Capabilities implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("add") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List add; + + public java.util.List getAdd() { + return add; + } + + public void setAdd(java.util.List add) { + this.add = add; + } + + @com.fasterxml.jackson.annotation.JsonProperty("drop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List drop; + + public java.util.List getDrop() { + return drop; + } + + public void setDrop(java.util.List drop) { + this.drop = drop; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/securitycontext/SeLinuxOptions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/securitycontext/SeLinuxOptions.java new file mode 100644 index 00000000..1067ef74 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/securitycontext/SeLinuxOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeLinuxOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String level; + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + @com.fasterxml.jackson.annotation.JsonProperty("role") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String role; + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/securitycontext/SeccompProfile.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/securitycontext/SeccompProfile.java new file mode 100644 index 00000000..d54a8caf --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/securitycontext/SeccompProfile.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeccompProfile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("localhostProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String localhostProfile; + + public String getLocalhostProfile() { + return localhostProfile; + } + + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/securitycontext/WindowsOptions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/securitycontext/WindowsOptions.java new file mode 100644 index 00000000..685f0b4b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/securitycontext/WindowsOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WindowsOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpec; + + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpecName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpecName; + + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostProcess") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostProcess; + + public Boolean getHostProcess() { + return hostProcess; + } + + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUserName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runAsUserName; + + public String getRunAsUserName() { + return runAsUserName; + } + + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/Exec.java new file mode 100644 index 00000000..0bcce55d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/Grpc.java new file mode 100644 index 00000000..e05d6352 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/HttpGet.java new file mode 100644 index 00000000..ed473b93 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/TcpSocket.java new file mode 100644 index 00000000..3790b2fa --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..77dc5e27 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/containers/startupprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.containers.startupprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/dnsconfig/Options.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/dnsconfig/Options.java new file mode 100644 index 00000000..cd5c5de3 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/dnsconfig/Options.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.dnsconfig; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Options implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/Env.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/Env.java new file mode 100644 index 00000000..711083cc --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/Env.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value","valueFrom"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Env implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonProperty("valueFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.ValueFrom valueFrom; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.ValueFrom getValueFrom() { + return valueFrom; + } + + public void setValueFrom(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.ValueFrom valueFrom) { + this.valueFrom = valueFrom; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/EnvFrom.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/EnvFrom.java new file mode 100644 index 00000000..0c4b8360 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/EnvFrom.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapRef","prefix","secretRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EnvFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.envfrom.ConfigMapRef configMapRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.envfrom.ConfigMapRef getConfigMapRef() { + return configMapRef; + } + + public void setConfigMapRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.envfrom.ConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("prefix") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String prefix; + + public String getPrefix() { + return prefix; + } + + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.envfrom.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.envfrom.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.envfrom.SecretRef secretRef) { + this.secretRef = secretRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/Lifecycle.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/Lifecycle.java new file mode 100644 index 00000000..4c7adb80 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/Lifecycle.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"postStart","preStop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Lifecycle implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("postStart") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.PostStart postStart; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.PostStart getPostStart() { + return postStart; + } + + public void setPostStart(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.PostStart postStart) { + this.postStart = postStart; + } + + @com.fasterxml.jackson.annotation.JsonProperty("preStop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.PreStop preStop; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.PreStop getPreStop() { + return preStop; + } + + public void setPreStop(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.PreStop preStop) { + this.preStop = preStop; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/LivenessProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/LivenessProbe.java new file mode 100644 index 00000000..224fd586 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/LivenessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LivenessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/Ports.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/Ports.java new file mode 100644 index 00000000..34b397d0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/Ports.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerPort","hostIP","hostPort","name","protocol"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ports implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer containerPort; + + public Integer getContainerPort() { + return containerPort; + } + + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostIP") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostIP; + + public String getHostIP() { + return hostIP; + } + + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer hostPort; + + public Integer getHostPort() { + return hostPort; + } + + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protocol; + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/ReadinessProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/ReadinessProbe.java new file mode 100644 index 00000000..d3bb0b75 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/ReadinessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ReadinessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/ResizePolicy.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/ResizePolicy.java new file mode 100644 index 00000000..5574a72a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/ResizePolicy.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"resourceName","restartPolicy"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResizePolicy implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceName; + + public String getResourceName() { + return resourceName; + } + + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/Resources.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/Resources.java new file mode 100644 index 00000000..96445c26 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List claims; + + public java.util.List getClaims() { + return claims; + } + + public void setClaims(java.util.List claims) { + this.claims = claims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("limits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map limits; + + public java.util.Map getLimits() { + return limits; + } + + public void setLimits(java.util.Map limits) { + this.limits = limits; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requests") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map requests; + + public java.util.Map getRequests() { + return requests; + } + + public void setRequests(java.util.Map requests) { + this.requests = requests; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/SecurityContext.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/SecurityContext.java new file mode 100644 index 00000000..2d17ea88 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/SecurityContext.java @@ -0,0 +1,141 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"allowPrivilegeEscalation","capabilities","privileged","procMount","readOnlyRootFilesystem","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","windowsOptions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecurityContext implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("allowPrivilegeEscalation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean allowPrivilegeEscalation; + + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("capabilities") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.Capabilities capabilities; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.Capabilities getCapabilities() { + return capabilities; + } + + public void setCapabilities(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.Capabilities capabilities) { + this.capabilities = capabilities; + } + + @com.fasterxml.jackson.annotation.JsonProperty("privileged") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean privileged; + + public Boolean getPrivileged() { + return privileged; + } + + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @com.fasterxml.jackson.annotation.JsonProperty("procMount") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String procMount; + + public String getProcMount() { + return procMount; + } + + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnlyRootFilesystem") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnlyRootFilesystem; + + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsGroup; + + public Long getRunAsGroup() { + return runAsGroup; + } + + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsNonRoot") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean runAsNonRoot; + + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUser") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsUser; + + public Long getRunAsUser() { + return runAsUser; + } + + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.SeLinuxOptions seLinuxOptions; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.SeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + public void setSeLinuxOptions(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.SeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.SeccompProfile seccompProfile; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.SeccompProfile getSeccompProfile() { + return seccompProfile; + } + + public void setSeccompProfile(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.SeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.WindowsOptions windowsOptions; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.WindowsOptions getWindowsOptions() { + return windowsOptions; + } + + public void setWindowsOptions(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext.WindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/StartupProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/StartupProbe.java new file mode 100644 index 00000000..436a5917 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/StartupProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class StartupProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/VolumeDevices.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/VolumeDevices.java new file mode 100644 index 00000000..b14d6290 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/VolumeDevices.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"devicePath","name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeDevices implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("devicePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String devicePath; + + public String getDevicePath() { + return devicePath; + } + + public void setDevicePath(String devicePath) { + this.devicePath = devicePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/VolumeMounts.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/VolumeMounts.java new file mode 100644 index 00000000..fd205b71 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/VolumeMounts.java @@ -0,0 +1,81 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"mountPath","mountPropagation","name","readOnly","subPath","subPathExpr"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeMounts implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("mountPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPath; + + public String getMountPath() { + return mountPath; + } + + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mountPropagation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPropagation; + + public String getMountPropagation() { + return mountPropagation; + } + + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPath; + + public String getSubPath() { + return subPath; + } + + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPathExpr") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPathExpr; + + public String getSubPathExpr() { + return subPathExpr; + } + + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/ValueFrom.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/ValueFrom.java new file mode 100644 index 00000000..95f85d5c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/ValueFrom.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapKeyRef","fieldRef","resourceFieldRef","secretKeyRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ValueFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.ConfigMapKeyRef configMapKeyRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.ConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + public void setConfigMapKeyRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.ConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.FieldRef fieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.ResourceFieldRef resourceFieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.SecretKeyRef secretKeyRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.SecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + public void setSecretKeyRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom.SecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/ConfigMapKeyRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/ConfigMapKeyRef.java new file mode 100644 index 00000000..216e5143 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/ConfigMapKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/FieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/FieldRef.java new file mode 100644 index 00000000..2eb911d1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/ResourceFieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/ResourceFieldRef.java new file mode 100644 index 00000000..d2c2c9e4 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/SecretKeyRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/SecretKeyRef.java new file mode 100644 index 00000000..468a695f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/env/valuefrom/SecretKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/envfrom/ConfigMapRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/envfrom/ConfigMapRef.java new file mode 100644 index 00000000..897be020 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/envfrom/ConfigMapRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/envfrom/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/envfrom/SecretRef.java new file mode 100644 index 00000000..e0b09775 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/envfrom/SecretRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/PostStart.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/PostStart.java new file mode 100644 index 00000000..e579b6ad --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/PostStart.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PostStart implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/PreStop.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/PreStop.java new file mode 100644 index 00000000..3dad94f8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/PreStop.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreStop implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/Exec.java new file mode 100644 index 00000000..50e2d5b1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/HttpGet.java new file mode 100644 index 00000000..403fb075 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/TcpSocket.java new file mode 100644 index 00000000..15ec662b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/httpget/HttpHeaders.java new file mode 100644 index 00000000..a80fc6fe --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/Exec.java new file mode 100644 index 00000000..33d57636 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/HttpGet.java new file mode 100644 index 00000000..28483223 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/TcpSocket.java new file mode 100644 index 00000000..52bd9de1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/httpget/HttpHeaders.java new file mode 100644 index 00000000..f14e0ce2 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/Exec.java new file mode 100644 index 00000000..a99eeb10 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/Grpc.java new file mode 100644 index 00000000..941af256 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/HttpGet.java new file mode 100644 index 00000000..06a3cbd5 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/TcpSocket.java new file mode 100644 index 00000000..b526400a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..adbc1b88 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/livenessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.livenessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/Exec.java new file mode 100644 index 00000000..e56b3e9e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/Grpc.java new file mode 100644 index 00000000..961e1f37 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/HttpGet.java new file mode 100644 index 00000000..cf0dcb06 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/TcpSocket.java new file mode 100644 index 00000000..faf18da7 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..b9d1a684 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/readinessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.readinessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/resources/Claims.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/resources/Claims.java new file mode 100644 index 00000000..a40895bd --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/resources/Claims.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Claims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/Capabilities.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/Capabilities.java new file mode 100644 index 00000000..50d0dce4 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/Capabilities.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"add","drop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Capabilities implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("add") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List add; + + public java.util.List getAdd() { + return add; + } + + public void setAdd(java.util.List add) { + this.add = add; + } + + @com.fasterxml.jackson.annotation.JsonProperty("drop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List drop; + + public java.util.List getDrop() { + return drop; + } + + public void setDrop(java.util.List drop) { + this.drop = drop; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/SeLinuxOptions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/SeLinuxOptions.java new file mode 100644 index 00000000..b85184a0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/SeLinuxOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeLinuxOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String level; + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + @com.fasterxml.jackson.annotation.JsonProperty("role") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String role; + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/SeccompProfile.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/SeccompProfile.java new file mode 100644 index 00000000..28b7599e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/SeccompProfile.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeccompProfile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("localhostProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String localhostProfile; + + public String getLocalhostProfile() { + return localhostProfile; + } + + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/WindowsOptions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/WindowsOptions.java new file mode 100644 index 00000000..d916fded --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/securitycontext/WindowsOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WindowsOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpec; + + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpecName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpecName; + + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostProcess") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostProcess; + + public Boolean getHostProcess() { + return hostProcess; + } + + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUserName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runAsUserName; + + public String getRunAsUserName() { + return runAsUserName; + } + + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/Exec.java new file mode 100644 index 00000000..d3c826e1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/Grpc.java new file mode 100644 index 00000000..b4ea3d82 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/HttpGet.java new file mode 100644 index 00000000..b2900e98 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/TcpSocket.java new file mode 100644 index 00000000..9b82bf60 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..5d023d06 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/ephemeralcontainers/startupprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.ephemeralcontainers.startupprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/Env.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/Env.java new file mode 100644 index 00000000..6fa9d718 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/Env.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value","valueFrom"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Env implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonProperty("valueFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.ValueFrom valueFrom; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.ValueFrom getValueFrom() { + return valueFrom; + } + + public void setValueFrom(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.ValueFrom valueFrom) { + this.valueFrom = valueFrom; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/EnvFrom.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/EnvFrom.java new file mode 100644 index 00000000..2424884b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/EnvFrom.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapRef","prefix","secretRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EnvFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.envfrom.ConfigMapRef configMapRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.envfrom.ConfigMapRef getConfigMapRef() { + return configMapRef; + } + + public void setConfigMapRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.envfrom.ConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("prefix") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String prefix; + + public String getPrefix() { + return prefix; + } + + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.envfrom.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.envfrom.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.envfrom.SecretRef secretRef) { + this.secretRef = secretRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/Lifecycle.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/Lifecycle.java new file mode 100644 index 00000000..5d61479b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/Lifecycle.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"postStart","preStop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Lifecycle implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("postStart") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.PostStart postStart; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.PostStart getPostStart() { + return postStart; + } + + public void setPostStart(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.PostStart postStart) { + this.postStart = postStart; + } + + @com.fasterxml.jackson.annotation.JsonProperty("preStop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.PreStop preStop; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.PreStop getPreStop() { + return preStop; + } + + public void setPreStop(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.PreStop preStop) { + this.preStop = preStop; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/LivenessProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/LivenessProbe.java new file mode 100644 index 00000000..21d55d6a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/LivenessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LivenessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/Ports.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/Ports.java new file mode 100644 index 00000000..6e7599be --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/Ports.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerPort","hostIP","hostPort","name","protocol"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ports implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer containerPort; + + public Integer getContainerPort() { + return containerPort; + } + + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostIP") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostIP; + + public String getHostIP() { + return hostIP; + } + + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer hostPort; + + public Integer getHostPort() { + return hostPort; + } + + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protocol; + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/ReadinessProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/ReadinessProbe.java new file mode 100644 index 00000000..032f7214 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/ReadinessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ReadinessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/ResizePolicy.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/ResizePolicy.java new file mode 100644 index 00000000..6ba14432 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/ResizePolicy.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"resourceName","restartPolicy"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResizePolicy implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceName; + + public String getResourceName() { + return resourceName; + } + + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/Resources.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/Resources.java new file mode 100644 index 00000000..02fe050a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List claims; + + public java.util.List getClaims() { + return claims; + } + + public void setClaims(java.util.List claims) { + this.claims = claims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("limits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map limits; + + public java.util.Map getLimits() { + return limits; + } + + public void setLimits(java.util.Map limits) { + this.limits = limits; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requests") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map requests; + + public java.util.Map getRequests() { + return requests; + } + + public void setRequests(java.util.Map requests) { + this.requests = requests; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/SecurityContext.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/SecurityContext.java new file mode 100644 index 00000000..f326c797 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/SecurityContext.java @@ -0,0 +1,141 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"allowPrivilegeEscalation","capabilities","privileged","procMount","readOnlyRootFilesystem","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","windowsOptions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecurityContext implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("allowPrivilegeEscalation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean allowPrivilegeEscalation; + + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("capabilities") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.Capabilities capabilities; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.Capabilities getCapabilities() { + return capabilities; + } + + public void setCapabilities(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.Capabilities capabilities) { + this.capabilities = capabilities; + } + + @com.fasterxml.jackson.annotation.JsonProperty("privileged") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean privileged; + + public Boolean getPrivileged() { + return privileged; + } + + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @com.fasterxml.jackson.annotation.JsonProperty("procMount") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String procMount; + + public String getProcMount() { + return procMount; + } + + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnlyRootFilesystem") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnlyRootFilesystem; + + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsGroup; + + public Long getRunAsGroup() { + return runAsGroup; + } + + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsNonRoot") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean runAsNonRoot; + + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUser") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsUser; + + public Long getRunAsUser() { + return runAsUser; + } + + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.SeLinuxOptions seLinuxOptions; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.SeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + public void setSeLinuxOptions(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.SeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.SeccompProfile seccompProfile; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.SeccompProfile getSeccompProfile() { + return seccompProfile; + } + + public void setSeccompProfile(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.SeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.WindowsOptions windowsOptions; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.WindowsOptions getWindowsOptions() { + return windowsOptions; + } + + public void setWindowsOptions(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.securitycontext.WindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/StartupProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/StartupProbe.java new file mode 100644 index 00000000..ea2dca59 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/StartupProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class StartupProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/VolumeDevices.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/VolumeDevices.java new file mode 100644 index 00000000..e66c1e8c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/VolumeDevices.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"devicePath","name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeDevices implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("devicePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String devicePath; + + public String getDevicePath() { + return devicePath; + } + + public void setDevicePath(String devicePath) { + this.devicePath = devicePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/VolumeMounts.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/VolumeMounts.java new file mode 100644 index 00000000..f058fa78 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/VolumeMounts.java @@ -0,0 +1,81 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"mountPath","mountPropagation","name","readOnly","subPath","subPathExpr"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeMounts implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("mountPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPath; + + public String getMountPath() { + return mountPath; + } + + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mountPropagation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPropagation; + + public String getMountPropagation() { + return mountPropagation; + } + + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPath; + + public String getSubPath() { + return subPath; + } + + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPathExpr") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPathExpr; + + public String getSubPathExpr() { + return subPathExpr; + } + + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/ValueFrom.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/ValueFrom.java new file mode 100644 index 00000000..6944d9b4 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/ValueFrom.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapKeyRef","fieldRef","resourceFieldRef","secretKeyRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ValueFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.ConfigMapKeyRef configMapKeyRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.ConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + public void setConfigMapKeyRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.ConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.FieldRef fieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.ResourceFieldRef resourceFieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.SecretKeyRef secretKeyRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.SecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + public void setSecretKeyRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom.SecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/ConfigMapKeyRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/ConfigMapKeyRef.java new file mode 100644 index 00000000..c1bccc2d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/ConfigMapKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/FieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/FieldRef.java new file mode 100644 index 00000000..91ead66a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/ResourceFieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/ResourceFieldRef.java new file mode 100644 index 00000000..24d8d7b6 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/SecretKeyRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/SecretKeyRef.java new file mode 100644 index 00000000..c19b8f57 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/env/valuefrom/SecretKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/envfrom/ConfigMapRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/envfrom/ConfigMapRef.java new file mode 100644 index 00000000..e3decddf --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/envfrom/ConfigMapRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/envfrom/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/envfrom/SecretRef.java new file mode 100644 index 00000000..76d43d77 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/envfrom/SecretRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/PostStart.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/PostStart.java new file mode 100644 index 00000000..3253976a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/PostStart.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PostStart implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/PreStop.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/PreStop.java new file mode 100644 index 00000000..29609e29 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/PreStop.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreStop implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/Exec.java new file mode 100644 index 00000000..29d497c2 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/HttpGet.java new file mode 100644 index 00000000..e1c652f3 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/TcpSocket.java new file mode 100644 index 00000000..6d6042bc --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/httpget/HttpHeaders.java new file mode 100644 index 00000000..fe7dab7a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/poststart/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.poststart.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/Exec.java new file mode 100644 index 00000000..1534105f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/HttpGet.java new file mode 100644 index 00000000..314ac808 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/TcpSocket.java new file mode 100644 index 00000000..2864ad86 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/httpget/HttpHeaders.java new file mode 100644 index 00000000..255c65f1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/lifecycle/prestop/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.lifecycle.prestop.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/Exec.java new file mode 100644 index 00000000..b039b4a8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/Grpc.java new file mode 100644 index 00000000..a8cca62f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/HttpGet.java new file mode 100644 index 00000000..f77ab74f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/TcpSocket.java new file mode 100644 index 00000000..05d30765 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..068fe2be --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/livenessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.livenessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/Exec.java new file mode 100644 index 00000000..0b74f624 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/Grpc.java new file mode 100644 index 00000000..7cb2973e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/HttpGet.java new file mode 100644 index 00000000..06b4ac42 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/TcpSocket.java new file mode 100644 index 00000000..dc7ed4da --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..f38c53b5 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/readinessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.readinessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/resources/Claims.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/resources/Claims.java new file mode 100644 index 00000000..c4e003a5 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/resources/Claims.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Claims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/Capabilities.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/Capabilities.java new file mode 100644 index 00000000..79ce503e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/Capabilities.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"add","drop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Capabilities implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("add") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List add; + + public java.util.List getAdd() { + return add; + } + + public void setAdd(java.util.List add) { + this.add = add; + } + + @com.fasterxml.jackson.annotation.JsonProperty("drop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List drop; + + public java.util.List getDrop() { + return drop; + } + + public void setDrop(java.util.List drop) { + this.drop = drop; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/SeLinuxOptions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/SeLinuxOptions.java new file mode 100644 index 00000000..a64aab4c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/SeLinuxOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeLinuxOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String level; + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + @com.fasterxml.jackson.annotation.JsonProperty("role") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String role; + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/SeccompProfile.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/SeccompProfile.java new file mode 100644 index 00000000..808d7ca7 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/SeccompProfile.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeccompProfile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("localhostProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String localhostProfile; + + public String getLocalhostProfile() { + return localhostProfile; + } + + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/WindowsOptions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/WindowsOptions.java new file mode 100644 index 00000000..2ce9ac50 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/securitycontext/WindowsOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WindowsOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpec; + + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpecName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpecName; + + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostProcess") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostProcess; + + public Boolean getHostProcess() { + return hostProcess; + } + + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUserName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runAsUserName; + + public String getRunAsUserName() { + return runAsUserName; + } + + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/Exec.java new file mode 100644 index 00000000..06acd588 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/Grpc.java new file mode 100644 index 00000000..bee04782 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/HttpGet.java new file mode 100644 index 00000000..09efc0ef --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/TcpSocket.java new file mode 100644 index 00000000..6b469c82 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..fb48ae5d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/initcontainers/startupprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.initcontainers.startupprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/resourceclaims/Source.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/resourceclaims/Source.java new file mode 100644 index 00000000..2f3d8e2f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/resourceclaims/Source.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.resourceclaims; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"resourceClaimName","resourceClaimTemplateName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Source implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceClaimName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceClaimName; + + public String getResourceClaimName() { + return resourceClaimName; + } + + public void setResourceClaimName(String resourceClaimName) { + this.resourceClaimName = resourceClaimName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceClaimTemplateName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceClaimTemplateName; + + public String getResourceClaimTemplateName() { + return resourceClaimTemplateName; + } + + public void setResourceClaimTemplateName(String resourceClaimTemplateName) { + this.resourceClaimTemplateName = resourceClaimTemplateName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/securitycontext/SeLinuxOptions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/securitycontext/SeLinuxOptions.java new file mode 100644 index 00000000..2bf76b0c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/securitycontext/SeLinuxOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeLinuxOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String level; + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + @com.fasterxml.jackson.annotation.JsonProperty("role") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String role; + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/securitycontext/SeccompProfile.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/securitycontext/SeccompProfile.java new file mode 100644 index 00000000..3ae73a29 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/securitycontext/SeccompProfile.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeccompProfile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("localhostProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String localhostProfile; + + public String getLocalhostProfile() { + return localhostProfile; + } + + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/securitycontext/Sysctls.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/securitycontext/Sysctls.java new file mode 100644 index 00000000..8fff6312 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/securitycontext/Sysctls.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Sysctls implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/securitycontext/WindowsOptions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/securitycontext/WindowsOptions.java new file mode 100644 index 00000000..1a2630d8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/securitycontext/WindowsOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WindowsOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpec; + + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpecName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpecName; + + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostProcess") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostProcess; + + public Boolean getHostProcess() { + return hostProcess; + } + + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUserName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runAsUserName; + + public String getRunAsUserName() { + return runAsUserName; + } + + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/topologyspreadconstraints/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/topologyspreadconstraints/LabelSelector.java new file mode 100644 index 00000000..eac9010d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/topologyspreadconstraints/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.topologyspreadconstraints; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/topologyspreadconstraints/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/topologyspreadconstraints/labelselector/MatchExpressions.java new file mode 100644 index 00000000..340446e6 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/topologyspreadconstraints/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.topologyspreadconstraints.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/AwsElasticBlockStore.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/AwsElasticBlockStore.java new file mode 100644 index 00000000..e572640e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/AwsElasticBlockStore.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","partition","readOnly","volumeID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class AwsElasticBlockStore implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("partition") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer partition; + + public Integer getPartition() { + return partition; + } + + public void setPartition(Integer partition) { + this.partition = partition; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeID; + + public String getVolumeID() { + return volumeID; + } + + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/AzureDisk.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/AzureDisk.java new file mode 100644 index 00000000..d991a3e4 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/AzureDisk.java @@ -0,0 +1,81 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cachingMode","diskName","diskURI","fsType","kind","readOnly"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class AzureDisk implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("cachingMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String cachingMode; + + public String getCachingMode() { + return cachingMode; + } + + public void setCachingMode(String cachingMode) { + this.cachingMode = cachingMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("diskName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String diskName; + + public String getDiskName() { + return diskName; + } + + public void setDiskName(String diskName) { + this.diskName = diskName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("diskURI") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String diskURI; + + public String getDiskURI() { + return diskURI; + } + + public void setDiskURI(String diskURI) { + this.diskURI = diskURI; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/AzureFile.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/AzureFile.java new file mode 100644 index 00000000..f5e392e6 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/AzureFile.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"readOnly","secretName","shareName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class AzureFile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretName; + + public String getSecretName() { + return secretName; + } + + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("shareName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String shareName; + + public String getShareName() { + return shareName; + } + + public void setShareName(String shareName) { + this.shareName = shareName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Cephfs.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Cephfs.java new file mode 100644 index 00000000..10b991a5 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Cephfs.java @@ -0,0 +1,81 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"monitors","path","readOnly","secretFile","secretRef","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Cephfs implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("monitors") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List monitors; + + public java.util.List getMonitors() { + return monitors; + } + + public void setMonitors(java.util.List monitors) { + this.monitors = monitors; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretFile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretFile; + + public String getSecretFile() { + return secretFile; + } + + public void setSecretFile(String secretFile) { + this.secretFile = secretFile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.cephfs.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.cephfs.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.cephfs.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Cinder.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Cinder.java new file mode 100644 index 00000000..e832fa36 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Cinder.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","readOnly","secretRef","volumeID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Cinder implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.cinder.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.cinder.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.cinder.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeID; + + public String getVolumeID() { + return volumeID; + } + + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ConfigMap.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ConfigMap.java new file mode 100644 index 00000000..8476fefa --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ConfigMap.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"defaultMode","items","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMap implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("defaultMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer defaultMode; + + public Integer getDefaultMode() { + return defaultMode; + } + + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Csi.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Csi.java new file mode 100644 index 00000000..6a17d169 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Csi.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"driver","fsType","nodePublishSecretRef","readOnly","volumeAttributes"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Csi implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("driver") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String driver; + + public String getDriver() { + return driver; + } + + public void setDriver(String driver) { + this.driver = driver; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodePublishSecretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.csi.NodePublishSecretRef nodePublishSecretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.csi.NodePublishSecretRef getNodePublishSecretRef() { + return nodePublishSecretRef; + } + + public void setNodePublishSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.csi.NodePublishSecretRef nodePublishSecretRef) { + this.nodePublishSecretRef = nodePublishSecretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeAttributes") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map volumeAttributes; + + public java.util.Map getVolumeAttributes() { + return volumeAttributes; + } + + public void setVolumeAttributes(java.util.Map volumeAttributes) { + this.volumeAttributes = volumeAttributes; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/DownwardAPI.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/DownwardAPI.java new file mode 100644 index 00000000..eaaa9710 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/DownwardAPI.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"defaultMode","items"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DownwardAPI implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("defaultMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer defaultMode; + + public Integer getDefaultMode() { + return defaultMode; + } + + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/EmptyDir.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/EmptyDir.java new file mode 100644 index 00000000..5f278261 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/EmptyDir.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"medium","sizeLimit"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EmptyDir implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("medium") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String medium; + + public String getMedium() { + return medium; + } + + public void setMedium(String medium) { + this.medium = medium; + } + + @com.fasterxml.jackson.annotation.JsonProperty("sizeLimit") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String sizeLimit; + + public String getSizeLimit() { + return sizeLimit; + } + + public void setSizeLimit(String sizeLimit) { + this.sizeLimit = sizeLimit; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Ephemeral.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Ephemeral.java new file mode 100644 index 00000000..ee1f49d6 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Ephemeral.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"volumeClaimTemplate"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ephemeral implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("volumeClaimTemplate") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.VolumeClaimTemplate volumeClaimTemplate; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.VolumeClaimTemplate getVolumeClaimTemplate() { + return volumeClaimTemplate; + } + + public void setVolumeClaimTemplate(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.VolumeClaimTemplate volumeClaimTemplate) { + this.volumeClaimTemplate = volumeClaimTemplate; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Fc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Fc.java new file mode 100644 index 00000000..9aa07601 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Fc.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","lun","readOnly","targetWWNs","wwids"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Fc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lun") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer lun; + + public Integer getLun() { + return lun; + } + + public void setLun(Integer lun) { + this.lun = lun; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("targetWWNs") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List targetWWNs; + + public java.util.List getTargetWWNs() { + return targetWWNs; + } + + public void setTargetWWNs(java.util.List targetWWNs) { + this.targetWWNs = targetWWNs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("wwids") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List wwids; + + public java.util.List getWwids() { + return wwids; + } + + public void setWwids(java.util.List wwids) { + this.wwids = wwids; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/FlexVolume.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/FlexVolume.java new file mode 100644 index 00000000..c466c738 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/FlexVolume.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"driver","fsType","options","readOnly","secretRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FlexVolume implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("driver") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String driver; + + public String getDriver() { + return driver; + } + + public void setDriver(String driver) { + this.driver = driver; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("options") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map options; + + public java.util.Map getOptions() { + return options; + } + + public void setOptions(java.util.Map options) { + this.options = options; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.flexvolume.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.flexvolume.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.flexvolume.SecretRef secretRef) { + this.secretRef = secretRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Flocker.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Flocker.java new file mode 100644 index 00000000..a3407fef --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Flocker.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"datasetName","datasetUUID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Flocker implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("datasetName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String datasetName; + + public String getDatasetName() { + return datasetName; + } + + public void setDatasetName(String datasetName) { + this.datasetName = datasetName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("datasetUUID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String datasetUUID; + + public String getDatasetUUID() { + return datasetUUID; + } + + public void setDatasetUUID(String datasetUUID) { + this.datasetUUID = datasetUUID; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/GcePersistentDisk.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/GcePersistentDisk.java new file mode 100644 index 00000000..9075d23a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/GcePersistentDisk.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","partition","pdName","readOnly"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class GcePersistentDisk implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("partition") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer partition; + + public Integer getPartition() { + return partition; + } + + public void setPartition(Integer partition) { + this.partition = partition; + } + + @com.fasterxml.jackson.annotation.JsonProperty("pdName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String pdName; + + public String getPdName() { + return pdName; + } + + public void setPdName(String pdName) { + this.pdName = pdName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/GitRepo.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/GitRepo.java new file mode 100644 index 00000000..7e8083a2 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/GitRepo.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"directory","repository","revision"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class GitRepo implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("directory") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String directory; + + public String getDirectory() { + return directory; + } + + public void setDirectory(String directory) { + this.directory = directory; + } + + @com.fasterxml.jackson.annotation.JsonProperty("repository") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String repository; + + public String getRepository() { + return repository; + } + + public void setRepository(String repository) { + this.repository = repository; + } + + @com.fasterxml.jackson.annotation.JsonProperty("revision") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String revision; + + public String getRevision() { + return revision; + } + + public void setRevision(String revision) { + this.revision = revision; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Glusterfs.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Glusterfs.java new file mode 100644 index 00000000..7f2acee0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Glusterfs.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"endpoints","path","readOnly"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Glusterfs implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("endpoints") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String endpoints; + + public String getEndpoints() { + return endpoints; + } + + public void setEndpoints(String endpoints) { + this.endpoints = endpoints; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/HostPath.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/HostPath.java new file mode 100644 index 00000000..6242aa0b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/HostPath.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"path","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HostPath implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Iscsi.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Iscsi.java new file mode 100644 index 00000000..6b983a3d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Iscsi.java @@ -0,0 +1,141 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"chapAuthDiscovery","chapAuthSession","fsType","initiatorName","iqn","iscsiInterface","lun","portals","readOnly","secretRef","targetPortal"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Iscsi implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("chapAuthDiscovery") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean chapAuthDiscovery; + + public Boolean getChapAuthDiscovery() { + return chapAuthDiscovery; + } + + public void setChapAuthDiscovery(Boolean chapAuthDiscovery) { + this.chapAuthDiscovery = chapAuthDiscovery; + } + + @com.fasterxml.jackson.annotation.JsonProperty("chapAuthSession") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean chapAuthSession; + + public Boolean getChapAuthSession() { + return chapAuthSession; + } + + public void setChapAuthSession(Boolean chapAuthSession) { + this.chapAuthSession = chapAuthSession; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initiatorName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String initiatorName; + + public String getInitiatorName() { + return initiatorName; + } + + public void setInitiatorName(String initiatorName) { + this.initiatorName = initiatorName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("iqn") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String iqn; + + public String getIqn() { + return iqn; + } + + public void setIqn(String iqn) { + this.iqn = iqn; + } + + @com.fasterxml.jackson.annotation.JsonProperty("iscsiInterface") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String iscsiInterface; + + public String getIscsiInterface() { + return iscsiInterface; + } + + public void setIscsiInterface(String iscsiInterface) { + this.iscsiInterface = iscsiInterface; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lun") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer lun; + + public Integer getLun() { + return lun; + } + + public void setLun(Integer lun) { + this.lun = lun; + } + + @com.fasterxml.jackson.annotation.JsonProperty("portals") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List portals; + + public java.util.List getPortals() { + return portals; + } + + public void setPortals(java.util.List portals) { + this.portals = portals; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.iscsi.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.iscsi.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.iscsi.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("targetPortal") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String targetPortal; + + public String getTargetPortal() { + return targetPortal; + } + + public void setTargetPortal(String targetPortal) { + this.targetPortal = targetPortal; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Nfs.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Nfs.java new file mode 100644 index 00000000..4451d8b1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Nfs.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"path","readOnly","server"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Nfs implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("server") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String server; + + public String getServer() { + return server; + } + + public void setServer(String server) { + this.server = server; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/PersistentVolumeClaim.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/PersistentVolumeClaim.java new file mode 100644 index 00000000..9dee3634 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/PersistentVolumeClaim.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claimName","readOnly"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PersistentVolumeClaim implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claimName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String claimName; + + public String getClaimName() { + return claimName; + } + + public void setClaimName(String claimName) { + this.claimName = claimName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/PhotonPersistentDisk.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/PhotonPersistentDisk.java new file mode 100644 index 00000000..cc0bc033 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/PhotonPersistentDisk.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","pdID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PhotonPersistentDisk implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("pdID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String pdID; + + public String getPdID() { + return pdID; + } + + public void setPdID(String pdID) { + this.pdID = pdID; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/PortworxVolume.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/PortworxVolume.java new file mode 100644 index 00000000..64951fa1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/PortworxVolume.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","readOnly","volumeID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PortworxVolume implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeID; + + public String getVolumeID() { + return volumeID; + } + + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Projected.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Projected.java new file mode 100644 index 00000000..2a622372 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Projected.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"defaultMode","sources"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Projected implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("defaultMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer defaultMode; + + public Integer getDefaultMode() { + return defaultMode; + } + + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("sources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List sources; + + public java.util.List getSources() { + return sources; + } + + public void setSources(java.util.List sources) { + this.sources = sources; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Quobyte.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Quobyte.java new file mode 100644 index 00000000..df7744b7 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Quobyte.java @@ -0,0 +1,81 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"group","readOnly","registry","tenant","user","volume"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Quobyte implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("group") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String group; + + public String getGroup() { + return group; + } + + public void setGroup(String group) { + this.group = group; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("registry") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String registry; + + public String getRegistry() { + return registry; + } + + public void setRegistry(String registry) { + this.registry = registry; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tenant") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String tenant; + + public String getTenant() { + return tenant; + } + + public void setTenant(String tenant) { + this.tenant = tenant; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volume") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volume; + + public String getVolume() { + return volume; + } + + public void setVolume(String volume) { + this.volume = volume; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Rbd.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Rbd.java new file mode 100644 index 00000000..eee58e0b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Rbd.java @@ -0,0 +1,105 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","image","keyring","monitors","pool","readOnly","secretRef","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Rbd implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("image") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String image; + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + @com.fasterxml.jackson.annotation.JsonProperty("keyring") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String keyring; + + public String getKeyring() { + return keyring; + } + + public void setKeyring(String keyring) { + this.keyring = keyring; + } + + @com.fasterxml.jackson.annotation.JsonProperty("monitors") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List monitors; + + public java.util.List getMonitors() { + return monitors; + } + + public void setMonitors(java.util.List monitors) { + this.monitors = monitors; + } + + @com.fasterxml.jackson.annotation.JsonProperty("pool") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String pool; + + public String getPool() { + return pool; + } + + public void setPool(String pool) { + this.pool = pool; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.rbd.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.rbd.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.rbd.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ScaleIO.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ScaleIO.java new file mode 100644 index 00000000..78c97517 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ScaleIO.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","gateway","protectionDomain","readOnly","secretRef","sslEnabled","storageMode","storagePool","system","volumeName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ScaleIO implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gateway") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gateway; + + public String getGateway() { + return gateway; + } + + public void setGateway(String gateway) { + this.gateway = gateway; + } + + @com.fasterxml.jackson.annotation.JsonProperty("protectionDomain") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protectionDomain; + + public String getProtectionDomain() { + return protectionDomain; + } + + public void setProtectionDomain(String protectionDomain) { + this.protectionDomain = protectionDomain; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.scaleio.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.scaleio.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.scaleio.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("sslEnabled") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean sslEnabled; + + public Boolean getSslEnabled() { + return sslEnabled; + } + + public void setSslEnabled(Boolean sslEnabled) { + this.sslEnabled = sslEnabled; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storageMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storageMode; + + public String getStorageMode() { + return storageMode; + } + + public void setStorageMode(String storageMode) { + this.storageMode = storageMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storagePool") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storagePool; + + public String getStoragePool() { + return storagePool; + } + + public void setStoragePool(String storagePool) { + this.storagePool = storagePool; + } + + @com.fasterxml.jackson.annotation.JsonProperty("system") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String system; + + public String getSystem() { + return system; + } + + public void setSystem(String system) { + this.system = system; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeName; + + public String getVolumeName() { + return volumeName; + } + + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Secret.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Secret.java new file mode 100644 index 00000000..96f868ab --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Secret.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"defaultMode","items","optional","secretName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Secret implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("defaultMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer defaultMode; + + public Integer getDefaultMode() { + return defaultMode; + } + + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretName; + + public String getSecretName() { + return secretName; + } + + public void setSecretName(String secretName) { + this.secretName = secretName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Storageos.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Storageos.java new file mode 100644 index 00000000..9645ae51 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/Storageos.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","readOnly","secretRef","volumeName","volumeNamespace"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Storageos implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.storageos.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.storageos.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.storageos.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeName; + + public String getVolumeName() { + return volumeName; + } + + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeNamespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeNamespace; + + public String getVolumeNamespace() { + return volumeNamespace; + } + + public void setVolumeNamespace(String volumeNamespace) { + this.volumeNamespace = volumeNamespace; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/VsphereVolume.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/VsphereVolume.java new file mode 100644 index 00000000..f142a04a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/VsphereVolume.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","storagePolicyID","storagePolicyName","volumePath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VsphereVolume implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storagePolicyID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storagePolicyID; + + public String getStoragePolicyID() { + return storagePolicyID; + } + + public void setStoragePolicyID(String storagePolicyID) { + this.storagePolicyID = storagePolicyID; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storagePolicyName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storagePolicyName; + + public String getStoragePolicyName() { + return storagePolicyName; + } + + public void setStoragePolicyName(String storagePolicyName) { + this.storagePolicyName = storagePolicyName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumePath; + + public String getVolumePath() { + return volumePath; + } + + public void setVolumePath(String volumePath) { + this.volumePath = volumePath; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/cephfs/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/cephfs/SecretRef.java new file mode 100644 index 00000000..bfc2f28d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/cephfs/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.cephfs; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/cinder/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/cinder/SecretRef.java new file mode 100644 index 00000000..68eb79ec --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/cinder/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.cinder; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/configmap/Items.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/configmap/Items.java new file mode 100644 index 00000000..d1cb91f6 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/configmap/Items.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.configmap; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","mode","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/csi/NodePublishSecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/csi/NodePublishSecretRef.java new file mode 100644 index 00000000..77449bdc --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/csi/NodePublishSecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.csi; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodePublishSecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/downwardapi/Items.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/downwardapi/Items.java new file mode 100644 index 00000000..f52884f8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/downwardapi/Items.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.downwardapi; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fieldRef","mode","path","resourceFieldRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.downwardapi.items.FieldRef fieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.downwardapi.items.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.downwardapi.items.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.downwardapi.items.ResourceFieldRef resourceFieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.downwardapi.items.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.downwardapi.items.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/downwardapi/items/FieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/downwardapi/items/FieldRef.java new file mode 100644 index 00000000..32907845 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/downwardapi/items/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.downwardapi.items; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/downwardapi/items/ResourceFieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/downwardapi/items/ResourceFieldRef.java new file mode 100644 index 00000000..0e4bb55d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/downwardapi/items/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.downwardapi.items; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/VolumeClaimTemplate.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/VolumeClaimTemplate.java new file mode 100644 index 00000000..44f9fef9 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/VolumeClaimTemplate.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"metadata","spec"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeClaimTemplate implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Metadata metadata; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Metadata getMetadata() { + return metadata; + } + + public void setMetadata(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Metadata metadata) { + this.metadata = metadata; + } + + @com.fasterxml.jackson.annotation.JsonProperty("spec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Spec spec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Spec getSpec() { + return spec; + } + + public void setSpec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Spec spec) { + this.spec = spec; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Metadata.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Metadata.java new file mode 100644 index 00000000..e544ea19 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Metadata.java @@ -0,0 +1,189 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"annotations","creationTimestamp","deletionGracePeriodSeconds","deletionTimestamp","finalizers","generateName","generation","labels","managedFields","name","namespace","ownerReferences","resourceVersion","selfLink","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Metadata implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("annotations") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map annotations; + + public java.util.Map getAnnotations() { + return annotations; + } + + public void setAnnotations(java.util.Map annotations) { + this.annotations = annotations; + } + + @com.fasterxml.jackson.annotation.JsonProperty("creationTimestamp") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String creationTimestamp; + + public String getCreationTimestamp() { + return creationTimestamp; + } + + public void setCreationTimestamp(String creationTimestamp) { + this.creationTimestamp = creationTimestamp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("deletionGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long deletionGracePeriodSeconds; + + public Long getDeletionGracePeriodSeconds() { + return deletionGracePeriodSeconds; + } + + public void setDeletionGracePeriodSeconds(Long deletionGracePeriodSeconds) { + this.deletionGracePeriodSeconds = deletionGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("deletionTimestamp") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String deletionTimestamp; + + public String getDeletionTimestamp() { + return deletionTimestamp; + } + + public void setDeletionTimestamp(String deletionTimestamp) { + this.deletionTimestamp = deletionTimestamp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("finalizers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List finalizers; + + public java.util.List getFinalizers() { + return finalizers; + } + + public void setFinalizers(java.util.List finalizers) { + this.finalizers = finalizers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("generateName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String generateName; + + public String getGenerateName() { + return generateName; + } + + public void setGenerateName(String generateName) { + this.generateName = generateName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("generation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long generation; + + public Long getGeneration() { + return generation; + } + + public void setGeneration(Long generation) { + this.generation = generation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("labels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map labels; + + public java.util.Map getLabels() { + return labels; + } + + public void setLabels(java.util.Map labels) { + this.labels = labels; + } + + @com.fasterxml.jackson.annotation.JsonProperty("managedFields") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List managedFields; + + public java.util.List getManagedFields() { + return managedFields; + } + + public void setManagedFields(java.util.List managedFields) { + this.managedFields = managedFields; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ownerReferences") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ownerReferences; + + public java.util.List getOwnerReferences() { + return ownerReferences; + } + + public void setOwnerReferences(java.util.List ownerReferences) { + this.ownerReferences = ownerReferences; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceVersion; + + public String getResourceVersion() { + return resourceVersion; + } + + public void setResourceVersion(String resourceVersion) { + this.resourceVersion = resourceVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("selfLink") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String selfLink; + + public String getSelfLink() { + return selfLink; + } + + public void setSelfLink(String selfLink) { + this.selfLink = selfLink; + } + + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Spec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Spec.java new file mode 100644 index 00000000..7746932f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Spec.java @@ -0,0 +1,105 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"accessModes","dataSource","dataSourceRef","resources","selector","storageClassName","volumeMode","volumeName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Spec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("accessModes") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List accessModes; + + public java.util.List getAccessModes() { + return accessModes; + } + + public void setAccessModes(java.util.List accessModes) { + this.accessModes = accessModes; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dataSource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSource dataSource; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSource getDataSource() { + return dataSource; + } + + public void setDataSource(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSource dataSource) { + this.dataSource = dataSource; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dataSourceRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSourceRef dataSourceRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSourceRef getDataSourceRef() { + return dataSourceRef; + } + + public void setDataSourceRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSourceRef dataSourceRef) { + this.dataSourceRef = dataSourceRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Resources resources; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("selector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Selector selector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Selector getSelector() { + return selector; + } + + public void setSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Selector selector) { + this.selector = selector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storageClassName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storageClassName; + + public String getStorageClassName() { + return storageClassName; + } + + public void setStorageClassName(String storageClassName) { + this.storageClassName = storageClassName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeMode; + + public String getVolumeMode() { + return volumeMode; + } + + public void setVolumeMode(String volumeMode) { + this.volumeMode = volumeMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeName; + + public String getVolumeName() { + return volumeName; + } + + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/ManagedFields.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/ManagedFields.java new file mode 100644 index 00000000..86be5ab7 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/ManagedFields.java @@ -0,0 +1,93 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldsType","fieldsV1","manager","operation","subresource","time"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ManagedFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldsType; + + public String getFieldsType() { + return fieldsType; + } + + public void setFieldsType(String fieldsType) { + this.fieldsType = fieldsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldsV1") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata.managedfields.FieldsV1 fieldsV1; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata.managedfields.FieldsV1 getFieldsV1() { + return fieldsV1; + } + + public void setFieldsV1(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata.managedfields.FieldsV1 fieldsV1) { + this.fieldsV1 = fieldsV1; + } + + @com.fasterxml.jackson.annotation.JsonProperty("manager") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String manager; + + public String getManager() { + return manager; + } + + public void setManager(String manager) { + this.manager = manager; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operation; + + public String getOperation() { + return operation; + } + + public void setOperation(String operation) { + this.operation = operation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subresource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subresource; + + public String getSubresource() { + return subresource; + } + + public void setSubresource(String subresource) { + this.subresource = subresource; + } + + @com.fasterxml.jackson.annotation.JsonProperty("time") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String time; + + public String getTime() { + return time; + } + + public void setTime(String time) { + this.time = time; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/OwnerReferences.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/OwnerReferences.java new file mode 100644 index 00000000..19189f48 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/OwnerReferences.java @@ -0,0 +1,81 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","blockOwnerDeletion","controller","kind","name","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class OwnerReferences implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("blockOwnerDeletion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean blockOwnerDeletion; + + public Boolean getBlockOwnerDeletion() { + return blockOwnerDeletion; + } + + public void setBlockOwnerDeletion(Boolean blockOwnerDeletion) { + this.blockOwnerDeletion = blockOwnerDeletion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("controller") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean controller; + + public Boolean getController() { + return controller; + } + + public void setController(Boolean controller) { + this.controller = controller; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/managedfields/FieldsV1.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/managedfields/FieldsV1.java new file mode 100644 index 00000000..b7d4fb72 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/managedfields/FieldsV1.java @@ -0,0 +1,9 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata.managedfields; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldsV1 implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSource.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSource.java new file mode 100644 index 00000000..ee6805cf --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSource.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiGroup","kind","name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DataSource implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiGroup; + + public String getApiGroup() { + return apiGroup; + } + + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSourceRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSourceRef.java new file mode 100644 index 00000000..211ec2b0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSourceRef.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiGroup","kind","name","namespace"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DataSourceRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiGroup; + + public String getApiGroup() { + return apiGroup; + } + + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Resources.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Resources.java new file mode 100644 index 00000000..6c5e69f1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List claims; + + public java.util.List getClaims() { + return claims; + } + + public void setClaims(java.util.List claims) { + this.claims = claims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("limits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map limits; + + public java.util.Map getLimits() { + return limits; + } + + public void setLimits(java.util.Map limits) { + this.limits = limits; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requests") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map requests; + + public java.util.Map getRequests() { + return requests; + } + + public void setRequests(java.util.Map requests) { + this.requests = requests; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Selector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Selector.java new file mode 100644 index 00000000..d86f8e0b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Selector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Selector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/resources/Claims.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/resources/Claims.java new file mode 100644 index 00000000..c853b7ce --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/resources/Claims.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Claims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/selector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/selector/MatchExpressions.java new file mode 100644 index 00000000..51a19230 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/selector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.selector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/flexvolume/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/flexvolume/SecretRef.java new file mode 100644 index 00000000..fa9c174d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/flexvolume/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.flexvolume; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/iscsi/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/iscsi/SecretRef.java new file mode 100644 index 00000000..cea26ac0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/iscsi/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.iscsi; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/Sources.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/Sources.java new file mode 100644 index 00000000..a626c65a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/Sources.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMap","downwardAPI","secret","serviceAccountToken"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Sources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMap") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.ConfigMap configMap; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.ConfigMap getConfigMap() { + return configMap; + } + + public void setConfigMap(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.ConfigMap configMap) { + this.configMap = configMap; + } + + @com.fasterxml.jackson.annotation.JsonProperty("downwardAPI") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.DownwardAPI downwardAPI; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.DownwardAPI getDownwardAPI() { + return downwardAPI; + } + + public void setDownwardAPI(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.DownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secret") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.Secret secret; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.Secret getSecret() { + return secret; + } + + public void setSecret(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.Secret secret) { + this.secret = secret; + } + + @com.fasterxml.jackson.annotation.JsonProperty("serviceAccountToken") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.ServiceAccountToken serviceAccountToken; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.ServiceAccountToken getServiceAccountToken() { + return serviceAccountToken; + } + + public void setServiceAccountToken(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.ServiceAccountToken serviceAccountToken) { + this.serviceAccountToken = serviceAccountToken; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/ConfigMap.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/ConfigMap.java new file mode 100644 index 00000000..e8f9f4c7 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/ConfigMap.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"items","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMap implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/DownwardAPI.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/DownwardAPI.java new file mode 100644 index 00000000..97bf25fc --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/DownwardAPI.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"items"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DownwardAPI implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/Secret.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/Secret.java new file mode 100644 index 00000000..30b805da --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/Secret.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"items","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Secret implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/ServiceAccountToken.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/ServiceAccountToken.java new file mode 100644 index 00000000..c91522c0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/ServiceAccountToken.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"audience","expirationSeconds","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ServiceAccountToken implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("audience") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String audience; + + public String getAudience() { + return audience; + } + + public void setAudience(String audience) { + this.audience = audience; + } + + @com.fasterxml.jackson.annotation.JsonProperty("expirationSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long expirationSeconds; + + public Long getExpirationSeconds() { + return expirationSeconds; + } + + public void setExpirationSeconds(Long expirationSeconds) { + this.expirationSeconds = expirationSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/configmap/Items.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/configmap/Items.java new file mode 100644 index 00000000..bc715fce --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/configmap/Items.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.configmap; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","mode","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/Items.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/Items.java new file mode 100644 index 00000000..10f87bc1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/Items.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fieldRef","mode","path","resourceFieldRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi.items.FieldRef fieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi.items.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi.items.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi.items.ResourceFieldRef resourceFieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi.items.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi.items.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/items/FieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/items/FieldRef.java new file mode 100644 index 00000000..32379c9f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/items/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi.items; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/items/ResourceFieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/items/ResourceFieldRef.java new file mode 100644 index 00000000..475c998f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/downwardapi/items/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.downwardapi.items; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/secret/Items.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/secret/Items.java new file mode 100644 index 00000000..2224288b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/projected/sources/secret/Items.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.projected.sources.secret; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","mode","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/rbd/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/rbd/SecretRef.java new file mode 100644 index 00000000..cf867580 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/rbd/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.rbd; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/scaleio/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/scaleio/SecretRef.java new file mode 100644 index 00000000..3c58d41a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/scaleio/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.scaleio; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/secret/Items.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/secret/Items.java new file mode 100644 index 00000000..52121fea --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/secret/Items.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.secret; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","mode","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/storageos/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/storageos/SecretRef.java new file mode 100644 index 00000000..008bbea6 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/podoverrides/spec/volumes/storageos/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.podoverrides.spec.volumes.storageos; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/roleconfig/PodDisruptionBudget.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/roleconfig/PodDisruptionBudget.java new file mode 100644 index 00000000..3b33babe --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/roleconfig/PodDisruptionBudget.java @@ -0,0 +1,43 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.roleconfig; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"enabled","maxUnavailable"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodDisruptionBudget implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Whether a PodDisruptionBudget should be written out for this role. Disabling this enables you to specify your own - custom - one. Defaults to true. + */ + @com.fasterxml.jackson.annotation.JsonProperty("enabled") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Whether a PodDisruptionBudget should be written out for this role. Disabling this enables you to specify your own - custom - one. Defaults to true.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean enabled = true; + + public Boolean getEnabled() { + return enabled; + } + + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + /** + * The number of Pods that are allowed to be down because of voluntary disruptions. If you don't explicitly set this, the operator will use a sane default based upon knowledge about the individual product. + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxUnavailable") + @io.fabric8.generator.annotation.Min(0.0) + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The number of Pods that are allowed to be down because of voluntary disruptions. If you don't explicitly set this, the operator will use a sane default based upon knowledge about the individual product.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Long maxUnavailable; + + public Long getMaxUnavailable() { + return maxUnavailable; + } + + public void setMaxUnavailable(Long maxUnavailable) { + this.maxUnavailable = maxUnavailable; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/Config.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/Config.java new file mode 100644 index 00000000..e60b7ba9 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/Config.java @@ -0,0 +1,130 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"affinity","gracefulShutdownTimeout","initLimit","logging","myidOffset","resources","syncLimit","tickTime"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Config implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * These configuration settings control [Pod placement](https://docs.stackable.tech/home/nightly/concepts/operations/pod_placement). + */ + @com.fasterxml.jackson.annotation.JsonProperty("affinity") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("These configuration settings control [Pod placement](https://docs.stackable.tech/home/nightly/concepts/operations/pod_placement).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.Affinity affinity = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"podAffinity\":null,\"podAntiAffinity\":null,\"nodeAffinity\":null,\"nodeSelector\":null}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.Affinity.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.Affinity getAffinity() { + return affinity; + } + + public void setAffinity(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.Affinity affinity) { + this.affinity = affinity; + } + + /** + * Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details. + */ + @com.fasterxml.jackson.annotation.JsonProperty("gracefulShutdownTimeout") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String gracefulShutdownTimeout; + + public String getGracefulShutdownTimeout() { + return gracefulShutdownTimeout; + } + + public void setGracefulShutdownTimeout(String gracefulShutdownTimeout) { + this.gracefulShutdownTimeout = gracefulShutdownTimeout; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initLimit") + @io.fabric8.generator.annotation.Min(0.0) + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Long initLimit; + + public Long getInitLimit() { + return initLimit; + } + + public void setInitLimit(Long initLimit) { + this.initLimit = initLimit; + } + + /** + * Logging configuration, learn more in the [logging concept documentation](https://docs.stackable.tech/home/nightly/concepts/logging). + */ + @com.fasterxml.jackson.annotation.JsonProperty("logging") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Logging configuration, learn more in the [logging concept documentation](https://docs.stackable.tech/home/nightly/concepts/logging).") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.Logging logging = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"enableVectorAgent\":null,\"containers\":{}}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.Logging.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.Logging getLogging() { + return logging; + } + + public void setLogging(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.Logging logging) { + this.logging = logging; + } + + @com.fasterxml.jackson.annotation.JsonProperty("myidOffset") + @io.fabric8.generator.annotation.Min(0.0) + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Long myidOffset; + + public Long getMyidOffset() { + return myidOffset; + } + + public void setMyidOffset(Long myidOffset) { + this.myidOffset = myidOffset; + } + + /** + * Resource usage is configured here, this includes CPU usage, memory usage and disk storage usage, if this role needs any. + */ + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Resource usage is configured here, this includes CPU usage, memory usage and disk storage usage, if this role needs any.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.Resources resources = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"memory\":{\"limit\":null,\"runtimeLimits\":{}},\"cpu\":{\"min\":null,\"max\":null},\"storage\":{\"data\":{\"capacity\":null}}}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.Resources.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("syncLimit") + @io.fabric8.generator.annotation.Min(0.0) + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Long syncLimit; + + public Long getSyncLimit() { + return syncLimit; + } + + public void setSyncLimit(Long syncLimit) { + this.syncLimit = syncLimit; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tickTime") + @io.fabric8.generator.annotation.Min(0.0) + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Long tickTime; + + public Long getTickTime() { + return tickTime; + } + + public void setTickTime(Long tickTime) { + this.tickTime = tickTime; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/PodOverrides.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/PodOverrides.java new file mode 100644 index 00000000..f499ec25 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/PodOverrides.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"metadata","spec"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodOverrides implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.Metadata metadata; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.Metadata getMetadata() { + return metadata; + } + + public void setMetadata(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.Metadata metadata) { + this.metadata = metadata; + } + + @com.fasterxml.jackson.annotation.JsonProperty("spec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.Spec spec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.Spec getSpec() { + return spec; + } + + public void setSpec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.Spec spec) { + this.spec = spec; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/Selector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/Selector.java new file mode 100644 index 00000000..11d38d8d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/Selector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Selector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/Affinity.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/Affinity.java new file mode 100644 index 00000000..be4a309f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/Affinity.java @@ -0,0 +1,73 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"nodeAffinity","nodeSelector","podAffinity","podAntiAffinity"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Affinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Node affinity is a group of node affinity scheduling rules. + */ + @com.fasterxml.jackson.annotation.JsonProperty("nodeAffinity") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Node affinity is a group of node affinity scheduling rules.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.NodeAffinity nodeAffinity; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.NodeAffinity getNodeAffinity() { + return nodeAffinity; + } + + public void setNodeAffinity(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.NodeAffinity nodeAffinity) { + this.nodeAffinity = nodeAffinity; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.NodeSelector nodeSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.NodeSelector getNodeSelector() { + return nodeSelector; + } + + public void setNodeSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.NodeSelector nodeSelector) { + this.nodeSelector = nodeSelector; + } + + /** + * Pod affinity is a group of inter pod affinity scheduling rules. + */ + @com.fasterxml.jackson.annotation.JsonProperty("podAffinity") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Pod affinity is a group of inter pod affinity scheduling rules.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.PodAffinity podAffinity; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.PodAffinity getPodAffinity() { + return podAffinity; + } + + public void setPodAffinity(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.PodAffinity podAffinity) { + this.podAffinity = podAffinity; + } + + /** + * Pod anti affinity is a group of inter pod anti affinity scheduling rules. + */ + @com.fasterxml.jackson.annotation.JsonProperty("podAntiAffinity") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Pod anti affinity is a group of inter pod anti affinity scheduling rules.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.PodAntiAffinity podAntiAffinity; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.PodAntiAffinity getPodAntiAffinity() { + return podAntiAffinity; + } + + public void setPodAntiAffinity(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.PodAntiAffinity podAntiAffinity) { + this.podAntiAffinity = podAntiAffinity; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/Logging.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/Logging.java new file mode 100644 index 00000000..6398561c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/Logging.java @@ -0,0 +1,42 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containers","enableVectorAgent"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Logging implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Log configuration per container. + */ + @com.fasterxml.jackson.annotation.JsonProperty("containers") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Log configuration per container.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map containers; + + public java.util.Map getContainers() { + return containers; + } + + public void setContainers(java.util.Map containers) { + this.containers = containers; + } + + /** + * Wether or not to deploy a container with the Vector log agent. + */ + @com.fasterxml.jackson.annotation.JsonProperty("enableVectorAgent") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Wether or not to deploy a container with the Vector log agent.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Boolean enableVectorAgent; + + public Boolean getEnableVectorAgent() { + return enableVectorAgent; + } + + public void setEnableVectorAgent(Boolean enableVectorAgent) { + this.enableVectorAgent = enableVectorAgent; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/Resources.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/Resources.java new file mode 100644 index 00000000..a864fb9c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cpu","memory","storage"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("cpu") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.Cpu cpu = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"min\":null,\"max\":null}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.Cpu.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.Cpu getCpu() { + return cpu; + } + + public void setCpu(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.Cpu cpu) { + this.cpu = cpu; + } + + @com.fasterxml.jackson.annotation.JsonProperty("memory") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.Memory memory; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.Memory getMemory() { + return memory; + } + + public void setMemory(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.Memory memory) { + this.memory = memory; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storage") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.Storage storage; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.Storage getStorage() { + return storage; + } + + public void setStorage(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.Storage storage) { + this.storage = storage; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/NodeAffinity.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/NodeAffinity.java new file mode 100644 index 00000000..9a194cfd --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/NodeAffinity.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodeAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. + */ + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + /** + * If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. + */ + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/NodeSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/NodeSelector.java new file mode 100644 index 00000000..dbb90658 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/NodeSelector.java @@ -0,0 +1,9 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodeSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/PodAffinity.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/PodAffinity.java new file mode 100644 index 00000000..3244e534 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/PodAffinity.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. + */ + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + /** + * If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. + */ + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List requiredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(java.util.List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/PodAntiAffinity.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/PodAntiAffinity.java new file mode 100644 index 00000000..267a363a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/PodAntiAffinity.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAntiAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. + */ + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + /** + * If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. + */ + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List requiredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(java.util.List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..e8c2a69c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,43 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.nodeaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preference","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * A node selector term, associated with the corresponding weight. + */ + @com.fasterxml.jackson.annotation.JsonProperty("preference") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A node selector term, associated with the corresponding weight.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference preference; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference getPreference() { + return preference; + } + + public void setPreference(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference preference) { + this.preference = preference; + } + + /** + * Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. + */ + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..56e1fdc6 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,26 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.nodeaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"nodeSelectorTerms"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Required. A list of node selector terms. The terms are ORed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("nodeSelectorTerms") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Required. A list of node selector terms. The terms are ORed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List nodeSelectorTerms; + + public java.util.List getNodeSelectorTerms() { + return nodeSelectorTerms; + } + + public void setNodeSelectorTerms(java.util.List nodeSelectorTerms) { + this.nodeSelectorTerms = nodeSelectorTerms; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java new file mode 100644 index 00000000..af9aaf2c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchFields"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Preference implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * A list of node selector requirements by node's labels. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A list of node selector requirements by node's labels.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * A list of node selector requirements by node's fields. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchFields") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A list of node selector requirements by node's fields.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchFields; + + public java.util.List getMatchFields() { + return matchFields; + } + + public void setMatchFields(java.util.List matchFields) { + this.matchFields = matchFields; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java new file mode 100644 index 00000000..b7935eb5 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.preference; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java new file mode 100644 index 00000000..34925ed8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.preference; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java new file mode 100644 index 00000000..432e0f83 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchFields"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodeSelectorTerms implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * A list of node selector requirements by node's labels. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A list of node selector requirements by node's labels.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * A list of node selector requirements by node's fields. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchFields") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A list of node selector requirements by node's fields.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchFields; + + public java.util.List getMatchFields() { + return matchFields; + } + + public void setMatchFields(java.util.List matchFields) { + this.matchFields = matchFields; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java new file mode 100644 index 00000000..5ac4f4da --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution.nodeselectorterms; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java new file mode 100644 index 00000000..b6675d25 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution.nodeselectorterms; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..5cc5d595 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,43 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"podAffinityTerm","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Required. A pod affinity term, associated with the corresponding weight. + */ + @com.fasterxml.jackson.annotation.JsonProperty("podAffinityTerm") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Required. A pod affinity term, associated with the corresponding weight.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + public void setPodAffinityTerm(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + /** + * weight associated with matching the corresponding podAffinityTerm, in the range 1-100. + */ + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("weight associated with matching the corresponding podAffinityTerm, in the range 1-100.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..dce2cec8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,74 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * A label query over a set of resources, in this case pods. + */ + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label query over a set of resources, in this case pods.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + /** + * A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + /** + * namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + /** + * This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java new file mode 100644 index 00000000..47db0512 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java @@ -0,0 +1,74 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinityTerm implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * A label query over a set of resources, in this case pods. + */ + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label query over a set of resources, in this case pods.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + /** + * A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + /** + * namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + /** + * This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java new file mode 100644 index 00000000..16691009 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java new file mode 100644 index 00000000..789a2b91 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java new file mode 100644 index 00000000..119a9b8d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..73cb9dcd --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java new file mode 100644 index 00000000..acb99877 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java new file mode 100644 index 00000000..465e6051 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java new file mode 100644 index 00000000..6bcb236c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..3f859f4f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podaffinity.requiredduringschedulingignoredduringexecution.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..e85908d3 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,43 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"podAffinityTerm","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Required. A pod affinity term, associated with the corresponding weight. + */ + @com.fasterxml.jackson.annotation.JsonProperty("podAffinityTerm") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Required. A pod affinity term, associated with the corresponding weight.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + public void setPodAffinityTerm(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + /** + * weight associated with matching the corresponding podAffinityTerm, in the range 1-100. + */ + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("weight associated with matching the corresponding podAffinityTerm, in the range 1-100.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..6560957c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,74 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * A label query over a set of resources, in this case pods. + */ + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label query over a set of resources, in this case pods.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + /** + * A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + /** + * namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + /** + * This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java new file mode 100644 index 00000000..02d969e5 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java @@ -0,0 +1,74 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinityTerm implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * A label query over a set of resources, in this case pods. + */ + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label query over a set of resources, in this case pods.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + /** + * A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + /** + * namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + /** + * This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java new file mode 100644 index 00000000..3459c825 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java new file mode 100644 index 00000000..af394e9a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java new file mode 100644 index 00000000..1b4b0bfc --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..1de8abe2 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java new file mode 100644 index 00000000..c08c1965 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java new file mode 100644 index 00000000..057b6b34 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java new file mode 100644 index 00000000..fc9ef17b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..55991f6a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/Containers.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/Containers.java new file mode 100644 index 00000000..57f02fad --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/Containers.java @@ -0,0 +1,75 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.logging; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"console","custom","file","loggers"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Containers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Configuration for the console appender + */ + @com.fasterxml.jackson.annotation.JsonProperty("console") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Configuration for the console appender") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.logging.containers.Console console; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.logging.containers.Console getConsole() { + return console; + } + + public void setConsole(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.logging.containers.Console console) { + this.console = console; + } + + /** + * Custom log configuration provided in a ConfigMap + */ + @com.fasterxml.jackson.annotation.JsonProperty("custom") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Custom log configuration provided in a ConfigMap") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.logging.containers.Custom custom; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.logging.containers.Custom getCustom() { + return custom; + } + + public void setCustom(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.logging.containers.Custom custom) { + this.custom = custom; + } + + /** + * Configuration for the file appender + */ + @com.fasterxml.jackson.annotation.JsonProperty("file") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Configuration for the file appender") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.logging.containers.File file; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.logging.containers.File getFile() { + return file; + } + + public void setFile(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.logging.containers.File file) { + this.file = file; + } + + /** + * Configuration per logger + */ + @com.fasterxml.jackson.annotation.JsonProperty("loggers") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Configuration per logger") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map loggers = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{}", java.util.Map.class); + + public java.util.Map getLoggers() { + return loggers; + } + + public void setLoggers(java.util.Map loggers) { + this.loggers = loggers; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/containers/Console.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/containers/Console.java new file mode 100644 index 00000000..024fa276 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/containers/Console.java @@ -0,0 +1,55 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.logging.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Console implements io.fabric8.kubernetes.api.model.KubernetesResource { + + public enum Level { + + @com.fasterxml.jackson.annotation.JsonProperty("TRACE") + TRACE("TRACE"), + @com.fasterxml.jackson.annotation.JsonProperty("DEBUG") + DEBUG("DEBUG"), + @com.fasterxml.jackson.annotation.JsonProperty("INFO") + INFO("INFO"), + @com.fasterxml.jackson.annotation.JsonProperty("WARN") + WARN("WARN"), + @com.fasterxml.jackson.annotation.JsonProperty("ERROR") + ERROR("ERROR"), + @com.fasterxml.jackson.annotation.JsonProperty("FATAL") + FATAL("FATAL"), + @com.fasterxml.jackson.annotation.JsonProperty("NONE") + NONE("NONE"); + + java.lang.String value; + + Level(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * The log level threshold. Log events with a lower log level are discarded. + */ + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The log level threshold. Log events with a lower log level are discarded.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Level level; + + public Level getLevel() { + return level; + } + + public void setLevel(Level level) { + this.level = level; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/containers/Custom.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/containers/Custom.java new file mode 100644 index 00000000..658fb474 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/containers/Custom.java @@ -0,0 +1,26 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.logging.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMap"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Custom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * ConfigMap containing the log configuration files + */ + @com.fasterxml.jackson.annotation.JsonProperty("configMap") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("ConfigMap containing the log configuration files") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String configMap; + + public String getConfigMap() { + return configMap; + } + + public void setConfigMap(String configMap) { + this.configMap = configMap; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/containers/File.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/containers/File.java new file mode 100644 index 00000000..c2424222 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/containers/File.java @@ -0,0 +1,55 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.logging.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class File implements io.fabric8.kubernetes.api.model.KubernetesResource { + + public enum Level { + + @com.fasterxml.jackson.annotation.JsonProperty("TRACE") + TRACE("TRACE"), + @com.fasterxml.jackson.annotation.JsonProperty("DEBUG") + DEBUG("DEBUG"), + @com.fasterxml.jackson.annotation.JsonProperty("INFO") + INFO("INFO"), + @com.fasterxml.jackson.annotation.JsonProperty("WARN") + WARN("WARN"), + @com.fasterxml.jackson.annotation.JsonProperty("ERROR") + ERROR("ERROR"), + @com.fasterxml.jackson.annotation.JsonProperty("FATAL") + FATAL("FATAL"), + @com.fasterxml.jackson.annotation.JsonProperty("NONE") + NONE("NONE"); + + java.lang.String value; + + Level(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * The log level threshold. Log events with a lower log level are discarded. + */ + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The log level threshold. Log events with a lower log level are discarded.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Level level; + + public Level getLevel() { + return level; + } + + public void setLevel(Level level) { + this.level = level; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/containers/Loggers.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/containers/Loggers.java new file mode 100644 index 00000000..6317f2c4 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/logging/containers/Loggers.java @@ -0,0 +1,55 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.logging.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Loggers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + public enum Level { + + @com.fasterxml.jackson.annotation.JsonProperty("TRACE") + TRACE("TRACE"), + @com.fasterxml.jackson.annotation.JsonProperty("DEBUG") + DEBUG("DEBUG"), + @com.fasterxml.jackson.annotation.JsonProperty("INFO") + INFO("INFO"), + @com.fasterxml.jackson.annotation.JsonProperty("WARN") + WARN("WARN"), + @com.fasterxml.jackson.annotation.JsonProperty("ERROR") + ERROR("ERROR"), + @com.fasterxml.jackson.annotation.JsonProperty("FATAL") + FATAL("FATAL"), + @com.fasterxml.jackson.annotation.JsonProperty("NONE") + NONE("NONE"); + + java.lang.String value; + + Level(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * The log level threshold. Log events with a lower log level are discarded. + */ + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The log level threshold. Log events with a lower log level are discarded.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private Level level; + + public Level getLevel() { + return level; + } + + public void setLevel(Level level) { + this.level = level; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/Cpu.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/Cpu.java new file mode 100644 index 00000000..f46512a8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/Cpu.java @@ -0,0 +1,43 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"max","min"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Cpu implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The maximum amount of CPU cores that can be requested by Pods. Equivalent to the `limit` for Pod resource configuration. Cores are specified either as a decimal point number or as milli units. For example:`1.5` will be 1.5 cores, also written as `1500m`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("max") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The maximum amount of CPU cores that can be requested by Pods. Equivalent to the `limit` for Pod resource configuration. Cores are specified either as a decimal point number or as milli units. For example:`1.5` will be 1.5 cores, also written as `1500m`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String max; + + public String getMax() { + return max; + } + + public void setMax(String max) { + this.max = max; + } + + /** + * The minimal amount of CPU cores that Pods need to run. Equivalent to the `request` for Pod resource configuration. Cores are specified either as a decimal point number or as milli units. For example:`1.5` will be 1.5 cores, also written as `1500m`. + */ + @com.fasterxml.jackson.annotation.JsonProperty("min") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The minimal amount of CPU cores that Pods need to run. Equivalent to the `request` for Pod resource configuration. Cores are specified either as a decimal point number or as milli units. For example:`1.5` will be 1.5 cores, also written as `1500m`.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String min; + + public String getMin() { + return min; + } + + public void setMin(String min) { + this.min = min; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/Memory.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/Memory.java new file mode 100644 index 00000000..a04ca7dd --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/Memory.java @@ -0,0 +1,42 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"limit","runtimeLimits"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Memory implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The maximum amount of memory that should be available to the Pod. Specified as a byte [Quantity](https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/), which means these suffixes are supported: E, P, T, G, M, k. You can also use the power-of-two equivalents: Ei, Pi, Ti, Gi, Mi, Ki. For example, the following represent roughly the same value: `128974848, 129e6, 129M, 128974848000m, 123Mi` + */ + @com.fasterxml.jackson.annotation.JsonProperty("limit") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The maximum amount of memory that should be available to the Pod. Specified as a byte [Quantity](https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/), which means these suffixes are supported: E, P, T, G, M, k. You can also use the power-of-two equivalents: Ei, Pi, Ti, Gi, Mi, Ki. For example, the following represent roughly the same value: `128974848, 129e6, 129M, 128974848000m, 123Mi`") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String limit; + + public String getLimit() { + return limit; + } + + public void setLimit(String limit) { + this.limit = limit; + } + + /** + * Additional options that can be specified. + */ + @com.fasterxml.jackson.annotation.JsonProperty("runtimeLimits") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Additional options that can be specified.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.memory.RuntimeLimits runtimeLimits; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.memory.RuntimeLimits getRuntimeLimits() { + return runtimeLimits; + } + + public void setRuntimeLimits(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.memory.RuntimeLimits runtimeLimits) { + this.runtimeLimits = runtimeLimits; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/Storage.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/Storage.java new file mode 100644 index 00000000..df86d339 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/Storage.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"data"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Storage implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("data") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.storage.Data data = io.fabric8.kubernetes.client.utils.Serialization.unmarshal("{\"capacity\":null}", tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.storage.Data.class); + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.storage.Data getData() { + return data; + } + + public void setData(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.storage.Data data) { + this.data = data; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/memory/RuntimeLimits.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/memory/RuntimeLimits.java new file mode 100644 index 00000000..4240885e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/memory/RuntimeLimits.java @@ -0,0 +1,9 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.memory; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RuntimeLimits implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/storage/Data.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/storage/Data.java new file mode 100644 index 00000000..4f067598 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/storage/Data.java @@ -0,0 +1,92 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.storage; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"capacity","selectors","storageClass"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Data implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. + * + * The serialization format is: + * + * ``` ::= + * + * (Note that may be empty, from the "" case in .) + * + * ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= "+" | "-" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei + * + * (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) + * + * ::= m | "" | k | M | G | T | P | E + * + * (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) + * + * ::= "e" | "E" ``` + * + * No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. + * + * When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. + * + * Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: + * + * - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. + * + * The sign will be omitted unless the number is negative. + * + * Examples: + * + * - 1.5 will be serialized as "1500m" - 1.5Gi will be serialized as "1536Mi" + * + * Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. + * + * Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) + * + * This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. + */ + @com.fasterxml.jackson.annotation.JsonProperty("capacity") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String capacity; + + public String getCapacity() { + return capacity; + } + + public void setCapacity(String capacity) { + this.capacity = capacity; + } + + /** + * A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. + */ + @com.fasterxml.jackson.annotation.JsonProperty("selectors") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.storage.data.Selectors selectors; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.storage.data.Selectors getSelectors() { + return selectors; + } + + public void setSelectors(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.storage.data.Selectors selectors) { + this.selectors = selectors; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storageClass") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String storageClass; + + public String getStorageClass() { + return storageClass; + } + + public void setStorageClass(String storageClass) { + this.storageClass = storageClass; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/storage/data/Selectors.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/storage/data/Selectors.java new file mode 100644 index 00000000..870e7ec0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/storage/data/Selectors.java @@ -0,0 +1,41 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.storage.data; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Selectors implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * matchExpressions is a list of label selector requirements. The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchExpressions is a list of label selector requirements. The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + /** + * matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/storage/data/selectors/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/storage/data/selectors/MatchExpressions.java new file mode 100644 index 00000000..3e360d00 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/config/resources/storage/data/selectors/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.config.resources.storage.data.selectors; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/Metadata.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/Metadata.java new file mode 100644 index 00000000..85612a25 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/Metadata.java @@ -0,0 +1,189 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"annotations","creationTimestamp","deletionGracePeriodSeconds","deletionTimestamp","finalizers","generateName","generation","labels","managedFields","name","namespace","ownerReferences","resourceVersion","selfLink","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Metadata implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("annotations") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map annotations; + + public java.util.Map getAnnotations() { + return annotations; + } + + public void setAnnotations(java.util.Map annotations) { + this.annotations = annotations; + } + + @com.fasterxml.jackson.annotation.JsonProperty("creationTimestamp") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String creationTimestamp; + + public String getCreationTimestamp() { + return creationTimestamp; + } + + public void setCreationTimestamp(String creationTimestamp) { + this.creationTimestamp = creationTimestamp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("deletionGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long deletionGracePeriodSeconds; + + public Long getDeletionGracePeriodSeconds() { + return deletionGracePeriodSeconds; + } + + public void setDeletionGracePeriodSeconds(Long deletionGracePeriodSeconds) { + this.deletionGracePeriodSeconds = deletionGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("deletionTimestamp") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String deletionTimestamp; + + public String getDeletionTimestamp() { + return deletionTimestamp; + } + + public void setDeletionTimestamp(String deletionTimestamp) { + this.deletionTimestamp = deletionTimestamp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("finalizers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List finalizers; + + public java.util.List getFinalizers() { + return finalizers; + } + + public void setFinalizers(java.util.List finalizers) { + this.finalizers = finalizers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("generateName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String generateName; + + public String getGenerateName() { + return generateName; + } + + public void setGenerateName(String generateName) { + this.generateName = generateName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("generation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long generation; + + public Long getGeneration() { + return generation; + } + + public void setGeneration(Long generation) { + this.generation = generation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("labels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map labels; + + public java.util.Map getLabels() { + return labels; + } + + public void setLabels(java.util.Map labels) { + this.labels = labels; + } + + @com.fasterxml.jackson.annotation.JsonProperty("managedFields") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List managedFields; + + public java.util.List getManagedFields() { + return managedFields; + } + + public void setManagedFields(java.util.List managedFields) { + this.managedFields = managedFields; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ownerReferences") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ownerReferences; + + public java.util.List getOwnerReferences() { + return ownerReferences; + } + + public void setOwnerReferences(java.util.List ownerReferences) { + this.ownerReferences = ownerReferences; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceVersion; + + public String getResourceVersion() { + return resourceVersion; + } + + public void setResourceVersion(String resourceVersion) { + this.resourceVersion = resourceVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("selfLink") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String selfLink; + + public String getSelfLink() { + return selfLink; + } + + public void setSelfLink(String selfLink) { + this.selfLink = selfLink; + } + + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/Spec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/Spec.java new file mode 100644 index 00000000..2ace1a13 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/Spec.java @@ -0,0 +1,477 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"activeDeadlineSeconds","affinity","automountServiceAccountToken","containers","dnsConfig","dnsPolicy","enableServiceLinks","ephemeralContainers","hostAliases","hostIPC","hostNetwork","hostPID","hostUsers","hostname","imagePullSecrets","initContainers","nodeName","nodeSelector","os","overhead","preemptionPolicy","priority","priorityClassName","readinessGates","resourceClaims","restartPolicy","runtimeClassName","schedulerName","schedulingGates","securityContext","serviceAccount","serviceAccountName","setHostnameAsFQDN","shareProcessNamespace","subdomain","terminationGracePeriodSeconds","tolerations","topologySpreadConstraints","volumes"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Spec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("activeDeadlineSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long activeDeadlineSeconds; + + public Long getActiveDeadlineSeconds() { + return activeDeadlineSeconds; + } + + public void setActiveDeadlineSeconds(Long activeDeadlineSeconds) { + this.activeDeadlineSeconds = activeDeadlineSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("affinity") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.Affinity affinity; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.Affinity getAffinity() { + return affinity; + } + + public void setAffinity(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.Affinity affinity) { + this.affinity = affinity; + } + + @com.fasterxml.jackson.annotation.JsonProperty("automountServiceAccountToken") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean automountServiceAccountToken; + + public Boolean getAutomountServiceAccountToken() { + return automountServiceAccountToken; + } + + public void setAutomountServiceAccountToken(Boolean automountServiceAccountToken) { + this.automountServiceAccountToken = automountServiceAccountToken; + } + + @com.fasterxml.jackson.annotation.JsonProperty("containers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List containers; + + public java.util.List getContainers() { + return containers; + } + + public void setContainers(java.util.List containers) { + this.containers = containers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dnsConfig") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.DnsConfig dnsConfig; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.DnsConfig getDnsConfig() { + return dnsConfig; + } + + public void setDnsConfig(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.DnsConfig dnsConfig) { + this.dnsConfig = dnsConfig; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dnsPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String dnsPolicy; + + public String getDnsPolicy() { + return dnsPolicy; + } + + public void setDnsPolicy(String dnsPolicy) { + this.dnsPolicy = dnsPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("enableServiceLinks") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean enableServiceLinks; + + public Boolean getEnableServiceLinks() { + return enableServiceLinks; + } + + public void setEnableServiceLinks(Boolean enableServiceLinks) { + this.enableServiceLinks = enableServiceLinks; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ephemeralContainers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ephemeralContainers; + + public java.util.List getEphemeralContainers() { + return ephemeralContainers; + } + + public void setEphemeralContainers(java.util.List ephemeralContainers) { + this.ephemeralContainers = ephemeralContainers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostAliases") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List hostAliases; + + public java.util.List getHostAliases() { + return hostAliases; + } + + public void setHostAliases(java.util.List hostAliases) { + this.hostAliases = hostAliases; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostIPC") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostIPC; + + public Boolean getHostIPC() { + return hostIPC; + } + + public void setHostIPC(Boolean hostIPC) { + this.hostIPC = hostIPC; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostNetwork") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostNetwork; + + public Boolean getHostNetwork() { + return hostNetwork; + } + + public void setHostNetwork(Boolean hostNetwork) { + this.hostNetwork = hostNetwork; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostPID; + + public Boolean getHostPID() { + return hostPID; + } + + public void setHostPID(Boolean hostPID) { + this.hostPID = hostPID; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostUsers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostUsers; + + public Boolean getHostUsers() { + return hostUsers; + } + + public void setHostUsers(Boolean hostUsers) { + this.hostUsers = hostUsers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostname") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostname; + + public String getHostname() { + return hostname; + } + + public void setHostname(String hostname) { + this.hostname = hostname; + } + + @com.fasterxml.jackson.annotation.JsonProperty("imagePullSecrets") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List imagePullSecrets; + + public java.util.List getImagePullSecrets() { + return imagePullSecrets; + } + + public void setImagePullSecrets(java.util.List imagePullSecrets) { + this.imagePullSecrets = imagePullSecrets; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initContainers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List initContainers; + + public java.util.List getInitContainers() { + return initContainers; + } + + public void setInitContainers(java.util.List initContainers) { + this.initContainers = initContainers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String nodeName; + + public String getNodeName() { + return nodeName; + } + + public void setNodeName(String nodeName) { + this.nodeName = nodeName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map nodeSelector; + + public java.util.Map getNodeSelector() { + return nodeSelector; + } + + public void setNodeSelector(java.util.Map nodeSelector) { + this.nodeSelector = nodeSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("os") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.Os os; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.Os getOs() { + return os; + } + + public void setOs(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.Os os) { + this.os = os; + } + + @com.fasterxml.jackson.annotation.JsonProperty("overhead") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map overhead; + + public java.util.Map getOverhead() { + return overhead; + } + + public void setOverhead(java.util.Map overhead) { + this.overhead = overhead; + } + + @com.fasterxml.jackson.annotation.JsonProperty("preemptionPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String preemptionPolicy; + + public String getPreemptionPolicy() { + return preemptionPolicy; + } + + public void setPreemptionPolicy(String preemptionPolicy) { + this.preemptionPolicy = preemptionPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("priority") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer priority; + + public Integer getPriority() { + return priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } + + @com.fasterxml.jackson.annotation.JsonProperty("priorityClassName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String priorityClassName; + + public String getPriorityClassName() { + return priorityClassName; + } + + public void setPriorityClassName(String priorityClassName) { + this.priorityClassName = priorityClassName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readinessGates") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List readinessGates; + + public java.util.List getReadinessGates() { + return readinessGates; + } + + public void setReadinessGates(java.util.List readinessGates) { + this.readinessGates = readinessGates; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceClaims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List resourceClaims; + + public java.util.List getResourceClaims() { + return resourceClaims; + } + + public void setResourceClaims(java.util.List resourceClaims) { + this.resourceClaims = resourceClaims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runtimeClassName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runtimeClassName; + + public String getRuntimeClassName() { + return runtimeClassName; + } + + public void setRuntimeClassName(String runtimeClassName) { + this.runtimeClassName = runtimeClassName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("schedulerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String schedulerName; + + public String getSchedulerName() { + return schedulerName; + } + + public void setSchedulerName(String schedulerName) { + this.schedulerName = schedulerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("schedulingGates") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List schedulingGates; + + public java.util.List getSchedulingGates() { + return schedulingGates; + } + + public void setSchedulingGates(java.util.List schedulingGates) { + this.schedulingGates = schedulingGates; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityContext") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.SecurityContext securityContext; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.SecurityContext getSecurityContext() { + return securityContext; + } + + public void setSecurityContext(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("serviceAccount") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String serviceAccount; + + public String getServiceAccount() { + return serviceAccount; + } + + public void setServiceAccount(String serviceAccount) { + this.serviceAccount = serviceAccount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("serviceAccountName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String serviceAccountName; + + public String getServiceAccountName() { + return serviceAccountName; + } + + public void setServiceAccountName(String serviceAccountName) { + this.serviceAccountName = serviceAccountName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("setHostnameAsFQDN") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean setHostnameAsFQDN; + + public Boolean getSetHostnameAsFQDN() { + return setHostnameAsFQDN; + } + + public void setSetHostnameAsFQDN(Boolean setHostnameAsFQDN) { + this.setHostnameAsFQDN = setHostnameAsFQDN; + } + + @com.fasterxml.jackson.annotation.JsonProperty("shareProcessNamespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean shareProcessNamespace; + + public Boolean getShareProcessNamespace() { + return shareProcessNamespace; + } + + public void setShareProcessNamespace(Boolean shareProcessNamespace) { + this.shareProcessNamespace = shareProcessNamespace; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subdomain") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subdomain; + + public String getSubdomain() { + return subdomain; + } + + public void setSubdomain(String subdomain) { + this.subdomain = subdomain; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tolerations") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List tolerations; + + public java.util.List getTolerations() { + return tolerations; + } + + public void setTolerations(java.util.List tolerations) { + this.tolerations = tolerations; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologySpreadConstraints") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List topologySpreadConstraints; + + public java.util.List getTopologySpreadConstraints() { + return topologySpreadConstraints; + } + + public void setTopologySpreadConstraints(java.util.List topologySpreadConstraints) { + this.topologySpreadConstraints = topologySpreadConstraints; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumes") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumes; + + public java.util.List getVolumes() { + return volumes; + } + + public void setVolumes(java.util.List volumes) { + this.volumes = volumes; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/metadata/ManagedFields.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/metadata/ManagedFields.java new file mode 100644 index 00000000..b3629a30 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/metadata/ManagedFields.java @@ -0,0 +1,93 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.metadata; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldsType","fieldsV1","manager","operation","subresource","time"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ManagedFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldsType; + + public String getFieldsType() { + return fieldsType; + } + + public void setFieldsType(String fieldsType) { + this.fieldsType = fieldsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldsV1") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.metadata.managedfields.FieldsV1 fieldsV1; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.metadata.managedfields.FieldsV1 getFieldsV1() { + return fieldsV1; + } + + public void setFieldsV1(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.metadata.managedfields.FieldsV1 fieldsV1) { + this.fieldsV1 = fieldsV1; + } + + @com.fasterxml.jackson.annotation.JsonProperty("manager") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String manager; + + public String getManager() { + return manager; + } + + public void setManager(String manager) { + this.manager = manager; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operation; + + public String getOperation() { + return operation; + } + + public void setOperation(String operation) { + this.operation = operation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subresource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subresource; + + public String getSubresource() { + return subresource; + } + + public void setSubresource(String subresource) { + this.subresource = subresource; + } + + @com.fasterxml.jackson.annotation.JsonProperty("time") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String time; + + public String getTime() { + return time; + } + + public void setTime(String time) { + this.time = time; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/metadata/OwnerReferences.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/metadata/OwnerReferences.java new file mode 100644 index 00000000..f079d04b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/metadata/OwnerReferences.java @@ -0,0 +1,81 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.metadata; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","blockOwnerDeletion","controller","kind","name","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class OwnerReferences implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("blockOwnerDeletion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean blockOwnerDeletion; + + public Boolean getBlockOwnerDeletion() { + return blockOwnerDeletion; + } + + public void setBlockOwnerDeletion(Boolean blockOwnerDeletion) { + this.blockOwnerDeletion = blockOwnerDeletion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("controller") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean controller; + + public Boolean getController() { + return controller; + } + + public void setController(Boolean controller) { + this.controller = controller; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/metadata/managedfields/FieldsV1.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/metadata/managedfields/FieldsV1.java new file mode 100644 index 00000000..16efe2ae --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/metadata/managedfields/FieldsV1.java @@ -0,0 +1,9 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.metadata.managedfields; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldsV1 implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Affinity.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Affinity.java new file mode 100644 index 00000000..be47579d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Affinity.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"nodeAffinity","podAffinity","podAntiAffinity"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Affinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("nodeAffinity") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.NodeAffinity nodeAffinity; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.NodeAffinity getNodeAffinity() { + return nodeAffinity; + } + + public void setNodeAffinity(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.NodeAffinity nodeAffinity) { + this.nodeAffinity = nodeAffinity; + } + + @com.fasterxml.jackson.annotation.JsonProperty("podAffinity") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.PodAffinity podAffinity; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.PodAffinity getPodAffinity() { + return podAffinity; + } + + public void setPodAffinity(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.PodAffinity podAffinity) { + this.podAffinity = podAffinity; + } + + @com.fasterxml.jackson.annotation.JsonProperty("podAntiAffinity") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.PodAntiAffinity podAntiAffinity; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.PodAntiAffinity getPodAntiAffinity() { + return podAntiAffinity; + } + + public void setPodAntiAffinity(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.PodAntiAffinity podAntiAffinity) { + this.podAntiAffinity = podAntiAffinity; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Containers.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Containers.java new file mode 100644 index 00000000..61ea470b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Containers.java @@ -0,0 +1,297 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"args","command","env","envFrom","image","imagePullPolicy","lifecycle","livenessProbe","name","ports","readinessProbe","resizePolicy","resources","restartPolicy","securityContext","startupProbe","stdin","stdinOnce","terminationMessagePath","terminationMessagePolicy","tty","volumeDevices","volumeMounts","workingDir"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Containers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("args") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List args; + + public java.util.List getArgs() { + return args; + } + + public void setArgs(java.util.List args) { + this.args = args; + } + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } + + @com.fasterxml.jackson.annotation.JsonProperty("env") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List env; + + public java.util.List getEnv() { + return env; + } + + public void setEnv(java.util.List env) { + this.env = env; + } + + @com.fasterxml.jackson.annotation.JsonProperty("envFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List envFrom; + + public java.util.List getEnvFrom() { + return envFrom; + } + + public void setEnvFrom(java.util.List envFrom) { + this.envFrom = envFrom; + } + + @com.fasterxml.jackson.annotation.JsonProperty("image") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String image; + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + @com.fasterxml.jackson.annotation.JsonProperty("imagePullPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String imagePullPolicy; + + public String getImagePullPolicy() { + return imagePullPolicy; + } + + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycle") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.Lifecycle lifecycle; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.Lifecycle getLifecycle() { + return lifecycle; + } + + public void setLifecycle(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.Lifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @com.fasterxml.jackson.annotation.JsonProperty("livenessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.LivenessProbe livenessProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.LivenessProbe getLivenessProbe() { + return livenessProbe; + } + + public void setLivenessProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.LivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ports") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ports; + + public java.util.List getPorts() { + return ports; + } + + public void setPorts(java.util.List ports) { + this.ports = ports; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readinessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.ReadinessProbe readinessProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.ReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + public void setReadinessProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.ReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resizePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List resizePolicy; + + public java.util.List getResizePolicy() { + return resizePolicy; + } + + public void setResizePolicy(java.util.List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.Resources resources; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityContext") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.SecurityContext securityContext; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.SecurityContext getSecurityContext() { + return securityContext; + } + + public void setSecurityContext(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("startupProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.StartupProbe startupProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.StartupProbe getStartupProbe() { + return startupProbe; + } + + public void setStartupProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.StartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdin") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdin; + + public Boolean getStdin() { + return stdin; + } + + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdinOnce") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdinOnce; + + public Boolean getStdinOnce() { + return stdinOnce; + } + + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePath; + + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePolicy; + + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tty") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean tty; + + public Boolean getTty() { + return tty; + } + + public void setTty(Boolean tty) { + this.tty = tty; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeDevices") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeDevices; + + public java.util.List getVolumeDevices() { + return volumeDevices; + } + + public void setVolumeDevices(java.util.List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeMounts") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeMounts; + + public java.util.List getVolumeMounts() { + return volumeMounts; + } + + public void setVolumeMounts(java.util.List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @com.fasterxml.jackson.annotation.JsonProperty("workingDir") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String workingDir; + + public String getWorkingDir() { + return workingDir; + } + + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/DnsConfig.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/DnsConfig.java new file mode 100644 index 00000000..ef32bc0a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/DnsConfig.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"nameservers","options","searches"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DnsConfig implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("nameservers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List nameservers; + + public java.util.List getNameservers() { + return nameservers; + } + + public void setNameservers(java.util.List nameservers) { + this.nameservers = nameservers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("options") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List options; + + public java.util.List getOptions() { + return options; + } + + public void setOptions(java.util.List options) { + this.options = options; + } + + @com.fasterxml.jackson.annotation.JsonProperty("searches") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List searches; + + public java.util.List getSearches() { + return searches; + } + + public void setSearches(java.util.List searches) { + this.searches = searches; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/EphemeralContainers.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/EphemeralContainers.java new file mode 100644 index 00000000..bd71397e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/EphemeralContainers.java @@ -0,0 +1,309 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"args","command","env","envFrom","image","imagePullPolicy","lifecycle","livenessProbe","name","ports","readinessProbe","resizePolicy","resources","restartPolicy","securityContext","startupProbe","stdin","stdinOnce","targetContainerName","terminationMessagePath","terminationMessagePolicy","tty","volumeDevices","volumeMounts","workingDir"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EphemeralContainers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("args") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List args; + + public java.util.List getArgs() { + return args; + } + + public void setArgs(java.util.List args) { + this.args = args; + } + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } + + @com.fasterxml.jackson.annotation.JsonProperty("env") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List env; + + public java.util.List getEnv() { + return env; + } + + public void setEnv(java.util.List env) { + this.env = env; + } + + @com.fasterxml.jackson.annotation.JsonProperty("envFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List envFrom; + + public java.util.List getEnvFrom() { + return envFrom; + } + + public void setEnvFrom(java.util.List envFrom) { + this.envFrom = envFrom; + } + + @com.fasterxml.jackson.annotation.JsonProperty("image") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String image; + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + @com.fasterxml.jackson.annotation.JsonProperty("imagePullPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String imagePullPolicy; + + public String getImagePullPolicy() { + return imagePullPolicy; + } + + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycle") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.Lifecycle lifecycle; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.Lifecycle getLifecycle() { + return lifecycle; + } + + public void setLifecycle(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.Lifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @com.fasterxml.jackson.annotation.JsonProperty("livenessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.LivenessProbe livenessProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.LivenessProbe getLivenessProbe() { + return livenessProbe; + } + + public void setLivenessProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.LivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ports") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ports; + + public java.util.List getPorts() { + return ports; + } + + public void setPorts(java.util.List ports) { + this.ports = ports; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readinessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.ReadinessProbe readinessProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.ReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + public void setReadinessProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.ReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resizePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List resizePolicy; + + public java.util.List getResizePolicy() { + return resizePolicy; + } + + public void setResizePolicy(java.util.List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.Resources resources; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityContext") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.SecurityContext securityContext; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.SecurityContext getSecurityContext() { + return securityContext; + } + + public void setSecurityContext(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("startupProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.StartupProbe startupProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.StartupProbe getStartupProbe() { + return startupProbe; + } + + public void setStartupProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.StartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdin") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdin; + + public Boolean getStdin() { + return stdin; + } + + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdinOnce") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdinOnce; + + public Boolean getStdinOnce() { + return stdinOnce; + } + + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @com.fasterxml.jackson.annotation.JsonProperty("targetContainerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String targetContainerName; + + public String getTargetContainerName() { + return targetContainerName; + } + + public void setTargetContainerName(String targetContainerName) { + this.targetContainerName = targetContainerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePath; + + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePolicy; + + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tty") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean tty; + + public Boolean getTty() { + return tty; + } + + public void setTty(Boolean tty) { + this.tty = tty; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeDevices") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeDevices; + + public java.util.List getVolumeDevices() { + return volumeDevices; + } + + public void setVolumeDevices(java.util.List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeMounts") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeMounts; + + public java.util.List getVolumeMounts() { + return volumeMounts; + } + + public void setVolumeMounts(java.util.List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @com.fasterxml.jackson.annotation.JsonProperty("workingDir") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String workingDir; + + public String getWorkingDir() { + return workingDir; + } + + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/HostAliases.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/HostAliases.java new file mode 100644 index 00000000..b9272531 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/HostAliases.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"hostnames","ip"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HostAliases implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("hostnames") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List hostnames; + + public java.util.List getHostnames() { + return hostnames; + } + + public void setHostnames(java.util.List hostnames) { + this.hostnames = hostnames; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ip") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String ip; + + public String getIp() { + return ip; + } + + public void setIp(String ip) { + this.ip = ip; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ImagePullSecrets.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ImagePullSecrets.java new file mode 100644 index 00000000..bfeb94c4 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ImagePullSecrets.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ImagePullSecrets implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/InitContainers.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/InitContainers.java new file mode 100644 index 00000000..485f7815 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/InitContainers.java @@ -0,0 +1,297 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"args","command","env","envFrom","image","imagePullPolicy","lifecycle","livenessProbe","name","ports","readinessProbe","resizePolicy","resources","restartPolicy","securityContext","startupProbe","stdin","stdinOnce","terminationMessagePath","terminationMessagePolicy","tty","volumeDevices","volumeMounts","workingDir"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class InitContainers implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("args") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List args; + + public java.util.List getArgs() { + return args; + } + + public void setArgs(java.util.List args) { + this.args = args; + } + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } + + @com.fasterxml.jackson.annotation.JsonProperty("env") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List env; + + public java.util.List getEnv() { + return env; + } + + public void setEnv(java.util.List env) { + this.env = env; + } + + @com.fasterxml.jackson.annotation.JsonProperty("envFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List envFrom; + + public java.util.List getEnvFrom() { + return envFrom; + } + + public void setEnvFrom(java.util.List envFrom) { + this.envFrom = envFrom; + } + + @com.fasterxml.jackson.annotation.JsonProperty("image") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String image; + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + @com.fasterxml.jackson.annotation.JsonProperty("imagePullPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String imagePullPolicy; + + public String getImagePullPolicy() { + return imagePullPolicy; + } + + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lifecycle") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.Lifecycle lifecycle; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.Lifecycle getLifecycle() { + return lifecycle; + } + + public void setLifecycle(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.Lifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @com.fasterxml.jackson.annotation.JsonProperty("livenessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.LivenessProbe livenessProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.LivenessProbe getLivenessProbe() { + return livenessProbe; + } + + public void setLivenessProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.LivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ports") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ports; + + public java.util.List getPorts() { + return ports; + } + + public void setPorts(java.util.List ports) { + this.ports = ports; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readinessProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.ReadinessProbe readinessProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.ReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + public void setReadinessProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.ReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resizePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List resizePolicy; + + public java.util.List getResizePolicy() { + return resizePolicy; + } + + public void setResizePolicy(java.util.List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.Resources resources; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("securityContext") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.SecurityContext securityContext; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.SecurityContext getSecurityContext() { + return securityContext; + } + + public void setSecurityContext(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("startupProbe") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.StartupProbe startupProbe; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.StartupProbe getStartupProbe() { + return startupProbe; + } + + public void setStartupProbe(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.StartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdin") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdin; + + public Boolean getStdin() { + return stdin; + } + + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @com.fasterxml.jackson.annotation.JsonProperty("stdinOnce") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean stdinOnce; + + public Boolean getStdinOnce() { + return stdinOnce; + } + + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePath; + + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationMessagePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String terminationMessagePolicy; + + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tty") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean tty; + + public Boolean getTty() { + return tty; + } + + public void setTty(Boolean tty) { + this.tty = tty; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeDevices") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeDevices; + + public java.util.List getVolumeDevices() { + return volumeDevices; + } + + public void setVolumeDevices(java.util.List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeMounts") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List volumeMounts; + + public java.util.List getVolumeMounts() { + return volumeMounts; + } + + public void setVolumeMounts(java.util.List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @com.fasterxml.jackson.annotation.JsonProperty("workingDir") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String workingDir; + + public String getWorkingDir() { + return workingDir; + } + + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Os.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Os.java new file mode 100644 index 00000000..a0e9be98 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Os.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Os implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ReadinessGates.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ReadinessGates.java new file mode 100644 index 00000000..1088f7c0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ReadinessGates.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"conditionType"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ReadinessGates implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("conditionType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String conditionType; + + public String getConditionType() { + return conditionType; + } + + public void setConditionType(String conditionType) { + this.conditionType = conditionType; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ResourceClaims.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ResourceClaims.java new file mode 100644 index 00000000..ed1e6049 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ResourceClaims.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","source"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceClaims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("source") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.resourceclaims.Source source; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.resourceclaims.Source getSource() { + return source; + } + + public void setSource(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.resourceclaims.Source source) { + this.source = source; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/SchedulingGates.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/SchedulingGates.java new file mode 100644 index 00000000..f66ed41d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/SchedulingGates.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SchedulingGates implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/SecurityContext.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/SecurityContext.java new file mode 100644 index 00000000..0ec0db69 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/SecurityContext.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsGroup","fsGroupChangePolicy","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","supplementalGroups","sysctls","windowsOptions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecurityContext implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long fsGroup; + + public Long getFsGroup() { + return fsGroup; + } + + public void setFsGroup(Long fsGroup) { + this.fsGroup = fsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsGroupChangePolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsGroupChangePolicy; + + public String getFsGroupChangePolicy() { + return fsGroupChangePolicy; + } + + public void setFsGroupChangePolicy(String fsGroupChangePolicy) { + this.fsGroupChangePolicy = fsGroupChangePolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsGroup; + + public Long getRunAsGroup() { + return runAsGroup; + } + + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsNonRoot") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean runAsNonRoot; + + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUser") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsUser; + + public Long getRunAsUser() { + return runAsUser; + } + + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.SeLinuxOptions seLinuxOptions; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.SeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + public void setSeLinuxOptions(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.SeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.SeccompProfile seccompProfile; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.SeccompProfile getSeccompProfile() { + return seccompProfile; + } + + public void setSeccompProfile(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.SeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("supplementalGroups") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List supplementalGroups; + + public java.util.List getSupplementalGroups() { + return supplementalGroups; + } + + public void setSupplementalGroups(java.util.List supplementalGroups) { + this.supplementalGroups = supplementalGroups; + } + + @com.fasterxml.jackson.annotation.JsonProperty("sysctls") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List sysctls; + + public java.util.List getSysctls() { + return sysctls; + } + + public void setSysctls(java.util.List sysctls) { + this.sysctls = sysctls; + } + + @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.WindowsOptions windowsOptions; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.WindowsOptions getWindowsOptions() { + return windowsOptions; + } + + public void setWindowsOptions(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.securitycontext.WindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Tolerations.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Tolerations.java new file mode 100644 index 00000000..208d182b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Tolerations.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"effect","key","operator","tolerationSeconds","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Tolerations implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("effect") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String effect; + + public String getEffect() { + return effect; + } + + public void setEffect(String effect) { + this.effect = effect; + } + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tolerationSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long tolerationSeconds; + + public Long getTolerationSeconds() { + return tolerationSeconds; + } + + public void setTolerationSeconds(Long tolerationSeconds) { + this.tolerationSeconds = tolerationSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/TopologySpreadConstraints.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/TopologySpreadConstraints.java new file mode 100644 index 00000000..32a2df53 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/TopologySpreadConstraints.java @@ -0,0 +1,105 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","matchLabelKeys","maxSkew","minDomains","nodeAffinityPolicy","nodeTaintsPolicy","topologyKey","whenUnsatisfiable"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TopologySpreadConstraints implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.topologyspreadconstraints.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.topologyspreadconstraints.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.topologyspreadconstraints.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabelKeys") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchLabelKeys; + + public java.util.List getMatchLabelKeys() { + return matchLabelKeys; + } + + public void setMatchLabelKeys(java.util.List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @com.fasterxml.jackson.annotation.JsonProperty("maxSkew") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer maxSkew; + + public Integer getMaxSkew() { + return maxSkew; + } + + public void setMaxSkew(Integer maxSkew) { + this.maxSkew = maxSkew; + } + + @com.fasterxml.jackson.annotation.JsonProperty("minDomains") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer minDomains; + + public Integer getMinDomains() { + return minDomains; + } + + public void setMinDomains(Integer minDomains) { + this.minDomains = minDomains; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeAffinityPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String nodeAffinityPolicy; + + public String getNodeAffinityPolicy() { + return nodeAffinityPolicy; + } + + public void setNodeAffinityPolicy(String nodeAffinityPolicy) { + this.nodeAffinityPolicy = nodeAffinityPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodeTaintsPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String nodeTaintsPolicy; + + public String getNodeTaintsPolicy() { + return nodeTaintsPolicy; + } + + public void setNodeTaintsPolicy(String nodeTaintsPolicy) { + this.nodeTaintsPolicy = nodeTaintsPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @com.fasterxml.jackson.annotation.JsonProperty("whenUnsatisfiable") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String whenUnsatisfiable; + + public String getWhenUnsatisfiable() { + return whenUnsatisfiable; + } + + public void setWhenUnsatisfiable(String whenUnsatisfiable) { + this.whenUnsatisfiable = whenUnsatisfiable; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Volumes.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Volumes.java new file mode 100644 index 00000000..bf9a5d33 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/Volumes.java @@ -0,0 +1,369 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"awsElasticBlockStore","azureDisk","azureFile","cephfs","cinder","configMap","csi","downwardAPI","emptyDir","ephemeral","fc","flexVolume","flocker","gcePersistentDisk","gitRepo","glusterfs","hostPath","iscsi","name","nfs","persistentVolumeClaim","photonPersistentDisk","portworxVolume","projected","quobyte","rbd","scaleIO","secret","storageos","vsphereVolume"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Volumes implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("awsElasticBlockStore") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.AwsElasticBlockStore awsElasticBlockStore; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.AwsElasticBlockStore getAwsElasticBlockStore() { + return awsElasticBlockStore; + } + + public void setAwsElasticBlockStore(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.AwsElasticBlockStore awsElasticBlockStore) { + this.awsElasticBlockStore = awsElasticBlockStore; + } + + @com.fasterxml.jackson.annotation.JsonProperty("azureDisk") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.AzureDisk azureDisk; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.AzureDisk getAzureDisk() { + return azureDisk; + } + + public void setAzureDisk(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.AzureDisk azureDisk) { + this.azureDisk = azureDisk; + } + + @com.fasterxml.jackson.annotation.JsonProperty("azureFile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.AzureFile azureFile; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.AzureFile getAzureFile() { + return azureFile; + } + + public void setAzureFile(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.AzureFile azureFile) { + this.azureFile = azureFile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("cephfs") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Cephfs cephfs; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Cephfs getCephfs() { + return cephfs; + } + + public void setCephfs(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Cephfs cephfs) { + this.cephfs = cephfs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("cinder") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Cinder cinder; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Cinder getCinder() { + return cinder; + } + + public void setCinder(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Cinder cinder) { + this.cinder = cinder; + } + + @com.fasterxml.jackson.annotation.JsonProperty("configMap") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ConfigMap configMap; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ConfigMap getConfigMap() { + return configMap; + } + + public void setConfigMap(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ConfigMap configMap) { + this.configMap = configMap; + } + + @com.fasterxml.jackson.annotation.JsonProperty("csi") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Csi csi; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Csi getCsi() { + return csi; + } + + public void setCsi(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Csi csi) { + this.csi = csi; + } + + @com.fasterxml.jackson.annotation.JsonProperty("downwardAPI") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.DownwardAPI downwardAPI; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.DownwardAPI getDownwardAPI() { + return downwardAPI; + } + + public void setDownwardAPI(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.DownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @com.fasterxml.jackson.annotation.JsonProperty("emptyDir") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.EmptyDir emptyDir; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.EmptyDir getEmptyDir() { + return emptyDir; + } + + public void setEmptyDir(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.EmptyDir emptyDir) { + this.emptyDir = emptyDir; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ephemeral") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Ephemeral ephemeral; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Ephemeral getEphemeral() { + return ephemeral; + } + + public void setEphemeral(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Ephemeral ephemeral) { + this.ephemeral = ephemeral; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Fc fc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Fc getFc() { + return fc; + } + + public void setFc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Fc fc) { + this.fc = fc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("flexVolume") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.FlexVolume flexVolume; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.FlexVolume getFlexVolume() { + return flexVolume; + } + + public void setFlexVolume(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.FlexVolume flexVolume) { + this.flexVolume = flexVolume; + } + + @com.fasterxml.jackson.annotation.JsonProperty("flocker") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Flocker flocker; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Flocker getFlocker() { + return flocker; + } + + public void setFlocker(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Flocker flocker) { + this.flocker = flocker; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gcePersistentDisk") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.GcePersistentDisk gcePersistentDisk; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.GcePersistentDisk getGcePersistentDisk() { + return gcePersistentDisk; + } + + public void setGcePersistentDisk(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.GcePersistentDisk gcePersistentDisk) { + this.gcePersistentDisk = gcePersistentDisk; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gitRepo") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.GitRepo gitRepo; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.GitRepo getGitRepo() { + return gitRepo; + } + + public void setGitRepo(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.GitRepo gitRepo) { + this.gitRepo = gitRepo; + } + + @com.fasterxml.jackson.annotation.JsonProperty("glusterfs") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Glusterfs glusterfs; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Glusterfs getGlusterfs() { + return glusterfs; + } + + public void setGlusterfs(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Glusterfs glusterfs) { + this.glusterfs = glusterfs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.HostPath hostPath; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.HostPath getHostPath() { + return hostPath; + } + + public void setHostPath(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.HostPath hostPath) { + this.hostPath = hostPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("iscsi") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Iscsi iscsi; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Iscsi getIscsi() { + return iscsi; + } + + public void setIscsi(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Iscsi iscsi) { + this.iscsi = iscsi; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nfs") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Nfs nfs; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Nfs getNfs() { + return nfs; + } + + public void setNfs(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Nfs nfs) { + this.nfs = nfs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("persistentVolumeClaim") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.PersistentVolumeClaim persistentVolumeClaim; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.PersistentVolumeClaim getPersistentVolumeClaim() { + return persistentVolumeClaim; + } + + public void setPersistentVolumeClaim(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.PersistentVolumeClaim persistentVolumeClaim) { + this.persistentVolumeClaim = persistentVolumeClaim; + } + + @com.fasterxml.jackson.annotation.JsonProperty("photonPersistentDisk") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.PhotonPersistentDisk photonPersistentDisk; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.PhotonPersistentDisk getPhotonPersistentDisk() { + return photonPersistentDisk; + } + + public void setPhotonPersistentDisk(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.PhotonPersistentDisk photonPersistentDisk) { + this.photonPersistentDisk = photonPersistentDisk; + } + + @com.fasterxml.jackson.annotation.JsonProperty("portworxVolume") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.PortworxVolume portworxVolume; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.PortworxVolume getPortworxVolume() { + return portworxVolume; + } + + public void setPortworxVolume(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.PortworxVolume portworxVolume) { + this.portworxVolume = portworxVolume; + } + + @com.fasterxml.jackson.annotation.JsonProperty("projected") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Projected projected; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Projected getProjected() { + return projected; + } + + public void setProjected(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Projected projected) { + this.projected = projected; + } + + @com.fasterxml.jackson.annotation.JsonProperty("quobyte") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Quobyte quobyte; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Quobyte getQuobyte() { + return quobyte; + } + + public void setQuobyte(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Quobyte quobyte) { + this.quobyte = quobyte; + } + + @com.fasterxml.jackson.annotation.JsonProperty("rbd") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Rbd rbd; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Rbd getRbd() { + return rbd; + } + + public void setRbd(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Rbd rbd) { + this.rbd = rbd; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scaleIO") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ScaleIO scaleIO; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ScaleIO getScaleIO() { + return scaleIO; + } + + public void setScaleIO(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ScaleIO scaleIO) { + this.scaleIO = scaleIO; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secret") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Secret secret; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Secret getSecret() { + return secret; + } + + public void setSecret(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Secret secret) { + this.secret = secret; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storageos") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Storageos storageos; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Storageos getStorageos() { + return storageos; + } + + public void setStorageos(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.Storageos storageos) { + this.storageos = storageos; + } + + @com.fasterxml.jackson.annotation.JsonProperty("vsphereVolume") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.VsphereVolume vsphereVolume; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.VsphereVolume getVsphereVolume() { + return vsphereVolume; + } + + public void setVsphereVolume(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.VsphereVolume vsphereVolume) { + this.vsphereVolume = vsphereVolume; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/NodeAffinity.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/NodeAffinity.java new file mode 100644 index 00000000..34b6896d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/NodeAffinity.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodeAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.RequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/PodAffinity.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/PodAffinity.java new file mode 100644 index 00000000..12afa735 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/PodAffinity.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List requiredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(java.util.List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/PodAntiAffinity.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/PodAntiAffinity.java new file mode 100644 index 00000000..6e80afea --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/PodAntiAffinity.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preferredDuringSchedulingIgnoredDuringExecution","requiredDuringSchedulingIgnoredDuringExecution"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAntiAffinity implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List preferredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + public void setPreferredDuringSchedulingIgnoredDuringExecution(java.util.List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List requiredDuringSchedulingIgnoredDuringExecution; + + public java.util.List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + public void setRequiredDuringSchedulingIgnoredDuringExecution(java.util.List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..85dd4dc9 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"preference","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("preference") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference preference; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference getPreference() { + return preference; + } + + public void setPreference(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.Preference preference) { + this.preference = preference; + } + + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..bd61e783 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"nodeSelectorTerms"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("nodeSelectorTerms") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List nodeSelectorTerms; + + public java.util.List getNodeSelectorTerms() { + return nodeSelectorTerms; + } + + public void setNodeSelectorTerms(java.util.List nodeSelectorTerms) { + this.nodeSelectorTerms = nodeSelectorTerms; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java new file mode 100644 index 00000000..3ac16363 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/Preference.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchFields"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Preference implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchFields") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchFields; + + public java.util.List getMatchFields() { + return matchFields; + } + + public void setMatchFields(java.util.List matchFields) { + this.matchFields = matchFields; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java new file mode 100644 index 00000000..d27cf001 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.preference; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java new file mode 100644 index 00000000..8e420ded --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/preferredduringschedulingignoredduringexecution/preference/MatchFields.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.preferredduringschedulingignoredduringexecution.preference; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java new file mode 100644 index 00000000..b3807ae9 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/NodeSelectorTerms.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchFields"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodeSelectorTerms implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchFields") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchFields; + + public java.util.List getMatchFields() { + return matchFields; + } + + public void setMatchFields(java.util.List matchFields) { + this.matchFields = matchFields; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java new file mode 100644 index 00000000..e2dc26af --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution.nodeselectorterms; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java new file mode 100644 index 00000000..c75d5d63 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/nodeaffinity/requiredduringschedulingignoredduringexecution/nodeselectorterms/MatchFields.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.nodeaffinity.requiredduringschedulingignoredduringexecution.nodeselectorterms; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..80c2e4c1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"podAffinityTerm","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("podAffinityTerm") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + public void setPodAffinityTerm(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..3b441d70 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java new file mode 100644 index 00000000..8199399d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinityTerm implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java new file mode 100644 index 00000000..45310ddd --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java new file mode 100644 index 00000000..c612a5f0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java new file mode 100644 index 00000000..4420ee29 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..a28904ed --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java new file mode 100644 index 00000000..ac49b224 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java new file mode 100644 index 00000000..c675135a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java new file mode 100644 index 00000000..25d59ef5 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..fc3032c2 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podaffinity.requiredduringschedulingignoredduringexecution.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..b94c8b84 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/PreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"podAffinityTerm","weight"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreferredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("podAffinityTerm") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + public void setPodAffinityTerm(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.PodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @com.fasterxml.jackson.annotation.JsonProperty("weight") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer weight; + + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000..18719291 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/RequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class RequiredDuringSchedulingIgnoredDuringExecution implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java new file mode 100644 index 00000000..cac60489 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/PodAffinityTerm.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"labelSelector","namespaceSelector","namespaces","topologyKey"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PodAffinityTerm implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("labelSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector getLabelSelector() { + return labelSelector; + } + + public void setLabelSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.LabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaceSelector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + public void setNamespaceSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.NamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespaces") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List namespaces; + + public java.util.List getNamespaces() { + return namespaces; + } + + public void setNamespaces(java.util.List namespaces) { + this.namespaces = namespaces; + } + + @com.fasterxml.jackson.annotation.JsonProperty("topologyKey") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String topologyKey; + + public String getTopologyKey() { + return topologyKey; + } + + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java new file mode 100644 index 00000000..0f20b6bb --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java new file mode 100644 index 00000000..142584f8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/NamespaceSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java new file mode 100644 index 00000000..b953b572 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..c16b53e6 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/preferredduringschedulingignoredduringexecution/podaffinityterm/namespaceselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.preferredduringschedulingignoredduringexecution.podaffinityterm.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java new file mode 100644 index 00000000..b00c74eb --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java new file mode 100644 index 00000000..4edbb03d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/NamespaceSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NamespaceSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java new file mode 100644 index 00000000..4be9651a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java new file mode 100644 index 00000000..c4a36dc6 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/affinity/podantiaffinity/requiredduringschedulingignoredduringexecution/namespaceselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.affinity.podantiaffinity.requiredduringschedulingignoredduringexecution.namespaceselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/Env.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/Env.java new file mode 100644 index 00000000..0016eb15 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/Env.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value","valueFrom"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Env implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonProperty("valueFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.ValueFrom valueFrom; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.ValueFrom getValueFrom() { + return valueFrom; + } + + public void setValueFrom(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.ValueFrom valueFrom) { + this.valueFrom = valueFrom; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/EnvFrom.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/EnvFrom.java new file mode 100644 index 00000000..c0caada3 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/EnvFrom.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapRef","prefix","secretRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EnvFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.envfrom.ConfigMapRef configMapRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.envfrom.ConfigMapRef getConfigMapRef() { + return configMapRef; + } + + public void setConfigMapRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.envfrom.ConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("prefix") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String prefix; + + public String getPrefix() { + return prefix; + } + + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.envfrom.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.envfrom.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.envfrom.SecretRef secretRef) { + this.secretRef = secretRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/Lifecycle.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/Lifecycle.java new file mode 100644 index 00000000..fd5b168a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/Lifecycle.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"postStart","preStop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Lifecycle implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("postStart") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.PostStart postStart; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.PostStart getPostStart() { + return postStart; + } + + public void setPostStart(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.PostStart postStart) { + this.postStart = postStart; + } + + @com.fasterxml.jackson.annotation.JsonProperty("preStop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.PreStop preStop; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.PreStop getPreStop() { + return preStop; + } + + public void setPreStop(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.PreStop preStop) { + this.preStop = preStop; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/LivenessProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/LivenessProbe.java new file mode 100644 index 00000000..abf33471 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/LivenessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LivenessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/Ports.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/Ports.java new file mode 100644 index 00000000..34ba787f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/Ports.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerPort","hostIP","hostPort","name","protocol"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ports implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer containerPort; + + public Integer getContainerPort() { + return containerPort; + } + + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostIP") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostIP; + + public String getHostIP() { + return hostIP; + } + + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer hostPort; + + public Integer getHostPort() { + return hostPort; + } + + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protocol; + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/ReadinessProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/ReadinessProbe.java new file mode 100644 index 00000000..12ebc901 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/ReadinessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ReadinessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/ResizePolicy.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/ResizePolicy.java new file mode 100644 index 00000000..dbae7eff --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/ResizePolicy.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"resourceName","restartPolicy"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResizePolicy implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceName; + + public String getResourceName() { + return resourceName; + } + + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/Resources.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/Resources.java new file mode 100644 index 00000000..40aa614c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List claims; + + public java.util.List getClaims() { + return claims; + } + + public void setClaims(java.util.List claims) { + this.claims = claims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("limits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map limits; + + public java.util.Map getLimits() { + return limits; + } + + public void setLimits(java.util.Map limits) { + this.limits = limits; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requests") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map requests; + + public java.util.Map getRequests() { + return requests; + } + + public void setRequests(java.util.Map requests) { + this.requests = requests; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/SecurityContext.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/SecurityContext.java new file mode 100644 index 00000000..0836748f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/SecurityContext.java @@ -0,0 +1,141 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"allowPrivilegeEscalation","capabilities","privileged","procMount","readOnlyRootFilesystem","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","windowsOptions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecurityContext implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("allowPrivilegeEscalation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean allowPrivilegeEscalation; + + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("capabilities") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.Capabilities capabilities; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.Capabilities getCapabilities() { + return capabilities; + } + + public void setCapabilities(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.Capabilities capabilities) { + this.capabilities = capabilities; + } + + @com.fasterxml.jackson.annotation.JsonProperty("privileged") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean privileged; + + public Boolean getPrivileged() { + return privileged; + } + + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @com.fasterxml.jackson.annotation.JsonProperty("procMount") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String procMount; + + public String getProcMount() { + return procMount; + } + + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnlyRootFilesystem") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnlyRootFilesystem; + + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsGroup; + + public Long getRunAsGroup() { + return runAsGroup; + } + + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsNonRoot") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean runAsNonRoot; + + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUser") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsUser; + + public Long getRunAsUser() { + return runAsUser; + } + + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.SeLinuxOptions seLinuxOptions; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.SeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + public void setSeLinuxOptions(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.SeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.SeccompProfile seccompProfile; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.SeccompProfile getSeccompProfile() { + return seccompProfile; + } + + public void setSeccompProfile(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.SeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.WindowsOptions windowsOptions; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.WindowsOptions getWindowsOptions() { + return windowsOptions; + } + + public void setWindowsOptions(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext.WindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/StartupProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/StartupProbe.java new file mode 100644 index 00000000..c38ee10f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/StartupProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class StartupProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/VolumeDevices.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/VolumeDevices.java new file mode 100644 index 00000000..85fd6ce8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/VolumeDevices.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"devicePath","name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeDevices implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("devicePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String devicePath; + + public String getDevicePath() { + return devicePath; + } + + public void setDevicePath(String devicePath) { + this.devicePath = devicePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/VolumeMounts.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/VolumeMounts.java new file mode 100644 index 00000000..b9906d2c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/VolumeMounts.java @@ -0,0 +1,81 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"mountPath","mountPropagation","name","readOnly","subPath","subPathExpr"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeMounts implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("mountPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPath; + + public String getMountPath() { + return mountPath; + } + + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mountPropagation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPropagation; + + public String getMountPropagation() { + return mountPropagation; + } + + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPath; + + public String getSubPath() { + return subPath; + } + + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPathExpr") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPathExpr; + + public String getSubPathExpr() { + return subPathExpr; + } + + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/ValueFrom.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/ValueFrom.java new file mode 100644 index 00000000..acf90bae --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/ValueFrom.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapKeyRef","fieldRef","resourceFieldRef","secretKeyRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ValueFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.ConfigMapKeyRef configMapKeyRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.ConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + public void setConfigMapKeyRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.ConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.FieldRef fieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.ResourceFieldRef resourceFieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.SecretKeyRef secretKeyRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.SecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + public void setSecretKeyRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom.SecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/ConfigMapKeyRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/ConfigMapKeyRef.java new file mode 100644 index 00000000..410dcb2a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/ConfigMapKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/FieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/FieldRef.java new file mode 100644 index 00000000..bcedfa57 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/ResourceFieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/ResourceFieldRef.java new file mode 100644 index 00000000..4e78c753 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/SecretKeyRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/SecretKeyRef.java new file mode 100644 index 00000000..55140c38 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/env/valuefrom/SecretKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/envfrom/ConfigMapRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/envfrom/ConfigMapRef.java new file mode 100644 index 00000000..228feb08 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/envfrom/ConfigMapRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/envfrom/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/envfrom/SecretRef.java new file mode 100644 index 00000000..582193b3 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/envfrom/SecretRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/PostStart.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/PostStart.java new file mode 100644 index 00000000..d8eabe73 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/PostStart.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PostStart implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/PreStop.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/PreStop.java new file mode 100644 index 00000000..15e3bc28 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/PreStop.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreStop implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/Exec.java new file mode 100644 index 00000000..0861f299 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/HttpGet.java new file mode 100644 index 00000000..5ba03673 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/TcpSocket.java new file mode 100644 index 00000000..9fecdb47 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/httpget/HttpHeaders.java new file mode 100644 index 00000000..fd9f0372 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/poststart/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.poststart.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/Exec.java new file mode 100644 index 00000000..cc3eec6a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/HttpGet.java new file mode 100644 index 00000000..1bd6f25a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/TcpSocket.java new file mode 100644 index 00000000..012a0569 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/httpget/HttpHeaders.java new file mode 100644 index 00000000..c43feafa --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/lifecycle/prestop/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.lifecycle.prestop.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/Exec.java new file mode 100644 index 00000000..7582f5a8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/Grpc.java new file mode 100644 index 00000000..0828dca4 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/HttpGet.java new file mode 100644 index 00000000..10b02c4e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/TcpSocket.java new file mode 100644 index 00000000..368d39e7 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..8a2762a6 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/livenessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.livenessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/Exec.java new file mode 100644 index 00000000..ba5fd5e1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/Grpc.java new file mode 100644 index 00000000..5249639b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/HttpGet.java new file mode 100644 index 00000000..958f5902 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/TcpSocket.java new file mode 100644 index 00000000..cfad386e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..fcbb9ce6 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/readinessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.readinessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/resources/Claims.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/resources/Claims.java new file mode 100644 index 00000000..1216195a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/resources/Claims.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Claims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/Capabilities.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/Capabilities.java new file mode 100644 index 00000000..4a0d51e5 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/Capabilities.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"add","drop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Capabilities implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("add") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List add; + + public java.util.List getAdd() { + return add; + } + + public void setAdd(java.util.List add) { + this.add = add; + } + + @com.fasterxml.jackson.annotation.JsonProperty("drop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List drop; + + public java.util.List getDrop() { + return drop; + } + + public void setDrop(java.util.List drop) { + this.drop = drop; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/SeLinuxOptions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/SeLinuxOptions.java new file mode 100644 index 00000000..fb36c8f5 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/SeLinuxOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeLinuxOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String level; + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + @com.fasterxml.jackson.annotation.JsonProperty("role") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String role; + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/SeccompProfile.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/SeccompProfile.java new file mode 100644 index 00000000..7c91200b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/SeccompProfile.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeccompProfile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("localhostProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String localhostProfile; + + public String getLocalhostProfile() { + return localhostProfile; + } + + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/WindowsOptions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/WindowsOptions.java new file mode 100644 index 00000000..ee652da3 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/securitycontext/WindowsOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WindowsOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpec; + + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpecName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpecName; + + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostProcess") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostProcess; + + public Boolean getHostProcess() { + return hostProcess; + } + + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUserName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runAsUserName; + + public String getRunAsUserName() { + return runAsUserName; + } + + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/Exec.java new file mode 100644 index 00000000..76d88b1f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/Grpc.java new file mode 100644 index 00000000..91946ed1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/HttpGet.java new file mode 100644 index 00000000..0a7f04ab --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/TcpSocket.java new file mode 100644 index 00000000..00c9ec56 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..36cd1b09 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/containers/startupprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.containers.startupprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/dnsconfig/Options.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/dnsconfig/Options.java new file mode 100644 index 00000000..1354a0f3 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/dnsconfig/Options.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.dnsconfig; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Options implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Env.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Env.java new file mode 100644 index 00000000..5ead9884 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Env.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value","valueFrom"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Env implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonProperty("valueFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.ValueFrom valueFrom; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.ValueFrom getValueFrom() { + return valueFrom; + } + + public void setValueFrom(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.ValueFrom valueFrom) { + this.valueFrom = valueFrom; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/EnvFrom.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/EnvFrom.java new file mode 100644 index 00000000..288b5720 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/EnvFrom.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapRef","prefix","secretRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EnvFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.envfrom.ConfigMapRef configMapRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.envfrom.ConfigMapRef getConfigMapRef() { + return configMapRef; + } + + public void setConfigMapRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.envfrom.ConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("prefix") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String prefix; + + public String getPrefix() { + return prefix; + } + + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.envfrom.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.envfrom.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.envfrom.SecretRef secretRef) { + this.secretRef = secretRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Lifecycle.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Lifecycle.java new file mode 100644 index 00000000..9682176a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Lifecycle.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"postStart","preStop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Lifecycle implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("postStart") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.PostStart postStart; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.PostStart getPostStart() { + return postStart; + } + + public void setPostStart(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.PostStart postStart) { + this.postStart = postStart; + } + + @com.fasterxml.jackson.annotation.JsonProperty("preStop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.PreStop preStop; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.PreStop getPreStop() { + return preStop; + } + + public void setPreStop(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.PreStop preStop) { + this.preStop = preStop; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/LivenessProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/LivenessProbe.java new file mode 100644 index 00000000..eddafce0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/LivenessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LivenessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Ports.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Ports.java new file mode 100644 index 00000000..dd9a1d13 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Ports.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerPort","hostIP","hostPort","name","protocol"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ports implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer containerPort; + + public Integer getContainerPort() { + return containerPort; + } + + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostIP") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostIP; + + public String getHostIP() { + return hostIP; + } + + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer hostPort; + + public Integer getHostPort() { + return hostPort; + } + + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protocol; + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/ReadinessProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/ReadinessProbe.java new file mode 100644 index 00000000..3c83cf47 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/ReadinessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ReadinessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/ResizePolicy.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/ResizePolicy.java new file mode 100644 index 00000000..e5372811 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/ResizePolicy.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"resourceName","restartPolicy"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResizePolicy implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceName; + + public String getResourceName() { + return resourceName; + } + + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Resources.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Resources.java new file mode 100644 index 00000000..95292188 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List claims; + + public java.util.List getClaims() { + return claims; + } + + public void setClaims(java.util.List claims) { + this.claims = claims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("limits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map limits; + + public java.util.Map getLimits() { + return limits; + } + + public void setLimits(java.util.Map limits) { + this.limits = limits; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requests") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map requests; + + public java.util.Map getRequests() { + return requests; + } + + public void setRequests(java.util.Map requests) { + this.requests = requests; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/SecurityContext.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/SecurityContext.java new file mode 100644 index 00000000..901bc53b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/SecurityContext.java @@ -0,0 +1,141 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"allowPrivilegeEscalation","capabilities","privileged","procMount","readOnlyRootFilesystem","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","windowsOptions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecurityContext implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("allowPrivilegeEscalation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean allowPrivilegeEscalation; + + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("capabilities") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.Capabilities capabilities; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.Capabilities getCapabilities() { + return capabilities; + } + + public void setCapabilities(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.Capabilities capabilities) { + this.capabilities = capabilities; + } + + @com.fasterxml.jackson.annotation.JsonProperty("privileged") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean privileged; + + public Boolean getPrivileged() { + return privileged; + } + + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @com.fasterxml.jackson.annotation.JsonProperty("procMount") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String procMount; + + public String getProcMount() { + return procMount; + } + + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnlyRootFilesystem") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnlyRootFilesystem; + + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsGroup; + + public Long getRunAsGroup() { + return runAsGroup; + } + + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsNonRoot") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean runAsNonRoot; + + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUser") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsUser; + + public Long getRunAsUser() { + return runAsUser; + } + + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.SeLinuxOptions seLinuxOptions; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.SeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + public void setSeLinuxOptions(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.SeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.SeccompProfile seccompProfile; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.SeccompProfile getSeccompProfile() { + return seccompProfile; + } + + public void setSeccompProfile(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.SeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.WindowsOptions windowsOptions; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.WindowsOptions getWindowsOptions() { + return windowsOptions; + } + + public void setWindowsOptions(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext.WindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/StartupProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/StartupProbe.java new file mode 100644 index 00000000..95ad36df --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/StartupProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class StartupProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/VolumeDevices.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/VolumeDevices.java new file mode 100644 index 00000000..1f778119 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/VolumeDevices.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"devicePath","name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeDevices implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("devicePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String devicePath; + + public String getDevicePath() { + return devicePath; + } + + public void setDevicePath(String devicePath) { + this.devicePath = devicePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/VolumeMounts.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/VolumeMounts.java new file mode 100644 index 00000000..440effc8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/VolumeMounts.java @@ -0,0 +1,81 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"mountPath","mountPropagation","name","readOnly","subPath","subPathExpr"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeMounts implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("mountPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPath; + + public String getMountPath() { + return mountPath; + } + + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mountPropagation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPropagation; + + public String getMountPropagation() { + return mountPropagation; + } + + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPath; + + public String getSubPath() { + return subPath; + } + + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPathExpr") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPathExpr; + + public String getSubPathExpr() { + return subPathExpr; + } + + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/ValueFrom.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/ValueFrom.java new file mode 100644 index 00000000..286f560f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/ValueFrom.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapKeyRef","fieldRef","resourceFieldRef","secretKeyRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ValueFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.ConfigMapKeyRef configMapKeyRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.ConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + public void setConfigMapKeyRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.ConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.FieldRef fieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.ResourceFieldRef resourceFieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.SecretKeyRef secretKeyRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.SecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + public void setSecretKeyRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom.SecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/ConfigMapKeyRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/ConfigMapKeyRef.java new file mode 100644 index 00000000..0928b317 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/ConfigMapKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/FieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/FieldRef.java new file mode 100644 index 00000000..9a7bf557 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/ResourceFieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/ResourceFieldRef.java new file mode 100644 index 00000000..2529343e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/SecretKeyRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/SecretKeyRef.java new file mode 100644 index 00000000..fda48034 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/env/valuefrom/SecretKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/envfrom/ConfigMapRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/envfrom/ConfigMapRef.java new file mode 100644 index 00000000..ad6de393 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/envfrom/ConfigMapRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/envfrom/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/envfrom/SecretRef.java new file mode 100644 index 00000000..95cfc534 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/envfrom/SecretRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/PostStart.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/PostStart.java new file mode 100644 index 00000000..4e52af85 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/PostStart.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PostStart implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/PreStop.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/PreStop.java new file mode 100644 index 00000000..1880c2ac --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/PreStop.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreStop implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/Exec.java new file mode 100644 index 00000000..2689da12 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/HttpGet.java new file mode 100644 index 00000000..dc659eb8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/TcpSocket.java new file mode 100644 index 00000000..604f88dd --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/httpget/HttpHeaders.java new file mode 100644 index 00000000..a5aa5dc4 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/poststart/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.poststart.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/Exec.java new file mode 100644 index 00000000..fb67eaa7 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/HttpGet.java new file mode 100644 index 00000000..f2c34f28 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/TcpSocket.java new file mode 100644 index 00000000..8f6ccf08 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/httpget/HttpHeaders.java new file mode 100644 index 00000000..5c558d70 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/lifecycle/prestop/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.lifecycle.prestop.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/Exec.java new file mode 100644 index 00000000..c11968ec --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/Grpc.java new file mode 100644 index 00000000..ccc3d855 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/HttpGet.java new file mode 100644 index 00000000..70d3161b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/TcpSocket.java new file mode 100644 index 00000000..7888e4cb --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..8d4875c1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/livenessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.livenessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/Exec.java new file mode 100644 index 00000000..c4976418 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/Grpc.java new file mode 100644 index 00000000..17a6089a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/HttpGet.java new file mode 100644 index 00000000..0d788f5f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/TcpSocket.java new file mode 100644 index 00000000..29d14644 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..ad8651eb --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/readinessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.readinessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/resources/Claims.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/resources/Claims.java new file mode 100644 index 00000000..3d23b653 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/resources/Claims.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Claims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/Capabilities.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/Capabilities.java new file mode 100644 index 00000000..4b03f666 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/Capabilities.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"add","drop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Capabilities implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("add") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List add; + + public java.util.List getAdd() { + return add; + } + + public void setAdd(java.util.List add) { + this.add = add; + } + + @com.fasterxml.jackson.annotation.JsonProperty("drop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List drop; + + public java.util.List getDrop() { + return drop; + } + + public void setDrop(java.util.List drop) { + this.drop = drop; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/SeLinuxOptions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/SeLinuxOptions.java new file mode 100644 index 00000000..fb1b399d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/SeLinuxOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeLinuxOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String level; + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + @com.fasterxml.jackson.annotation.JsonProperty("role") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String role; + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/SeccompProfile.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/SeccompProfile.java new file mode 100644 index 00000000..f04432bc --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/SeccompProfile.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeccompProfile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("localhostProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String localhostProfile; + + public String getLocalhostProfile() { + return localhostProfile; + } + + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/WindowsOptions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/WindowsOptions.java new file mode 100644 index 00000000..a356fef8 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/securitycontext/WindowsOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WindowsOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpec; + + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpecName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpecName; + + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostProcess") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostProcess; + + public Boolean getHostProcess() { + return hostProcess; + } + + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUserName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runAsUserName; + + public String getRunAsUserName() { + return runAsUserName; + } + + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/Exec.java new file mode 100644 index 00000000..e421de0c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/Grpc.java new file mode 100644 index 00000000..e71407ba --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/HttpGet.java new file mode 100644 index 00000000..cd1bdd95 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/TcpSocket.java new file mode 100644 index 00000000..7dee33c4 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..8a5db94c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/ephemeralcontainers/startupprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.ephemeralcontainers.startupprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Env.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Env.java new file mode 100644 index 00000000..22c9137d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Env.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value","valueFrom"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Env implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonProperty("valueFrom") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.ValueFrom valueFrom; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.ValueFrom getValueFrom() { + return valueFrom; + } + + public void setValueFrom(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.ValueFrom valueFrom) { + this.valueFrom = valueFrom; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/EnvFrom.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/EnvFrom.java new file mode 100644 index 00000000..2aed9d56 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/EnvFrom.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapRef","prefix","secretRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EnvFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.envfrom.ConfigMapRef configMapRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.envfrom.ConfigMapRef getConfigMapRef() { + return configMapRef; + } + + public void setConfigMapRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.envfrom.ConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("prefix") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String prefix; + + public String getPrefix() { + return prefix; + } + + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.envfrom.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.envfrom.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.envfrom.SecretRef secretRef) { + this.secretRef = secretRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Lifecycle.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Lifecycle.java new file mode 100644 index 00000000..16482f8a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Lifecycle.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"postStart","preStop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Lifecycle implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("postStart") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.PostStart postStart; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.PostStart getPostStart() { + return postStart; + } + + public void setPostStart(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.PostStart postStart) { + this.postStart = postStart; + } + + @com.fasterxml.jackson.annotation.JsonProperty("preStop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.PreStop preStop; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.PreStop getPreStop() { + return preStop; + } + + public void setPreStop(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.PreStop preStop) { + this.preStop = preStop; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/LivenessProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/LivenessProbe.java new file mode 100644 index 00000000..c3bce80d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/LivenessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LivenessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Ports.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Ports.java new file mode 100644 index 00000000..3bc6a632 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Ports.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerPort","hostIP","hostPort","name","protocol"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ports implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer containerPort; + + public Integer getContainerPort() { + return containerPort; + } + + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostIP") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String hostIP; + + public String getHostIP() { + return hostIP; + } + + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostPort") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer hostPort; + + public Integer getHostPort() { + return hostPort; + } + + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protocol; + + public String getProtocol() { + return protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/ReadinessProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/ReadinessProbe.java new file mode 100644 index 00000000..fc5caf23 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/ReadinessProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ReadinessProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/ResizePolicy.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/ResizePolicy.java new file mode 100644 index 00000000..54aa2ffa --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/ResizePolicy.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"resourceName","restartPolicy"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResizePolicy implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceName; + + public String getResourceName() { + return resourceName; + } + + public void setResourceName(String resourceName) { + this.resourceName = resourceName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("restartPolicy") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String restartPolicy; + + public String getRestartPolicy() { + return restartPolicy; + } + + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Resources.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Resources.java new file mode 100644 index 00000000..a09fcb77 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List claims; + + public java.util.List getClaims() { + return claims; + } + + public void setClaims(java.util.List claims) { + this.claims = claims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("limits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map limits; + + public java.util.Map getLimits() { + return limits; + } + + public void setLimits(java.util.Map limits) { + this.limits = limits; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requests") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map requests; + + public java.util.Map getRequests() { + return requests; + } + + public void setRequests(java.util.Map requests) { + this.requests = requests; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/SecurityContext.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/SecurityContext.java new file mode 100644 index 00000000..f21b8076 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/SecurityContext.java @@ -0,0 +1,141 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"allowPrivilegeEscalation","capabilities","privileged","procMount","readOnlyRootFilesystem","runAsGroup","runAsNonRoot","runAsUser","seLinuxOptions","seccompProfile","windowsOptions"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecurityContext implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("allowPrivilegeEscalation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean allowPrivilegeEscalation; + + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("capabilities") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.Capabilities capabilities; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.Capabilities getCapabilities() { + return capabilities; + } + + public void setCapabilities(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.Capabilities capabilities) { + this.capabilities = capabilities; + } + + @com.fasterxml.jackson.annotation.JsonProperty("privileged") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean privileged; + + public Boolean getPrivileged() { + return privileged; + } + + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @com.fasterxml.jackson.annotation.JsonProperty("procMount") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String procMount; + + public String getProcMount() { + return procMount; + } + + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnlyRootFilesystem") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnlyRootFilesystem; + + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsGroup; + + public Long getRunAsGroup() { + return runAsGroup; + } + + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsNonRoot") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean runAsNonRoot; + + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUser") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long runAsUser; + + public Long getRunAsUser() { + return runAsUser; + } + + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seLinuxOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.SeLinuxOptions seLinuxOptions; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.SeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + public void setSeLinuxOptions(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.SeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("seccompProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.SeccompProfile seccompProfile; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.SeccompProfile getSeccompProfile() { + return seccompProfile; + } + + public void setSeccompProfile(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.SeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("windowsOptions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.WindowsOptions windowsOptions; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.WindowsOptions getWindowsOptions() { + return windowsOptions; + } + + public void setWindowsOptions(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext.WindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/StartupProbe.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/StartupProbe.java new file mode 100644 index 00000000..0207b08b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/StartupProbe.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","failureThreshold","grpc","httpGet","initialDelaySeconds","periodSeconds","successThreshold","tcpSocket","terminationGracePeriodSeconds","timeoutSeconds"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class StartupProbe implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("failureThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer failureThreshold; + + public Integer getFailureThreshold() { + return failureThreshold; + } + + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grpc") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.Grpc grpc; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.Grpc getGrpc() { + return grpc; + } + + public void setGrpc(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.Grpc grpc) { + this.grpc = grpc; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initialDelaySeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer initialDelaySeconds; + + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("periodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer periodSeconds; + + public Integer getPeriodSeconds() { + return periodSeconds; + } + + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("successThreshold") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer successThreshold; + + public Integer getSuccessThreshold() { + return successThreshold; + } + + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @com.fasterxml.jackson.annotation.JsonProperty("terminationGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long terminationGracePeriodSeconds; + + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("timeoutSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer timeoutSeconds; + + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/VolumeDevices.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/VolumeDevices.java new file mode 100644 index 00000000..0e16eea0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/VolumeDevices.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"devicePath","name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeDevices implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("devicePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String devicePath; + + public String getDevicePath() { + return devicePath; + } + + public void setDevicePath(String devicePath) { + this.devicePath = devicePath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/VolumeMounts.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/VolumeMounts.java new file mode 100644 index 00000000..e97abbb6 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/VolumeMounts.java @@ -0,0 +1,81 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"mountPath","mountPropagation","name","readOnly","subPath","subPathExpr"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeMounts implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("mountPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPath; + + public String getMountPath() { + return mountPath; + } + + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mountPropagation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String mountPropagation; + + public String getMountPropagation() { + return mountPropagation; + } + + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPath; + + public String getSubPath() { + return subPath; + } + + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subPathExpr") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subPathExpr; + + public String getSubPathExpr() { + return subPathExpr; + } + + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/ValueFrom.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/ValueFrom.java new file mode 100644 index 00000000..6adcb742 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/ValueFrom.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMapKeyRef","fieldRef","resourceFieldRef","secretKeyRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ValueFrom implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMapKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.ConfigMapKeyRef configMapKeyRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.ConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + public void setConfigMapKeyRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.ConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.FieldRef fieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.ResourceFieldRef resourceFieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretKeyRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.SecretKeyRef secretKeyRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.SecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + public void setSecretKeyRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom.SecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/ConfigMapKeyRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/ConfigMapKeyRef.java new file mode 100644 index 00000000..952e79f0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/ConfigMapKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/FieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/FieldRef.java new file mode 100644 index 00000000..becaf6d7 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/ResourceFieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/ResourceFieldRef.java new file mode 100644 index 00000000..cba635b2 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/SecretKeyRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/SecretKeyRef.java new file mode 100644 index 00000000..3e3fb0ce --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/env/valuefrom/SecretKeyRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.env.valuefrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretKeyRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/envfrom/ConfigMapRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/envfrom/ConfigMapRef.java new file mode 100644 index 00000000..9a4b3703 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/envfrom/ConfigMapRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMapRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/envfrom/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/envfrom/SecretRef.java new file mode 100644 index 00000000..3d2c6bae --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/envfrom/SecretRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.envfrom; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/PostStart.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/PostStart.java new file mode 100644 index 00000000..15618082 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/PostStart.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PostStart implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/PreStop.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/PreStop.java new file mode 100644 index 00000000..67e6ac22 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/PreStop.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"exec","httpGet","tcpSocket"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PreStop implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("exec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.Exec exec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.Exec getExec() { + return exec; + } + + public void setExec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.Exec exec) { + this.exec = exec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpGet") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.HttpGet httpGet; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.HttpGet getHttpGet() { + return httpGet; + } + + public void setHttpGet(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.HttpGet httpGet) { + this.httpGet = httpGet; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpSocket") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.TcpSocket tcpSocket; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.TcpSocket getTcpSocket() { + return tcpSocket; + } + + public void setTcpSocket(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.TcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/Exec.java new file mode 100644 index 00000000..34f14650 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/HttpGet.java new file mode 100644 index 00000000..541b4354 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/TcpSocket.java new file mode 100644 index 00000000..34174a9e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/httpget/HttpHeaders.java new file mode 100644 index 00000000..5cc9fdfc --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/poststart/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.poststart.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/Exec.java new file mode 100644 index 00000000..d275abbb --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/HttpGet.java new file mode 100644 index 00000000..cc1b1391 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/TcpSocket.java new file mode 100644 index 00000000..8c9a7e0a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/httpget/HttpHeaders.java new file mode 100644 index 00000000..83da869b --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/lifecycle/prestop/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.lifecycle.prestop.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/Exec.java new file mode 100644 index 00000000..aa701d8e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/Grpc.java new file mode 100644 index 00000000..d7624b90 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/HttpGet.java new file mode 100644 index 00000000..e1d510f9 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/TcpSocket.java new file mode 100644 index 00000000..ee1dfa24 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..7895dda3 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/livenessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.livenessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/Exec.java new file mode 100644 index 00000000..51edc5a0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/Grpc.java new file mode 100644 index 00000000..d0e49557 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/HttpGet.java new file mode 100644 index 00000000..62b6e5e5 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/TcpSocket.java new file mode 100644 index 00000000..f48f2288 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..5c5bdd56 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/readinessprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.readinessprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/resources/Claims.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/resources/Claims.java new file mode 100644 index 00000000..0f88af3e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/resources/Claims.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Claims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/Capabilities.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/Capabilities.java new file mode 100644 index 00000000..32f914db --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/Capabilities.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"add","drop"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Capabilities implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("add") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List add; + + public java.util.List getAdd() { + return add; + } + + public void setAdd(java.util.List add) { + this.add = add; + } + + @com.fasterxml.jackson.annotation.JsonProperty("drop") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List drop; + + public java.util.List getDrop() { + return drop; + } + + public void setDrop(java.util.List drop) { + this.drop = drop; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/SeLinuxOptions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/SeLinuxOptions.java new file mode 100644 index 00000000..93bd72b4 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/SeLinuxOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeLinuxOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String level; + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + @com.fasterxml.jackson.annotation.JsonProperty("role") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String role; + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/SeccompProfile.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/SeccompProfile.java new file mode 100644 index 00000000..84ee85ca --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/SeccompProfile.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeccompProfile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("localhostProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String localhostProfile; + + public String getLocalhostProfile() { + return localhostProfile; + } + + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/WindowsOptions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/WindowsOptions.java new file mode 100644 index 00000000..17b5ff7e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/securitycontext/WindowsOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WindowsOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpec; + + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpecName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpecName; + + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostProcess") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostProcess; + + public Boolean getHostProcess() { + return hostProcess; + } + + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUserName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runAsUserName; + + public String getRunAsUserName() { + return runAsUserName; + } + + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/Exec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/Exec.java new file mode 100644 index 00000000..f38d4f20 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/Exec.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"command"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Exec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("command") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List command; + + public java.util.List getCommand() { + return command; + } + + public void setCommand(java.util.List command) { + this.command = command; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/Grpc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/Grpc.java new file mode 100644 index 00000000..96158f99 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/Grpc.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"port","service"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Grpc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer port; + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("service") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String service; + + public String getService() { + return service; + } + + public void setService(String service) { + this.service = service; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/HttpGet.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/HttpGet.java new file mode 100644 index 00000000..18b19609 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/HttpGet.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","httpHeaders","path","port","scheme"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpGet implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("httpHeaders") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List httpHeaders; + + public java.util.List getHttpHeaders() { + return httpHeaders; + } + + public void setHttpHeaders(java.util.List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + @com.fasterxml.jackson.annotation.JsonProperty("scheme") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String scheme; + + public String getScheme() { + return scheme; + } + + public void setScheme(String scheme) { + this.scheme = scheme; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/TcpSocket.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/TcpSocket.java new file mode 100644 index 00000000..263f2a48 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/TcpSocket.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"host","port"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class TcpSocket implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("host") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String host; + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + @com.fasterxml.jackson.annotation.JsonProperty("port") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String port; + + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/httpget/HttpHeaders.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/httpget/HttpHeaders.java new file mode 100644 index 00000000..6f0f11a0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/initcontainers/startupprobe/httpget/HttpHeaders.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.initcontainers.startupprobe.httpget; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HttpHeaders implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/resourceclaims/Source.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/resourceclaims/Source.java new file mode 100644 index 00000000..f895e939 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/resourceclaims/Source.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.resourceclaims; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"resourceClaimName","resourceClaimTemplateName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Source implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("resourceClaimName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceClaimName; + + public String getResourceClaimName() { + return resourceClaimName; + } + + public void setResourceClaimName(String resourceClaimName) { + this.resourceClaimName = resourceClaimName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceClaimTemplateName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceClaimTemplateName; + + public String getResourceClaimTemplateName() { + return resourceClaimTemplateName; + } + + public void setResourceClaimTemplateName(String resourceClaimTemplateName) { + this.resourceClaimTemplateName = resourceClaimTemplateName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/SeLinuxOptions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/SeLinuxOptions.java new file mode 100644 index 00000000..c98c4d47 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/SeLinuxOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"level","role","type","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeLinuxOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("level") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String level; + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + @com.fasterxml.jackson.annotation.JsonProperty("role") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String role; + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/SeccompProfile.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/SeccompProfile.java new file mode 100644 index 00000000..a76cdab1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/SeccompProfile.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"localhostProfile","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SeccompProfile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("localhostProfile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String localhostProfile; + + public String getLocalhostProfile() { + return localhostProfile; + } + + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/Sysctls.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/Sysctls.java new file mode 100644 index 00000000..af83055f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/Sysctls.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","value"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Sysctls implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("value") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String value; + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/WindowsOptions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/WindowsOptions.java new file mode 100644 index 00000000..ced2cb2d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/securitycontext/WindowsOptions.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.securitycontext; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gmsaCredentialSpec","gmsaCredentialSpecName","hostProcess","runAsUserName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class WindowsOptions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpec; + + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gmsaCredentialSpecName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gmsaCredentialSpecName; + + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("hostProcess") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean hostProcess; + + public Boolean getHostProcess() { + return hostProcess; + } + + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @com.fasterxml.jackson.annotation.JsonProperty("runAsUserName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String runAsUserName; + + public String getRunAsUserName() { + return runAsUserName; + } + + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/topologyspreadconstraints/LabelSelector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/topologyspreadconstraints/LabelSelector.java new file mode 100644 index 00000000..5a217d33 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/topologyspreadconstraints/LabelSelector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.topologyspreadconstraints; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class LabelSelector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/topologyspreadconstraints/labelselector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/topologyspreadconstraints/labelselector/MatchExpressions.java new file mode 100644 index 00000000..9085f261 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/topologyspreadconstraints/labelselector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.topologyspreadconstraints.labelselector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/AwsElasticBlockStore.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/AwsElasticBlockStore.java new file mode 100644 index 00000000..dba0aa7e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/AwsElasticBlockStore.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","partition","readOnly","volumeID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class AwsElasticBlockStore implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("partition") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer partition; + + public Integer getPartition() { + return partition; + } + + public void setPartition(Integer partition) { + this.partition = partition; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeID; + + public String getVolumeID() { + return volumeID; + } + + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/AzureDisk.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/AzureDisk.java new file mode 100644 index 00000000..30ca74ea --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/AzureDisk.java @@ -0,0 +1,81 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"cachingMode","diskName","diskURI","fsType","kind","readOnly"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class AzureDisk implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("cachingMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String cachingMode; + + public String getCachingMode() { + return cachingMode; + } + + public void setCachingMode(String cachingMode) { + this.cachingMode = cachingMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("diskName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String diskName; + + public String getDiskName() { + return diskName; + } + + public void setDiskName(String diskName) { + this.diskName = diskName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("diskURI") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String diskURI; + + public String getDiskURI() { + return diskURI; + } + + public void setDiskURI(String diskURI) { + this.diskURI = diskURI; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/AzureFile.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/AzureFile.java new file mode 100644 index 00000000..3485e672 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/AzureFile.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"readOnly","secretName","shareName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class AzureFile implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretName; + + public String getSecretName() { + return secretName; + } + + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("shareName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String shareName; + + public String getShareName() { + return shareName; + } + + public void setShareName(String shareName) { + this.shareName = shareName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Cephfs.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Cephfs.java new file mode 100644 index 00000000..ac043438 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Cephfs.java @@ -0,0 +1,81 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"monitors","path","readOnly","secretFile","secretRef","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Cephfs implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("monitors") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List monitors; + + public java.util.List getMonitors() { + return monitors; + } + + public void setMonitors(java.util.List monitors) { + this.monitors = monitors; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretFile") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretFile; + + public String getSecretFile() { + return secretFile; + } + + public void setSecretFile(String secretFile) { + this.secretFile = secretFile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.cephfs.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.cephfs.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.cephfs.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Cinder.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Cinder.java new file mode 100644 index 00000000..bf5e3ddc --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Cinder.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","readOnly","secretRef","volumeID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Cinder implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.cinder.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.cinder.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.cinder.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeID; + + public String getVolumeID() { + return volumeID; + } + + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ConfigMap.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ConfigMap.java new file mode 100644 index 00000000..403a760a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ConfigMap.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"defaultMode","items","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMap implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("defaultMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer defaultMode; + + public Integer getDefaultMode() { + return defaultMode; + } + + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Csi.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Csi.java new file mode 100644 index 00000000..647f03dd --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Csi.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"driver","fsType","nodePublishSecretRef","readOnly","volumeAttributes"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Csi implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("driver") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String driver; + + public String getDriver() { + return driver; + } + + public void setDriver(String driver) { + this.driver = driver; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("nodePublishSecretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.csi.NodePublishSecretRef nodePublishSecretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.csi.NodePublishSecretRef getNodePublishSecretRef() { + return nodePublishSecretRef; + } + + public void setNodePublishSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.csi.NodePublishSecretRef nodePublishSecretRef) { + this.nodePublishSecretRef = nodePublishSecretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeAttributes") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map volumeAttributes; + + public java.util.Map getVolumeAttributes() { + return volumeAttributes; + } + + public void setVolumeAttributes(java.util.Map volumeAttributes) { + this.volumeAttributes = volumeAttributes; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/DownwardAPI.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/DownwardAPI.java new file mode 100644 index 00000000..81ce04df --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/DownwardAPI.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"defaultMode","items"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DownwardAPI implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("defaultMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer defaultMode; + + public Integer getDefaultMode() { + return defaultMode; + } + + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/EmptyDir.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/EmptyDir.java new file mode 100644 index 00000000..7b33fb54 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/EmptyDir.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"medium","sizeLimit"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class EmptyDir implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("medium") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String medium; + + public String getMedium() { + return medium; + } + + public void setMedium(String medium) { + this.medium = medium; + } + + @com.fasterxml.jackson.annotation.JsonProperty("sizeLimit") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String sizeLimit; + + public String getSizeLimit() { + return sizeLimit; + } + + public void setSizeLimit(String sizeLimit) { + this.sizeLimit = sizeLimit; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Ephemeral.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Ephemeral.java new file mode 100644 index 00000000..cdeac2c0 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Ephemeral.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"volumeClaimTemplate"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Ephemeral implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("volumeClaimTemplate") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.VolumeClaimTemplate volumeClaimTemplate; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.VolumeClaimTemplate getVolumeClaimTemplate() { + return volumeClaimTemplate; + } + + public void setVolumeClaimTemplate(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.VolumeClaimTemplate volumeClaimTemplate) { + this.volumeClaimTemplate = volumeClaimTemplate; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Fc.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Fc.java new file mode 100644 index 00000000..98e7cc3f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Fc.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","lun","readOnly","targetWWNs","wwids"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Fc implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lun") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer lun; + + public Integer getLun() { + return lun; + } + + public void setLun(Integer lun) { + this.lun = lun; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("targetWWNs") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List targetWWNs; + + public java.util.List getTargetWWNs() { + return targetWWNs; + } + + public void setTargetWWNs(java.util.List targetWWNs) { + this.targetWWNs = targetWWNs; + } + + @com.fasterxml.jackson.annotation.JsonProperty("wwids") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List wwids; + + public java.util.List getWwids() { + return wwids; + } + + public void setWwids(java.util.List wwids) { + this.wwids = wwids; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/FlexVolume.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/FlexVolume.java new file mode 100644 index 00000000..1ab18985 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/FlexVolume.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"driver","fsType","options","readOnly","secretRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FlexVolume implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("driver") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String driver; + + public String getDriver() { + return driver; + } + + public void setDriver(String driver) { + this.driver = driver; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("options") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map options; + + public java.util.Map getOptions() { + return options; + } + + public void setOptions(java.util.Map options) { + this.options = options; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.flexvolume.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.flexvolume.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.flexvolume.SecretRef secretRef) { + this.secretRef = secretRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Flocker.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Flocker.java new file mode 100644 index 00000000..d664956c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Flocker.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"datasetName","datasetUUID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Flocker implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("datasetName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String datasetName; + + public String getDatasetName() { + return datasetName; + } + + public void setDatasetName(String datasetName) { + this.datasetName = datasetName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("datasetUUID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String datasetUUID; + + public String getDatasetUUID() { + return datasetUUID; + } + + public void setDatasetUUID(String datasetUUID) { + this.datasetUUID = datasetUUID; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/GcePersistentDisk.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/GcePersistentDisk.java new file mode 100644 index 00000000..615a4de3 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/GcePersistentDisk.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","partition","pdName","readOnly"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class GcePersistentDisk implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("partition") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer partition; + + public Integer getPartition() { + return partition; + } + + public void setPartition(Integer partition) { + this.partition = partition; + } + + @com.fasterxml.jackson.annotation.JsonProperty("pdName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String pdName; + + public String getPdName() { + return pdName; + } + + public void setPdName(String pdName) { + this.pdName = pdName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/GitRepo.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/GitRepo.java new file mode 100644 index 00000000..adbc91d2 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/GitRepo.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"directory","repository","revision"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class GitRepo implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("directory") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String directory; + + public String getDirectory() { + return directory; + } + + public void setDirectory(String directory) { + this.directory = directory; + } + + @com.fasterxml.jackson.annotation.JsonProperty("repository") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String repository; + + public String getRepository() { + return repository; + } + + public void setRepository(String repository) { + this.repository = repository; + } + + @com.fasterxml.jackson.annotation.JsonProperty("revision") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String revision; + + public String getRevision() { + return revision; + } + + public void setRevision(String revision) { + this.revision = revision; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Glusterfs.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Glusterfs.java new file mode 100644 index 00000000..7cb2715a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Glusterfs.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"endpoints","path","readOnly"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Glusterfs implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("endpoints") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String endpoints; + + public String getEndpoints() { + return endpoints; + } + + public void setEndpoints(String endpoints) { + this.endpoints = endpoints; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/HostPath.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/HostPath.java new file mode 100644 index 00000000..841bf047 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/HostPath.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"path","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class HostPath implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("type") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String type; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Iscsi.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Iscsi.java new file mode 100644 index 00000000..041053b2 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Iscsi.java @@ -0,0 +1,141 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"chapAuthDiscovery","chapAuthSession","fsType","initiatorName","iqn","iscsiInterface","lun","portals","readOnly","secretRef","targetPortal"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Iscsi implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("chapAuthDiscovery") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean chapAuthDiscovery; + + public Boolean getChapAuthDiscovery() { + return chapAuthDiscovery; + } + + public void setChapAuthDiscovery(Boolean chapAuthDiscovery) { + this.chapAuthDiscovery = chapAuthDiscovery; + } + + @com.fasterxml.jackson.annotation.JsonProperty("chapAuthSession") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean chapAuthSession; + + public Boolean getChapAuthSession() { + return chapAuthSession; + } + + public void setChapAuthSession(Boolean chapAuthSession) { + this.chapAuthSession = chapAuthSession; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("initiatorName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String initiatorName; + + public String getInitiatorName() { + return initiatorName; + } + + public void setInitiatorName(String initiatorName) { + this.initiatorName = initiatorName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("iqn") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String iqn; + + public String getIqn() { + return iqn; + } + + public void setIqn(String iqn) { + this.iqn = iqn; + } + + @com.fasterxml.jackson.annotation.JsonProperty("iscsiInterface") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String iscsiInterface; + + public String getIscsiInterface() { + return iscsiInterface; + } + + public void setIscsiInterface(String iscsiInterface) { + this.iscsiInterface = iscsiInterface; + } + + @com.fasterxml.jackson.annotation.JsonProperty("lun") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer lun; + + public Integer getLun() { + return lun; + } + + public void setLun(Integer lun) { + this.lun = lun; + } + + @com.fasterxml.jackson.annotation.JsonProperty("portals") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List portals; + + public java.util.List getPortals() { + return portals; + } + + public void setPortals(java.util.List portals) { + this.portals = portals; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.iscsi.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.iscsi.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.iscsi.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("targetPortal") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String targetPortal; + + public String getTargetPortal() { + return targetPortal; + } + + public void setTargetPortal(String targetPortal) { + this.targetPortal = targetPortal; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Nfs.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Nfs.java new file mode 100644 index 00000000..9751b091 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Nfs.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"path","readOnly","server"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Nfs implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("server") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String server; + + public String getServer() { + return server; + } + + public void setServer(String server) { + this.server = server; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/PersistentVolumeClaim.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/PersistentVolumeClaim.java new file mode 100644 index 00000000..023104f7 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/PersistentVolumeClaim.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claimName","readOnly"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PersistentVolumeClaim implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claimName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String claimName; + + public String getClaimName() { + return claimName; + } + + public void setClaimName(String claimName) { + this.claimName = claimName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/PhotonPersistentDisk.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/PhotonPersistentDisk.java new file mode 100644 index 00000000..0a3f573c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/PhotonPersistentDisk.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","pdID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PhotonPersistentDisk implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("pdID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String pdID; + + public String getPdID() { + return pdID; + } + + public void setPdID(String pdID) { + this.pdID = pdID; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/PortworxVolume.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/PortworxVolume.java new file mode 100644 index 00000000..bc9216cf --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/PortworxVolume.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","readOnly","volumeID"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class PortworxVolume implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeID; + + public String getVolumeID() { + return volumeID; + } + + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Projected.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Projected.java new file mode 100644 index 00000000..f329a663 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Projected.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"defaultMode","sources"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Projected implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("defaultMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer defaultMode; + + public Integer getDefaultMode() { + return defaultMode; + } + + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("sources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List sources; + + public java.util.List getSources() { + return sources; + } + + public void setSources(java.util.List sources) { + this.sources = sources; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Quobyte.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Quobyte.java new file mode 100644 index 00000000..32816c39 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Quobyte.java @@ -0,0 +1,81 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"group","readOnly","registry","tenant","user","volume"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Quobyte implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("group") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String group; + + public String getGroup() { + return group; + } + + public void setGroup(String group) { + this.group = group; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("registry") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String registry; + + public String getRegistry() { + return registry; + } + + public void setRegistry(String registry) { + this.registry = registry; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tenant") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String tenant; + + public String getTenant() { + return tenant; + } + + public void setTenant(String tenant) { + this.tenant = tenant; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volume") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volume; + + public String getVolume() { + return volume; + } + + public void setVolume(String volume) { + this.volume = volume; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Rbd.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Rbd.java new file mode 100644 index 00000000..3aa37b85 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Rbd.java @@ -0,0 +1,105 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","image","keyring","monitors","pool","readOnly","secretRef","user"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Rbd implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("image") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String image; + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + @com.fasterxml.jackson.annotation.JsonProperty("keyring") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String keyring; + + public String getKeyring() { + return keyring; + } + + public void setKeyring(String keyring) { + this.keyring = keyring; + } + + @com.fasterxml.jackson.annotation.JsonProperty("monitors") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List monitors; + + public java.util.List getMonitors() { + return monitors; + } + + public void setMonitors(java.util.List monitors) { + this.monitors = monitors; + } + + @com.fasterxml.jackson.annotation.JsonProperty("pool") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String pool; + + public String getPool() { + return pool; + } + + public void setPool(String pool) { + this.pool = pool; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.rbd.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.rbd.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.rbd.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("user") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String user; + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ScaleIO.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ScaleIO.java new file mode 100644 index 00000000..f9279c9e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ScaleIO.java @@ -0,0 +1,129 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","gateway","protectionDomain","readOnly","secretRef","sslEnabled","storageMode","storagePool","system","volumeName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ScaleIO implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("gateway") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String gateway; + + public String getGateway() { + return gateway; + } + + public void setGateway(String gateway) { + this.gateway = gateway; + } + + @com.fasterxml.jackson.annotation.JsonProperty("protectionDomain") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String protectionDomain; + + public String getProtectionDomain() { + return protectionDomain; + } + + public void setProtectionDomain(String protectionDomain) { + this.protectionDomain = protectionDomain; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.scaleio.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.scaleio.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.scaleio.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("sslEnabled") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean sslEnabled; + + public Boolean getSslEnabled() { + return sslEnabled; + } + + public void setSslEnabled(Boolean sslEnabled) { + this.sslEnabled = sslEnabled; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storageMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storageMode; + + public String getStorageMode() { + return storageMode; + } + + public void setStorageMode(String storageMode) { + this.storageMode = storageMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storagePool") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storagePool; + + public String getStoragePool() { + return storagePool; + } + + public void setStoragePool(String storagePool) { + this.storagePool = storagePool; + } + + @com.fasterxml.jackson.annotation.JsonProperty("system") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String system; + + public String getSystem() { + return system; + } + + public void setSystem(String system) { + this.system = system; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeName; + + public String getVolumeName() { + return volumeName; + } + + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Secret.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Secret.java new file mode 100644 index 00000000..fdcda014 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Secret.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"defaultMode","items","optional","secretName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Secret implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("defaultMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer defaultMode; + + public Integer getDefaultMode() { + return defaultMode; + } + + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String secretName; + + public String getSecretName() { + return secretName; + } + + public void setSecretName(String secretName) { + this.secretName = secretName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Storageos.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Storageos.java new file mode 100644 index 00000000..165e5428 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/Storageos.java @@ -0,0 +1,69 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","readOnly","secretRef","volumeName","volumeNamespace"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Storageos implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean readOnly; + + public Boolean getReadOnly() { + return readOnly; + } + + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secretRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.storageos.SecretRef secretRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.storageos.SecretRef getSecretRef() { + return secretRef; + } + + public void setSecretRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.storageos.SecretRef secretRef) { + this.secretRef = secretRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeName; + + public String getVolumeName() { + return volumeName; + } + + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeNamespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeNamespace; + + public String getVolumeNamespace() { + return volumeNamespace; + } + + public void setVolumeNamespace(String volumeNamespace) { + this.volumeNamespace = volumeNamespace; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/VsphereVolume.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/VsphereVolume.java new file mode 100644 index 00000000..99dd0c24 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/VsphereVolume.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fsType","storagePolicyID","storagePolicyName","volumePath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VsphereVolume implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fsType; + + public String getFsType() { + return fsType; + } + + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storagePolicyID") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storagePolicyID; + + public String getStoragePolicyID() { + return storagePolicyID; + } + + public void setStoragePolicyID(String storagePolicyID) { + this.storagePolicyID = storagePolicyID; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storagePolicyName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storagePolicyName; + + public String getStoragePolicyName() { + return storagePolicyName; + } + + public void setStoragePolicyName(String storagePolicyName) { + this.storagePolicyName = storagePolicyName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumePath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumePath; + + public String getVolumePath() { + return volumePath; + } + + public void setVolumePath(String volumePath) { + this.volumePath = volumePath; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/cephfs/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/cephfs/SecretRef.java new file mode 100644 index 00000000..0b77f937 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/cephfs/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.cephfs; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/cinder/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/cinder/SecretRef.java new file mode 100644 index 00000000..8be0d1d7 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/cinder/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.cinder; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/configmap/Items.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/configmap/Items.java new file mode 100644 index 00000000..134b1924 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/configmap/Items.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.configmap; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","mode","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/csi/NodePublishSecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/csi/NodePublishSecretRef.java new file mode 100644 index 00000000..a3338ac5 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/csi/NodePublishSecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.csi; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class NodePublishSecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/Items.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/Items.java new file mode 100644 index 00000000..34bab115 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/Items.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fieldRef","mode","path","resourceFieldRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi.items.FieldRef fieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi.items.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi.items.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi.items.ResourceFieldRef resourceFieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi.items.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi.items.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/items/FieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/items/FieldRef.java new file mode 100644 index 00000000..036940c5 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/items/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi.items; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/items/ResourceFieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/items/ResourceFieldRef.java new file mode 100644 index 00000000..51ecb5a7 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/downwardapi/items/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.downwardapi.items; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/VolumeClaimTemplate.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/VolumeClaimTemplate.java new file mode 100644 index 00000000..175c6b14 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/VolumeClaimTemplate.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"metadata","spec"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class VolumeClaimTemplate implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Metadata metadata; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Metadata getMetadata() { + return metadata; + } + + public void setMetadata(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Metadata metadata) { + this.metadata = metadata; + } + + @com.fasterxml.jackson.annotation.JsonProperty("spec") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Spec spec; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Spec getSpec() { + return spec; + } + + public void setSpec(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.Spec spec) { + this.spec = spec; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Metadata.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Metadata.java new file mode 100644 index 00000000..196ec278 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Metadata.java @@ -0,0 +1,189 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"annotations","creationTimestamp","deletionGracePeriodSeconds","deletionTimestamp","finalizers","generateName","generation","labels","managedFields","name","namespace","ownerReferences","resourceVersion","selfLink","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Metadata implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("annotations") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map annotations; + + public java.util.Map getAnnotations() { + return annotations; + } + + public void setAnnotations(java.util.Map annotations) { + this.annotations = annotations; + } + + @com.fasterxml.jackson.annotation.JsonProperty("creationTimestamp") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String creationTimestamp; + + public String getCreationTimestamp() { + return creationTimestamp; + } + + public void setCreationTimestamp(String creationTimestamp) { + this.creationTimestamp = creationTimestamp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("deletionGracePeriodSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long deletionGracePeriodSeconds; + + public Long getDeletionGracePeriodSeconds() { + return deletionGracePeriodSeconds; + } + + public void setDeletionGracePeriodSeconds(Long deletionGracePeriodSeconds) { + this.deletionGracePeriodSeconds = deletionGracePeriodSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("deletionTimestamp") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String deletionTimestamp; + + public String getDeletionTimestamp() { + return deletionTimestamp; + } + + public void setDeletionTimestamp(String deletionTimestamp) { + this.deletionTimestamp = deletionTimestamp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("finalizers") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List finalizers; + + public java.util.List getFinalizers() { + return finalizers; + } + + public void setFinalizers(java.util.List finalizers) { + this.finalizers = finalizers; + } + + @com.fasterxml.jackson.annotation.JsonProperty("generateName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String generateName; + + public String getGenerateName() { + return generateName; + } + + public void setGenerateName(String generateName) { + this.generateName = generateName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("generation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long generation; + + public Long getGeneration() { + return generation; + } + + public void setGeneration(Long generation) { + this.generation = generation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("labels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map labels; + + public java.util.Map getLabels() { + return labels; + } + + public void setLabels(java.util.Map labels) { + this.labels = labels; + } + + @com.fasterxml.jackson.annotation.JsonProperty("managedFields") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List managedFields; + + public java.util.List getManagedFields() { + return managedFields; + } + + public void setManagedFields(java.util.List managedFields) { + this.managedFields = managedFields; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @com.fasterxml.jackson.annotation.JsonProperty("ownerReferences") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List ownerReferences; + + public java.util.List getOwnerReferences() { + return ownerReferences; + } + + public void setOwnerReferences(java.util.List ownerReferences) { + this.ownerReferences = ownerReferences; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resourceVersion; + + public String getResourceVersion() { + return resourceVersion; + } + + public void setResourceVersion(String resourceVersion) { + this.resourceVersion = resourceVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("selfLink") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String selfLink; + + public String getSelfLink() { + return selfLink; + } + + public void setSelfLink(String selfLink) { + this.selfLink = selfLink; + } + + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Spec.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Spec.java new file mode 100644 index 00000000..157292a6 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/Spec.java @@ -0,0 +1,105 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"accessModes","dataSource","dataSourceRef","resources","selector","storageClassName","volumeMode","volumeName"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Spec implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("accessModes") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List accessModes; + + public java.util.List getAccessModes() { + return accessModes; + } + + public void setAccessModes(java.util.List accessModes) { + this.accessModes = accessModes; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dataSource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSource dataSource; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSource getDataSource() { + return dataSource; + } + + public void setDataSource(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSource dataSource) { + this.dataSource = dataSource; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dataSourceRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSourceRef dataSourceRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSourceRef getDataSourceRef() { + return dataSourceRef; + } + + public void setDataSourceRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.DataSourceRef dataSourceRef) { + this.dataSourceRef = dataSourceRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resources") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Resources resources; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Resources getResources() { + return resources; + } + + public void setResources(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Resources resources) { + this.resources = resources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("selector") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Selector selector; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Selector getSelector() { + return selector; + } + + public void setSelector(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.Selector selector) { + this.selector = selector; + } + + @com.fasterxml.jackson.annotation.JsonProperty("storageClassName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String storageClassName; + + public String getStorageClassName() { + return storageClassName; + } + + public void setStorageClassName(String storageClassName) { + this.storageClassName = storageClassName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeMode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeMode; + + public String getVolumeMode() { + return volumeMode; + } + + public void setVolumeMode(String volumeMode) { + this.volumeMode = volumeMode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("volumeName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String volumeName; + + public String getVolumeName() { + return volumeName; + } + + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/ManagedFields.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/ManagedFields.java new file mode 100644 index 00000000..4bc8192d --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/ManagedFields.java @@ -0,0 +1,93 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldsType","fieldsV1","manager","operation","subresource","time"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ManagedFields implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldsType") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldsType; + + public String getFieldsType() { + return fieldsType; + } + + public void setFieldsType(String fieldsType) { + this.fieldsType = fieldsType; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldsV1") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata.managedfields.FieldsV1 fieldsV1; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata.managedfields.FieldsV1 getFieldsV1() { + return fieldsV1; + } + + public void setFieldsV1(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata.managedfields.FieldsV1 fieldsV1) { + this.fieldsV1 = fieldsV1; + } + + @com.fasterxml.jackson.annotation.JsonProperty("manager") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String manager; + + public String getManager() { + return manager; + } + + public void setManager(String manager) { + this.manager = manager; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operation") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operation; + + public String getOperation() { + return operation; + } + + public void setOperation(String operation) { + this.operation = operation; + } + + @com.fasterxml.jackson.annotation.JsonProperty("subresource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String subresource; + + public String getSubresource() { + return subresource; + } + + public void setSubresource(String subresource) { + this.subresource = subresource; + } + + @com.fasterxml.jackson.annotation.JsonProperty("time") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String time; + + public String getTime() { + return time; + } + + public void setTime(String time) { + this.time = time; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/OwnerReferences.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/OwnerReferences.java new file mode 100644 index 00000000..efb98437 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/OwnerReferences.java @@ -0,0 +1,81 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","blockOwnerDeletion","controller","kind","name","uid"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class OwnerReferences implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("blockOwnerDeletion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean blockOwnerDeletion; + + public Boolean getBlockOwnerDeletion() { + return blockOwnerDeletion; + } + + public void setBlockOwnerDeletion(Boolean blockOwnerDeletion) { + this.blockOwnerDeletion = blockOwnerDeletion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("controller") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean controller; + + public Boolean getController() { + return controller; + } + + public void setController(Boolean controller) { + this.controller = controller; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("uid") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String uid; + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/managedfields/FieldsV1.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/managedfields/FieldsV1.java new file mode 100644 index 00000000..26a56786 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/metadata/managedfields/FieldsV1.java @@ -0,0 +1,9 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.metadata.managedfields; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldsV1 implements io.fabric8.kubernetes.api.model.KubernetesResource { +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSource.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSource.java new file mode 100644 index 00000000..7311e148 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSource.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiGroup","kind","name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DataSource implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiGroup; + + public String getApiGroup() { + return apiGroup; + } + + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSourceRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSourceRef.java new file mode 100644 index 00000000..0af9520f --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/DataSourceRef.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiGroup","kind","name","namespace"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DataSourceRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiGroup") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiGroup; + + public String getApiGroup() { + return apiGroup; + } + + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty("kind") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String kind; + + public String getKind() { + return kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Resources.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Resources.java new file mode 100644 index 00000000..472acf97 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Resources.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"claims","limits","requests"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Resources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("claims") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List claims; + + public java.util.List getClaims() { + return claims; + } + + public void setClaims(java.util.List claims) { + this.claims = claims; + } + + @com.fasterxml.jackson.annotation.JsonProperty("limits") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map limits; + + public java.util.Map getLimits() { + return limits; + } + + public void setLimits(java.util.Map limits) { + this.limits = limits; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requests") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map requests; + + public java.util.Map getRequests() { + return requests; + } + + public void setRequests(java.util.Map requests) { + this.requests = requests; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Selector.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Selector.java new file mode 100644 index 00000000..9fc7a338 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/Selector.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"matchExpressions","matchLabels"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Selector implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("matchExpressions") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List matchExpressions; + + public java.util.List getMatchExpressions() { + return matchExpressions; + } + + public void setMatchExpressions(java.util.List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("matchLabels") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.Map matchLabels; + + public java.util.Map getMatchLabels() { + return matchLabels; + } + + public void setMatchLabels(java.util.Map matchLabels) { + this.matchLabels = matchLabels; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/resources/Claims.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/resources/Claims.java new file mode 100644 index 00000000..39cb60f3 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/resources/Claims.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.resources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Claims implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/selector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/selector/MatchExpressions.java new file mode 100644 index 00000000..3ba56900 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/ephemeral/volumeclaimtemplate/spec/selector/MatchExpressions.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.ephemeral.volumeclaimtemplate.spec.selector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/flexvolume/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/flexvolume/SecretRef.java new file mode 100644 index 00000000..d8384c71 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/flexvolume/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.flexvolume; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/iscsi/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/iscsi/SecretRef.java new file mode 100644 index 00000000..41abfdd7 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/iscsi/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.iscsi; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/Sources.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/Sources.java new file mode 100644 index 00000000..146693b9 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/Sources.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"configMap","downwardAPI","secret","serviceAccountToken"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Sources implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("configMap") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.ConfigMap configMap; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.ConfigMap getConfigMap() { + return configMap; + } + + public void setConfigMap(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.ConfigMap configMap) { + this.configMap = configMap; + } + + @com.fasterxml.jackson.annotation.JsonProperty("downwardAPI") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.DownwardAPI downwardAPI; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.DownwardAPI getDownwardAPI() { + return downwardAPI; + } + + public void setDownwardAPI(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.DownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @com.fasterxml.jackson.annotation.JsonProperty("secret") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.Secret secret; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.Secret getSecret() { + return secret; + } + + public void setSecret(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.Secret secret) { + this.secret = secret; + } + + @com.fasterxml.jackson.annotation.JsonProperty("serviceAccountToken") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.ServiceAccountToken serviceAccountToken; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.ServiceAccountToken getServiceAccountToken() { + return serviceAccountToken; + } + + public void setServiceAccountToken(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.ServiceAccountToken serviceAccountToken) { + this.serviceAccountToken = serviceAccountToken; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/ConfigMap.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/ConfigMap.java new file mode 100644 index 00000000..d27ad5aa --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/ConfigMap.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"items","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ConfigMap implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/DownwardAPI.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/DownwardAPI.java new file mode 100644 index 00000000..2634fc96 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/DownwardAPI.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"items"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class DownwardAPI implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/Secret.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/Secret.java new file mode 100644 index 00000000..5137926c --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/Secret.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"items","name","optional"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Secret implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("items") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List items; + + public java.util.List getItems() { + return items; + } + + public void setItems(java.util.List items) { + this.items = items; + } + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("optional") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Boolean optional; + + public Boolean getOptional() { + return optional; + } + + public void setOptional(Boolean optional) { + this.optional = optional; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/ServiceAccountToken.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/ServiceAccountToken.java new file mode 100644 index 00000000..48d81fb1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/ServiceAccountToken.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"audience","expirationSeconds","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ServiceAccountToken implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("audience") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String audience; + + public String getAudience() { + return audience; + } + + public void setAudience(String audience) { + this.audience = audience; + } + + @com.fasterxml.jackson.annotation.JsonProperty("expirationSeconds") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Long expirationSeconds; + + public Long getExpirationSeconds() { + return expirationSeconds; + } + + public void setExpirationSeconds(Long expirationSeconds) { + this.expirationSeconds = expirationSeconds; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/configmap/Items.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/configmap/Items.java new file mode 100644 index 00000000..e2f3e49a --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/configmap/Items.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.configmap; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","mode","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/Items.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/Items.java new file mode 100644 index 00000000..ae596abb --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/Items.java @@ -0,0 +1,57 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"fieldRef","mode","path","resourceFieldRef"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("fieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi.items.FieldRef fieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi.items.FieldRef getFieldRef() { + return fieldRef; + } + + public void setFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi.items.FieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceFieldRef") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi.items.ResourceFieldRef resourceFieldRef; + + public tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi.items.ResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + public void setResourceFieldRef(tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi.items.ResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/items/FieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/items/FieldRef.java new file mode 100644 index 00000000..19aa8e3e --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/items/FieldRef.java @@ -0,0 +1,33 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi.items; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"apiVersion","fieldPath"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class FieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("apiVersion") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String apiVersion; + + public String getApiVersion() { + return apiVersion; + } + + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("fieldPath") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String fieldPath; + + public String getFieldPath() { + return fieldPath; + } + + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/items/ResourceFieldRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/items/ResourceFieldRef.java new file mode 100644 index 00000000..cad469a1 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/downwardapi/items/ResourceFieldRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.downwardapi.items; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"containerName","divisor","resource"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ResourceFieldRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("containerName") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String containerName; + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("divisor") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String divisor; + + public String getDivisor() { + return divisor; + } + + public void setDivisor(String divisor) { + this.divisor = divisor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resource") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String resource; + + public String getResource() { + return resource; + } + + public void setResource(String resource) { + this.resource = resource; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/secret/Items.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/secret/Items.java new file mode 100644 index 00000000..7e834816 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/projected/sources/secret/Items.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.projected.sources.secret; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","mode","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/rbd/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/rbd/SecretRef.java new file mode 100644 index 00000000..03e180d5 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/rbd/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.rbd; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/scaleio/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/scaleio/SecretRef.java new file mode 100644 index 00000000..010269fa --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/scaleio/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.scaleio; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/secret/Items.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/secret/Items.java new file mode 100644 index 00000000..1e5dcd94 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/secret/Items.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.secret; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","mode","path"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Items implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("key") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + @com.fasterxml.jackson.annotation.JsonProperty("mode") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Integer mode; + + public Integer getMode() { + return mode; + } + + public void setMode(Integer mode) { + this.mode = mode; + } + + @com.fasterxml.jackson.annotation.JsonProperty("path") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String path; + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/storageos/SecretRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/storageos/SecretRef.java new file mode 100644 index 00000000..ead92e32 --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/podoverrides/spec/volumes/storageos/SecretRef.java @@ -0,0 +1,21 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.podoverrides.spec.volumes.storageos; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class SecretRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/selector/MatchExpressions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/selector/MatchExpressions.java new file mode 100644 index 00000000..573b0dee --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterspec/servers/rolegroups/selector/MatchExpressions.java @@ -0,0 +1,59 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterspec.servers.rolegroups.selector; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"key","operator","values"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class MatchExpressions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * key is the label key that the selector applies to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("key is the label key that the selector applies to.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String key; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + /** + * operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. + */ + @com.fasterxml.jackson.annotation.JsonProperty("operator") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private String operator; + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private java.util.List values; + + public java.util.List getValues() { + return values; + } + + public void setValues(java.util.List values) { + this.values = values; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterstatus/Conditions.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterstatus/Conditions.java new file mode 100644 index 00000000..1a3795bc --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperclusterstatus/Conditions.java @@ -0,0 +1,151 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperclusterstatus; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"lastTransitionTime","lastUpdateTime","message","reason","status","type"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class Conditions implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * Last time the condition transitioned from one status to another. + */ + @com.fasterxml.jackson.annotation.JsonProperty("lastTransitionTime") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Last time the condition transitioned from one status to another.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String lastTransitionTime; + + public String getLastTransitionTime() { + return lastTransitionTime; + } + + public void setLastTransitionTime(String lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + } + + /** + * The last time this condition was updated. + */ + @com.fasterxml.jackson.annotation.JsonProperty("lastUpdateTime") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The last time this condition was updated.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String lastUpdateTime; + + public String getLastUpdateTime() { + return lastUpdateTime; + } + + public void setLastUpdateTime(String lastUpdateTime) { + this.lastUpdateTime = lastUpdateTime; + } + + /** + * A human readable message indicating details about the transition. + */ + @com.fasterxml.jackson.annotation.JsonProperty("message") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("A human readable message indicating details about the transition.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String message; + + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + /** + * The reason for the condition's last transition. + */ + @com.fasterxml.jackson.annotation.JsonProperty("reason") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The reason for the condition's last transition.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String reason; + + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public enum Status { + + @com.fasterxml.jackson.annotation.JsonProperty("True") + TRUE("True"), @com.fasterxml.jackson.annotation.JsonProperty("False") + FALSE("False"), @com.fasterxml.jackson.annotation.JsonProperty("Unknown") + UNKNOWN("Unknown"); + + java.lang.String value; + + Status(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * Status of the condition, one of True, False, Unknown. + */ + @com.fasterxml.jackson.annotation.JsonProperty("status") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Status of the condition, one of True, False, Unknown.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Status status; + + public Status getStatus() { + return status; + } + + public void setStatus(Status status) { + this.status = status; + } + + public enum Type { + + @com.fasterxml.jackson.annotation.JsonProperty("Available") + AVAILABLE("Available"), @com.fasterxml.jackson.annotation.JsonProperty("Degraded") + DEGRADED("Degraded"), @com.fasterxml.jackson.annotation.JsonProperty("Progressing") + PROGRESSING("Progressing"), @com.fasterxml.jackson.annotation.JsonProperty("ReconciliationPaused") + RECONCILIATIONPAUSED("ReconciliationPaused"), @com.fasterxml.jackson.annotation.JsonProperty("Stopped") + STOPPED("Stopped"); + + java.lang.String value; + + Type(java.lang.String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue() + public java.lang.String getValue() { + return value; + } + } + + /** + * Type of deployment condition. + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + @io.fabric8.generator.annotation.Required() + @com.fasterxml.jackson.annotation.JsonPropertyDescription("Type of deployment condition.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP) + private Type type; + + public Type getType() { + return type; + } + + public void setType(Type type) { + this.type = type; + } +} + diff --git a/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperznodespec/ClusterRef.java b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperznodespec/ClusterRef.java new file mode 100644 index 00000000..9ffce1ca --- /dev/null +++ b/src/main/java/tech/stackable/zookeeper/v1alpha1/zookeeperznodespec/ClusterRef.java @@ -0,0 +1,45 @@ +package tech.stackable.zookeeper.v1alpha1.zookeeperznodespec; + +@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL) +@com.fasterxml.jackson.annotation.JsonPropertyOrder({"name","namespace"}) +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner") +public class ClusterRef implements io.fabric8.kubernetes.api.model.KubernetesResource { + + /** + * The name of the cluster + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The name of the cluster") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + /** + * The namespace of the cluster + * + * This field is optional, and will default to the namespace of the referring object. + */ + @com.fasterxml.jackson.annotation.JsonProperty("namespace") + @com.fasterxml.jackson.annotation.JsonPropertyDescription("The namespace of the cluster\n\nThis field is optional, and will default to the namespace of the referring object.") + @com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SET) + @io.fabric8.generator.annotation.Nullable() + private String namespace; + + public String getNamespace() { + return namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } +} +