Skip to content

Commit f921d13

Browse files
committed
Sync documentation of main branch
1 parent fdb24c4 commit f921d13

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

_generated-doc/main/infra/quarkus-all-build-items.adoc

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4731,6 +4731,29 @@ _No Javadoc found_
47314731

47324732

47334733

4734+
a| https://github.com/quarkusio/quarkus/blob/main/extensions/kubernetes/spi/src/main/java/io/quarkus/kubernetes/spi/KubernetesClusterRoleBindingBuildItem.java[`io.quarkus.kubernetes.spi.KubernetesClusterRoleBindingBuildItem`, window="_blank"]
4735+
[.description]
4736+
--
4737+
Produce this build item to request the Kubernetes extension to generate a Kubernetes `ClusterRoleBinding` resource. The configuration here is limited; in particular, you can't specify subjects of the role binding. The role will always be bound to the application's service account.
4738+
-- a|`java.lang.String name`
4739+
4740+
Name of the generated `RoleBinding` resource. Can be `null` , in which case the resource name is autogenerated.
4741+
4742+
`io.quarkus.kubernetes.spi.RoleRef roleRef`
4743+
4744+
RoleRef configuration.
4745+
4746+
`io.quarkus.kubernetes.spi.Subject[] subjects`
4747+
4748+
The target subjects.
4749+
4750+
`java.util.Map<String,String> labels`
4751+
4752+
The labels of the cluster role resource.
4753+
4754+
4755+
4756+
47344757
a| https://github.com/quarkusio/quarkus/blob/main/extensions/kubernetes/spi/src/main/java/io/quarkus/kubernetes/spi/KubernetesClusterRoleBuildItem.java[`io.quarkus.kubernetes.spi.KubernetesClusterRoleBuildItem`, window="_blank"]
47354758
[.description]
47364759
--
@@ -5099,7 +5122,7 @@ a| https://github.com/quarkusio/quarkus/blob/main/extensions/kubernetes/spi/src/
50995122
[.description]
51005123
--
51015124
Produce this build item to request the Kubernetes extension to generate a Kubernetes `RoleBinding` resource.
5102-
Note that this can't be used to generate a `ClusterRoleBinding` .
5125+
Use `KubernetesClusterRoleBindingBuildItem` to generate a `ClusterRoleBinding` .
51035126
-- a|`java.lang.String name`
51045127
51055128
Name of the generated `RoleBinding` resource. Can be `null` , in which case the resource name is autogenerated.

_versions/main/guides/extension-writing-dev-service.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ include::_attributes.adoc[]
2323
If your extension provides APIs for connecting to an external service, it's a good idea to provide a xref:dev-services.adoc[Dev Service] implementation.
2424

2525
To create a Dev Service, add a new build step into the extension processor class that returns a `DevServicesResultBuildItem`.
26-
Here, the link:https://hub.docker.com/_/hello-world`hello-world` image is used, but you should set up the right image for your service.
26+
Here, the https://hub.docker.com/_/hello-world[`hello-world`] image is used, but you should set up the right image for your service.
2727

2828
[source%nowrap,java]
2929
----
30-
@BuildStep(onlyIfNot = IsNormal.class, onlyIf = GlobalDevServicesConfig.Enabled.class) {
30+
@BuildStep(onlyIfNot = IsNormal.class, onlyIf = GlobalDevServicesConfig.Enabled.class)
3131
public DevServicesResultBuildItem createContainer() {
3232
DockerImageName dockerImageName = DockerImageName.parse("hello-world");
3333
GenericContainer container = new GenericContainer<>(dockerImageName)
@@ -89,7 +89,7 @@ For example,
8989

9090
[source%nowrap,java]
9191
----
92-
@BuildStep(onlyIfNot = IsNormal.class, onlyIf = GlobalDevServicesConfig.Enabled.class) {
92+
@BuildStep(onlyIfNot = IsNormal.class, onlyIf = GlobalDevServicesConfig.Enabled.class)
9393
public DevServicesResultBuildItem createContainer(MyConfig config) {
9494
----
9595

0 commit comments

Comments
 (0)