Skip to content
This repository was archived by the owner on Apr 10, 2024. It is now read-only.

Commit aaa27bb

Browse files
committed
docs: api server flags link
1 parent 16ff736 commit aaa27bb

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

core/src/main/java/io/javaoperatorsdk/jenvtest/KubeAPIServerConfig.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ public class KubeAPIServerConfig {
2525
* Flags to pass to Kube API Server on startup. Key and value are two separated items, like
2626
* specifying min-request-timeout needs to add in order two values: "--min-request-timeout" and
2727
* "300" for the actual desired value.
28+
*
29+
* See Kubernetes docs for possible flags:
30+
* https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/
2831
*/
2932
private final List<String> apiServerFlags;
3033

core/src/main/java/io/javaoperatorsdk/jenvtest/junit/EnableKubeAPIServer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
import org.junit.jupiter.api.extension.ExtendWith;
77

8+
import io.javaoperatorsdk.jenvtest.KubeAPIServerConfig;
9+
810
import static java.lang.annotation.ElementType.*;
911
import static java.lang.annotation.RetentionPolicy.RUNTIME;
1012

@@ -21,9 +23,7 @@
2123
String kubeAPIVersion() default NOT_SET;
2224

2325
/**
24-
* Flags to pass to Kube API Server on startup. Key and value are two separated items, like
25-
* specifying min-request-timeout needs to add in order two values: "--min-request-timeout" for
26-
* the key and "300" for the actual desired value.
26+
* See {@link KubeAPIServerConfig} docs for details.
2727
*/
2828
String[] apiServerFlags() default {};
2929
}

0 commit comments

Comments
 (0)