Skip to content

Commit 7c5f582

Browse files
committed
Fix cross references
1 parent 69f0bbb commit 7c5f582

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

docs/modules/ROOT/pages/discovery-client.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ HTTP Based `DiscoveryClient`
2323
====
2424

2525
NOTE: `spring-cloud-starter-kubernetes-discoveryclient` is designed to be used with the
26-
<<spring-cloud-kubernetes-discoveryserver, Spring Cloud Kubernetes DiscoveryServer>>.
26+
xref:spring-cloud-kubernetes-discoveryserver.adoc#spring-cloud-kubernetes-discoveryserver[Spring Cloud Kubernetes DiscoveryServer].
2727

2828
====
2929
Fabric8 Kubernetes Client
@@ -156,7 +156,7 @@ spring:
156156
- namespace-b
157157
```
158158

159-
- we will use: xref:property-source-config.adoc#namespace-resolution[Namespace Resolution] if the above two paths are not taken.
159+
- we will use: xref:property-source-config/namespace-resolution.adoc[Namespace Resolution] if the above two paths are not taken.
160160

161161
In order to enable this functionality you need to add
162162
`@EnableScheduling` on a configuration class in your application.

docs/modules/ROOT/pages/getting-started.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ resolves service names to Kubernetes Services.
5050
</dependency>
5151
----
5252
| Load application properties from Kubernetes
53-
<<configmap-propertysource,ConfigMaps>> and <<Secrets PropertySource,Secrets>>.
54-
<<propertysource-reload,Reload>> application properties when a ConfigMap or
53+
xref:property-source-config/configmap-propertysource.adoc[ConfigMaps] and <<Secrets PropertySource,Secrets>>.
54+
xref:property-source-config/propertysource-reload.adoc[Reload] application properties when a ConfigMap or
5555
Secret changes.
5656

5757
| [source,xml]

docs/modules/ROOT/pages/property-source-config/configmap-propertysource.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ spring:
4242

4343
In the preceding example, if `spring.cloud.kubernetes.config.namespace` had not been set,
4444
the `ConfigMap` named `c1` would be looked up in the namespace that the application runs.
45-
See <<namespace-resolution,Namespace resolution>> to get a better understanding of how the namespace
45+
See xref:property-source-config/namespace-resolution.adoc[Namespace resolution] to get a better understanding of how the namespace
4646
of the application is resolved.
4747

4848

docs/modules/ROOT/pages/property-source-config/namespace-label-filtering.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[[namespace-label-filtering]]
22
= Reload namespace and label filtering
33

4-
By default, a namespace chosen using the steps outlined in <<namespace-resolution,Namespace resolution>> will be used to listen to changes
4+
By default, a namespace chosen using the steps outlined in xref:property-source-config/namespace-resolution.adoc[Namespace resolution] will be used to listen to changes
55
in configmaps and secrets. i.e.: if you do not tell reload what namespaces and configmaps/secrets to watch for,
66
it will watch all configmaps/secrets from the namespace that will be computed using the above algorithm.
77

docs/modules/ROOT/pages/property-source-config/propertysource-reload.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
= `PropertySource` Reload
33

44
WARNING: This functionality has been deprecated in the 2020.0 release. Please see
5-
the <<spring-cloud-kubernetes-configuration-watcher>> controller for an alternative way
5+
the xref:spring-cloud-kubernetes-configuration-watcher.adoc#spring-cloud-kubernetes-configuration-watcher[null] controller for an alternative way
66
to achieve the same functionality.
77

88
Some applications may need to detect changes on external property sources and update their internal status to reflect the new configuration.
@@ -92,7 +92,7 @@ data:
9292
Any change to the property named `bean.message` in the `ConfigMap` associated with the pod is reflected in the
9393
output. More generally speaking, changes associated to properties prefixed with the value defined by the `prefix`
9494
field of the `@ConfigurationProperties` annotation are detected and reflected in the application.
95-
<<configmap-propertysource,Associating a `ConfigMap` with a pod>> is explained earlier in this chapter.
95+
xref:property-source-config/configmap-propertysource.adoc[Associating a `ConfigMap` with a pod] is explained earlier in this chapter.
9696

9797
The reload feature supports two operating modes:
9898

docs/modules/ROOT/pages/property-source-config/secrets-propertysource.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,13 @@ spring:
148148

149149
In the preceding example, if `spring.cloud.kubernetes.secrets.namespace` had not been set,
150150
the `Secret` named `s1` would be looked up in the namespace that the application runs.
151-
See <<namespace-resolution,namespace-resolution>> to get a better understanding of how the namespace
151+
See xref:property-source-config/namespace-resolution.adoc[namespace-resolution] to get a better understanding of how the namespace
152152
of the application is resolved.
153153

154-
<<config-map-fail-fast,Similar to the `ConfigMaps`>>; if you want your application to fail to start
154+
xref:property-source-config/configmap-propertysource.adoc#config-map-fail-fast[Similar to the `ConfigMaps`]; if you want your application to fail to start
155155
when it is unable to load `Secrets` property sources, you can set `spring.cloud.kubernetes.secrets.fail-fast=true`.
156156

157-
It is also possible to enable retry for `Secret` property sources <<config-map-retry,like the `ConfigMaps`>>.
157+
It is also possible to enable retry for `Secret` property sources xref:property-source-config/configmap-propertysource.adoc#config-map-retry[like the `ConfigMaps`].
158158
As with the `ConfigMap` property sources, first you need to set `spring.cloud.kubernetes.secrets.fail-fast=true`.
159159
Then you need to add `spring-retry` and `spring-boot-starter-aop` to your classpath.
160160
Retry behavior of the `Secret` property sources can be configured by setting the `spring.cloud.kubernetes.secrets.retry.*`

0 commit comments

Comments
 (0)