Skip to content

Commit

Permalink
deps: Bump Kubernetes Client to 6.8.0
Browse files Browse the repository at this point in the history
deps: Bump sundrio to 0.100.1
  • Loading branch information
manusa committed Aug 4, 2023
1 parent 5e449fc commit db9c06a
Show file tree
Hide file tree
Showing 40 changed files with 339 additions and 211 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,16 @@
import java.lang.annotation.Target;

import io.dekorate.kubernetes.config.Configuration;
import io.dekorate.project.BuildInfo;
import io.dekorate.project.Project;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import io.sundr.builder.annotations.Pojo;

@Buildable(builderPackage = "io.fabric8.kubernetes.api.builder")
@Buildable(builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
@BuildableReference(Project.class),
@BuildableReference(BuildInfo.class)
})
@Pojo(name = "CertificateConfig", autobox = true, mutable = true, superClass = Configuration.class, relativePath = "../config", withStaticBuilderMethod = true, withStaticAdapterMethod = false)
@Target({ ElementType.CONSTRUCTOR, ElementType.TYPE })
@Retention(RetentionPolicy.SOURCE)
Expand All @@ -39,7 +45,7 @@
/**
* SecretName is the name of the secret resource that will be automatically created and managed by this Certificate resource.
* It will be populated with a private key and certificate, signed by the denoted issuer.
*
*
* @return the name of the secret resource that will be automatically created and managed by this Certificate resource.
*/
String secretName();
Expand All @@ -66,15 +72,15 @@

/**
* Full X509 name specification (https://golang.org/pkg/crypto/x509/pkix/#Name).
*
*
* @return the full X509 name specification
*/
Subject subject() default @Subject;

/**
* CommonName is a common name to be used on the Certificate. The CommonName should have a length of 64 characters or fewer
* to avoid generating invalid CSRs.
*
*
* @return the common name.
*/
String commonName() default "";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/**
* Copyright 2018 The original authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*
**/

package io.dekorate.docker.annotation;
Expand All @@ -23,11 +23,17 @@
import java.lang.annotation.Target;

import io.dekorate.kubernetes.config.ImageConfiguration;
import io.dekorate.project.BuildInfo;
import io.dekorate.project.Project;
import io.sundr.builder.annotations.Adapter;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import io.sundr.builder.annotations.Pojo;

