Skip to content

Commit 1596863

Browse files
authored
Merge pull request spring-cloud#127 from ojap/ReadMeTypoFixes
Fixed typos in README.md
2 parents 4a6bfd3 + cfc01f7 commit 1596863

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- [Secrets PropertySource](#secrets-propertysource)
1414
- [PropertySource Reload](#propertysource-reload)
1515
- [Pod Health Indicator](#pod-health-indicator)
16-
- [Transparency](#transparency) *(its transparent wether the code runs in or outside of Kubernetes)*
16+
- [Transparency](#transparency) *(its transparent whether the code runs in or outside of Kubernetes)*
1717
- [Kubernetes Profile Autoconfiguration](#kubernetes-profile-autoconfiguration)
1818
- [Ribbon discovery in Kubernetes](#ribbon-discovery-in-kubernetes)
1919
- [Zipkin discovery in Kubernetes](#zipkin-discovery-in-kubernetes)
@@ -163,7 +163,7 @@ spec:
163163
- name: JAVA_APP_DIR
164164
value: /deployments
165165
- name: JAVA_OPTIONS
166-
value: -Dspring.profile.active=developer
166+
value: -Dspring.profiles.active=developer
167167
```
168168

169169
**Notes:**
@@ -184,8 +184,7 @@ spec:
184184

185185
Kubernetes has the notion of [Secrets](https://kubernetes.io/docs/concepts/configuration/secret/) for storing
186186
sensitive data such as password, OAuth tokens, etc. This project provides integration with `Secrets` to make secrets
187-
accessible by Spring Boot applications. This feature can be explicitly enabled/disabled using the `spring.cloud
188-
.kubernetes.secrets.enabled` property.
187+
accessible by Spring Boot applications. This feature can be explicitly enabled/disabled using the `spring.cloud.kubernetes.secrets.enabled` property.
189188

190189
The `SecretsPropertySource` when enabled will lookup Kubernetes for `Secrets` from the following sources:
191190
1. reading recursively from secrets mounts
@@ -195,7 +194,7 @@ The `SecretsPropertySource` when enabled will lookup Kubernetes for `Secrets` fr
195194
Please note that by default, consuming Secrets via API (points 2 and 3 above) **is not enabled** for security reasons
196195
and it is recommend that containers share secrets via mounted volumes.
197196

198-
If the secrets are found theirs data is made available to the application.
197+
If the secrets are found their data is made available to the application.
199198

200199
**Example:**
201200

@@ -397,7 +396,7 @@ That makes it really useful for exposing health related information to the user
397396

398397
The Kubernetes health indicator which is part of the core module exposes the following info:
399398

400-
- pod name, ip address, namespace, service account, node name amd its ip address
399+
- pod name, ip address, namespace, service account, node name and its ip address
401400
- flag that indicates if the Spring Boot application is internal or external to Kubernetes
402401

403402
### Transparency
@@ -517,10 +516,10 @@ Examples of application that are using Zipkin discovery in Kubernetes:
517516

518517
The section [ConfigMap PropertySource](#configmap-propertysource) introduced how to configure a spring boot application via `Kubernetes ConfigMap` containing your configuration properties file.
519518

520-
If you prefer to use the configuration management library [NetFlix Archaius](https://github.com/Netflix/archaius/wiki) instead of using the Spring application.properties|"yaml file,
519+
If you prefer to use the configuration management library [Netflix Archaius](https://github.com/Netflix/archaius/wiki) instead of using the Spring application.properties|"yaml file,
521520
then you can also leverage the `ConfigMap feature` by using the [spring-cloud-kubernetes-archaius](spring-cloud-kubernetes-archaius/pom.xml) project.
522521

523-
To use it, add the following starter `spring-cloud-starter-kubernetes-all` to yiur pom file definition.
522+
To use it, add the following starter `spring-cloud-starter-kubernetes-all` to your pom file definition.
524523

525524
This module allows you to annotate your application with the `@ArchaiusConfigMapSource` and archaius will automatically use the `Kubernetes configmap` as a watched source *(get notification on changes)*.
526525

0 commit comments

Comments
 (0)