Skip to content

Commit 100c15b

Browse files
Remove activation flag from vault profile an update doc
Signed-off-by: Arjav <[email protected]>
1 parent fd8bbef commit 100c15b

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

docs/modules/ROOT/pages/spring-cloud-kubernetes-configserver.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ list of namespace values.
2929
NOTE: If you set `spring.cloud.kubernetes.configserver.config-map-namespaces` and/or `spring.cloud.kubernetes.configserver.secrets-namespaces`
3030
you will need to include the namespace in which the Config Server is deployed in order to continue to fetch Config Map and Secret data from that namespace.
3131

32-
### Vault Integration
33-
To enable Vault integration, you can activate the vault Maven profile by setting the `useVault` property to true. This profile adds the `spring-vault-core` dependency.
32+
### Using Advanced Features Of Spring Vault
33+
In order to use some of the [more advanced Spring Vault features](https://docs.spring.io/spring-cloud-config/reference/server/environment-repository/vault-backend.html) of the **Spring Cloud Config Server**, [`spring-vault-core`](https://mvnrepository.com/artifact/org.springframework.vault/spring-vault-core) must be on the classpath. By default, Spring Cloud Kubernetes can generate a Docker image for deploying Config Server to Kubernetes, but it does not include `spring-vault-core` in the classpath. If you need `spring-core-vault` to enable certain functionality in the Config Server you can build your own version of Docker image by enabling the `vault` Maven profile when running Maven build.
3434

3535
Example:
3636
```bash
37-
mvn clean install -DuseVault=true
38-
```
37+
$ ../../mvnw clean install -Pvault
38+
```
3939

4040
### Kubernetes Access Controls
4141
The Kubernetes Config Server uses the Kubernetes API server to fetch Config Map and Secret data. In order for it to do that

spring-cloud-kubernetes-controllers/spring-cloud-kubernetes-configserver/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,6 @@
9494
</profile>
9595
<profile>
9696
<id>vault</id>
97-
<activation>
98-
<property>
99-
<name>useVault</name>
100-
<value>true</value>
101-
</property>
102-
</activation>
10397
<dependencies>
10498
<dependency>
10599
<groupId>org.springframework.vault</groupId>

0 commit comments

Comments
 (0)