@Buildable(builderPackage = "io.fabric8.kubernetes.api.builder")
@Buildable(builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
@BuildableReference(Project.class),
@BuildableReference(BuildInfo.class)
})
@Pojo(name = "DockerBuildConfig", autobox = true, mutable = true, superClass = ImageConfiguration.class, relativePath = "../config", withStaticAdapterMethod = false, adapter = @Adapter(name = "DockerBuildConfigAdapter", relativePath = "../adapter", withMapAdapterMethod = true))
@Target({ ElementType.CONSTRUCTOR, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
Expand All @@ -37,65 +43,65 @@

/**
* The registry that holds the image.
*
*
* @return The registry or empty string if no registry has been specified.
*/
String registry() default "";

/**
* The group of the application. This value will be use as image user.
*
*
* @return The specified group name.
*/
String group() default "";

/**
* The name of the application. This value will be used as name.
*
*
* @return The specified application name.
*/
String name() default "";

/**
* The version of the application. This value be used as image tag.
*
*
* @return The version.
*/
String version() default "";

/**
* The name of the image to be generated.
* This property overrides group, name and version.
*
*
* @return the image name.
*/
String image() default "";

/**
* The relative path of the Dockerfile, from the module root.
*
*
* @return The relative path.
*/
String dockerFile() default "Dockerfile";

/**
* Flag to automatically push the image, to the specified registry.
*
*
* @return True if hook is to be registered, false otherwise.
*/
boolean autoPushEnabled() default false;

/**
* Flag to automatically register a build hook after compilation.
*
*
* @return True if hook is to be registered, false otherwise.
*/
boolean autoBuildEnabled() default false;

/**
* Flag to trigger the registration of the deploy hook. It's generally
* preferable to use `-Ddekorate.deploy=true` instead of hardcoding this here.
*
*
* @return True for automatic registration of the build hook.
*/
boolean autoDeployEnabled() default false;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/**
* Copyright 2018 The original authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*
**/

package io.dekorate.helm.annotation;
Expand All @@ -23,11 +23,17 @@
import java.lang.annotation.Target;

import io.dekorate.kubernetes.config.Configuration;
import io.dekorate.project.BuildInfo;
import io.dekorate.project.Project;
import io.sundr.builder.annotations.Adapter;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import io.sundr.builder.annotations.Pojo;

@Buildable(builderPackage = "io.fabric8.kubernetes.api.builder")
@Buildable(builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
@BuildableReference(Project.class),
@BuildableReference(BuildInfo.class)
})
@Pojo(name = "HelmChartConfig", autobox = true, mutable = true, superClass = Configuration.class, relativePath = "../config", withStaticBuilderMethod = true, withStaticAdapterMethod = false, adapter = @Adapter(name = "HelmChartConfigAdapter", relativePath = "../adapter", withMapAdapterMethod = true))
@Target({ ElementType.CONSTRUCTOR, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,32 @@

import io.dekorate.kubernetes.annotation.Port;
import io.dekorate.kubernetes.config.Configuration;
import io.dekorate.project.BuildInfo;
import io.dekorate.project.Project;
import io.sundr.builder.annotations.Adapter;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import io.sundr.builder.annotations.Pojo;

@Buildable(builderPackage = "io.fabric8.kubernetes.api.builder")
@Buildable(builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
@BuildableReference(Project.class),
@BuildableReference(BuildInfo.class)
})
@Pojo(name = "JaegerAgentConfig", autobox = true, mutable = true, superClass = Configuration.class, relativePath = "../config", withStaticAdapterMethod = false, adapter = @Adapter(name = "JaegerAgentConfigAdapter", relativePath = "../adapter", withMapAdapterMethod = true))
@Target({ ElementType.CONSTRUCTOR, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
public @interface EnableJaegerAgent {

/**
* Flag to specify if Jaeger operator is available / enabled.
*
*
* @return True, if operator is available / enabled.
*/
boolean operatorEnabled() default false;

/**
* The jaeger agent version.
*
*
* @return The version, or default to 1.10
*/
String version() default "1.10";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,17 @@
import java.lang.annotation.Target;

import io.dekorate.kubernetes.config.ImageConfiguration;
import io.dekorate.project.BuildInfo;
import io.dekorate.project.Project;
import io.sundr.builder.annotations.Adapter;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import io.sundr.builder.annotations.Pojo;

@Buildable(builderPackage = "io.fabric8.kubernetes.api.builder")

@Buildable(builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
@BuildableReference(Project.class),
@BuildableReference(BuildInfo.class)
})
@Pojo(name = "JibBuildConfig", autobox = true, mutable = true, superClass = ImageConfiguration.class, relativePath = "../config", withStaticAdapterMethod = false, adapter = @Adapter(name = "JibBuildConfigAdapter", relativePath = "../adapter", withMapAdapterMethod = true))
@Target({ ElementType.CONSTRUCTOR, ElementType.TYPE })
@Retention(RetentionPolicy.SOURCE)
Expand All @@ -36,72 +41,72 @@

/**
* The registry that holds the image.
*
*
* @return The registry or empty string if no registry has been specified.
*/
String registry() default "";

/**
* The group of the application. This value will be use as image user.
*
*
* @return The specified group name.
*/
String group() default "";

/**
* The name of the application. This value will be used as name .
*
*
* @return The specified application name.
*/
String name() default "";

/**
* The version of the application. This value be used as image tag.
*
*
* @return The version.
*/
String version() default "";

/**
* The name of the image to be generated.
* This property overrides group, name and version.
*
*
* @return the image name.
*/
String image() default "";

/**
* Flag that indicates whether to perform a docker build (build using the docker daemon) or not.
*
*
* @return true, if docker build is desired, false otherwise.
*/
boolean dockerBuild() default true;

/**
* The base image to use.
*
*
* @return The base image.
*/
String from() default "openjdk:8-jdk";

/**
* Flag to automatically push the image, to the specified registry.
*
*
* @return True if hook is to be registered, false otherwise.
*/
boolean autoPushEnabled() default false;

/**
* Flag to automatically register a build hook after compilation.
*
*
* @return True if hook is to be registered, false otherwise.
*/
boolean autoBuildEnabled() default false;

/**
* Flag to trigger the registration of the deploy hook. It's generally
* preferable to use `-Ddekorate.deploy=true` instead of hardcoding this here.
*
*
* @return True for automatic registration of the build hook.
*/
boolean autoDeployEnabled() default false;
Expand Down
Loading

0 comments on commit db9c06a

Please sign in to comment.